let mapleader = "," nmap fed :e $VIMHOME/init.vim nmap ex :NERDTree nmap exc :NERDTreeClose " ncm2 autocomplete " " CTRL-C doesn't trigger the InsertLeave autocmd . map to instead. " inoremap " " When the key is pressed while the popup menu is visible, it only " " hides the menu. Use this mapping to close the menu and also start a new " " line. " inoremap (pumvisible() ? "\\" : "\") " " Use to select the popup menu: " inoremap pumvisible() ? "\" : "\" " inoremap pumvisible() ? "\" : "\" nnoremap :Files nnoremap amd :Files $CODE_DIR/auditManager nnoremap a :Rg nnoremap A :exec "Rg ".expand("") nmap to :tabnew nmap tn :tabnext nmap tp :tabprevious nmap tc :tabclose nmap ob :OpenBookmark command! -bang -nargs=* Rg \ call fzf#vim#grep( \ 'rg --column --line-number --no-heading --color=always --smart-case -- '.shellescape(), 1, \ fzf#vim#with_preview(), 0) autocmd! bufwritepost keybindings.vim source %