From 49daf86427d22e036df4eac2cb620f127085ff79 Mon Sep 17 00:00:00 2001 From: "flyingscorpio@arch-desktop" Date: Sun, 21 Jun 2020 16:19:19 +0200 Subject: [PATCH] Add GoTo shortcut --- dotfiles/vim/vimrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dotfiles/vim/vimrc b/dotfiles/vim/vimrc index cf15261..c6331a6 100644 --- a/dotfiles/vim/vimrc +++ b/dotfiles/vim/vimrc @@ -100,9 +100,12 @@ let g:pymode_lint_ignore = ["E203"] let g:ycm_extra_conf_globlist = ['!~/*'] " is overwritten in autogroups for c let g:ycm_autoclose_preview_window_after_insertion = 1 +" in normal mode run YCM's GoTo subcommand +nnoremap gd :YcmCompleter GoTo + let NERDTreeIgnore=['^__pycache__$', '\.pyc', '\~$'] " ignore files in NERDTree -" in normal mode ,ne will open NERDTree +" in normal mode open NERDTree nmap ne :NERDTree " let g:indentLine_char = '▏'