Skip to content

Vim commands

Jedi-vim

  • leader-d - go to definition
  • K - open python docs to command
  • leader-r - rename all occurences of variable

vim-commentary

  • gcc - comment out line
  • gc - comment out in visual mode

My setup

-h = YCM toggle signature help -g = YCM toggle inlay hints -f = symbol search -w = Goto -s = GotoDeclaration -d = GotoDefinition -i = GotoInclude -r = GotoReferences -n = RefactorRename -a = Show popup -e = go to alternate file -q = Close quickfix window -l = setlist -k = nolist zo open current fold zO recursively open current fold zc close current fold za toggle current fold zA recursively open/close current fold zM close all folds zR open all folds Ctrl+P = Find first occurence