diff --git a/plugin/keys.vim b/plugin/keys.vim index 4b11aa5..cdd6b2c 100644 --- a/plugin/keys.vim +++ b/plugin/keys.vim @@ -1,6 +1,9 @@ nnoremap let g:mapleader = ' ' +" +nnoremap tk T + " Quickly insert an empty new line without entering insert mode nnoremap o o nnoremap O O @@ -318,11 +321,15 @@ nmap :YcmCompleter GoTo:wincmd o " vim-clap nnoremap ag :Clap grep2 ++query= -nnoremap tg :Clap proj_tags ++query= +" nnoremap tg :Clap proj_tags ++query= nmap :Clap files nmap :Clap tags nmap :Clap buffers +nnoremap tg :tag =expand("") +nnoremap tp :ptag =expand("") +nnoremap ts :ts =expand("") + " gitgutter nmap ggt :GitGutterToggle nmap nh (GitGutterNextHunk) @@ -369,5 +376,8 @@ nnoremap gd :call LanguageClient#textDocument_definition() " nnoremap la :call LanguageClient_workspace_applyEdit() " nnoremap lc :call LanguageClient#textDocument_completion() " nnoremap lh :call LanguageClient#textDocument_hover() -" nnoremap ls :call LanguageClient_textDocument_documentSymbol() -" nnoremap lm :call LanguageClient_contextMenu() +nnoremap la :call LanguageClient#textDocument_codeAction() +nnoremap rn :call LanguageClient#textDocument_rename() + + + diff --git a/plugins.toml b/plugins.toml index 46698fd..758c2e0 100644 --- a/plugins.toml +++ b/plugins.toml @@ -99,12 +99,12 @@ build = 'bash -c "cp -R ~/.vim/ale_linters ."' on_ft = ['sh', 'vim'] # LSP -#[[plugins]] -#repo = 'autozimu/LanguageClient-neovim' -#rev = 'next' -#build = 'bash ./install.sh' [[plugins]] -repo = 'prabirshrestha/vim-lsp' +repo = 'autozimu/LanguageClient-neovim' +rev = 'dev' +build = 'bash ./install.sh' +#[[plugins]] +#repo = 'prabirshrestha/vim-lsp' # snippets #[[plugins]]