diff --git a/nvim/init.vim b/nvim/init.vim index 6f7feba..2487070 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -340,6 +340,9 @@ map j (easymotion-j) map k (easymotion-k) map h (easymotion-linebackward) +map :vsp :exec("tag ".expand("")) +map :sp :exec("tag ".expand("")) + command! -bang -nargs=* GGrep \ call fzf#vim#grep( \ 'git grep --line-number '.shellescape(), 0, @@ -408,11 +411,11 @@ augroup END augroup rust_maps au! - au FileType rust nmap rd DeopleteRustGoToDefinitionDefault - au FileType rust nmap rc DeopleteRustShowDocumentation - au FileType rust nmap rv DeopleteRustGoToDefinitionVSplit - au FileType rust nmap rh DeopleteRustGoToDefinitionSplit - au FileType rust nmap rt DeopleteRustGoToDefinitionTab + au FileType rust nmap gd DeopleteRustGoToDefinitionDefault + au FileType rust nmap K DeopleteRustShowDocumentation + au FileType rust nmap gv DeopleteRustGoToDefinitionVSplit + au FileType rust nmap gh DeopleteRustGoToDefinitionSplit + au FileType rust nmap gt DeopleteRustGoToDefinitionTab augroup END augroup rainbow_lisp @@ -626,13 +629,13 @@ let g:hardtime_ignore_quickfix = 1 let g:hardtime_maxcount = 3 let g:hardtime_allow_different_key = 1 -let g:jedi#goto_command = "jt" -let g:jedi#goto_assignments_command = "ja" -let g:jedi#goto_definitions_command = "jg" -let g:jedi#documentation_command = "jd" -let g:jedi#usages_command = "ju" +let g:jedi#goto_command = "gt" +let g:jedi#goto_assignments_command = "ga" +let g:jedi#goto_definitions_command = "gd" +let g:jedi#documentation_command = "K" +let g:jedi#usages_command = "gu" let g:jedi#completions_command = "" -let g:jedi#rename_command = "jr" +let g:jedi#rename_command = "gr" let g:jedi#auto_initialization = 1 let g:jedi#auto_vim_configuration = 0