-
Vim]러스트_Rust용_태크바죽인다.#tagfunclsp#complete_tagfuncVim_Editor_IDE/Vim단축키정리 2022. 2. 15. 02:46728x90
nmap <buffer> gd <plug>(lsp-definition) " go to definition
nmap <buffer> gs <plug>(lsp-document-symbol-search)
nmap <buffer> gS <plug>(lsp-workspace-symbol-search)
nmap <buffer> gr <plug>(lsp-references)
nmap <buffer> gi <plug>(lsp-implementation) "go to implementation
nmap <buffer> gt <plug>(lsp-type-definition)
nmap <buffer> <leader>rn <plug>(lsp-rename)
nmap <buffer> [g <plug>(lsp-previous-diagnostic)
nmap <buffer> ]g <plug>(lsp-next-diagnostic)
nmap <buffer> K <plug>(lsp-hover) "show hover informationsetlocal omnifunc=lsp#complete setlocal signcolumn=yes if exists('+tagfunc') | setlocal tagfunc=lsp#tagfunc | endif nmap <buffer> gd <plug>(lsp-definition) nmap <buffer> gs <plug>(lsp-document-symbol-search) nmap <buffer> gS <plug>(lsp-workspace-symbol-search) nmap <buffer> gr <plug>(lsp-references) nmap <buffer> gi <plug>(lsp-implementation) nmap <buffer> gt <plug>(lsp-type-definition) nmap <buffer> <leader>rn <plug>(lsp-rename) nmap <buffer> [g <plug>(lsp-previous-diagnostic) nmap <buffer> ]g <plug>(lsp-next-diagnostic) nmap <buffer> K <plug>(lsp-hover) nnoremap <buffer> <expr><c-f> lsp#scroll(+4) nnoremap <buffer> <expr><c-d> lsp#scroll(-4) #"asyncomplete.vim inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>" inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>" inoremap <expr> <cr> pumvisible() ? asyncomplete#close_popup() : "\<cr>" inoremap <expr> <cr> pumvisible() ? asyncomplete#close_popup() . "\<cr>" : "\<cr>" imap <c-space> <Plug>(asyncomplete_force_refresh) " For Vim 8 (<c-@> corresponds to <c-space>): " imap <c-@> <Plug>(asyncomplete_force_refresh)
반응형'Vim_Editor_IDE > Vim단축키정리' 카테고리의 다른 글
Vim-빨리 입력하는거 단축키 연구 ::coc install 하는거 단서 나옴 :: 2개가 들어가도 되네 ㅎㅎ (0) 2022.02.17 Vim]autocommands & YAML (0) 2022.02.17 Vim-라인 접기fold명령어단축키z로 시작 (0) 2022.02.16 Vim_tabs으로 여러파일 띄우고 관련 명령어 (0) 2022.02.15 Vim] J 대문자J끝-밑에 있는 코드 현재 라인 뒤에 그대로 붙이기join line below to the current line (0) 2022.02.14 Vim_ 단어 바꿀때 하나하나 물어보고 바꿈 개꿀6분36초%s/first/second/gc) (0) 2022.02.14 Vim 타이핑 속도& 깨알 팁 스킬을 많이 알려주는 외국인 (0) 2022.02.14 Vim)Mastering The Macro Machine - Vimconf.live 2021 (0) 2022.02.13