1
0
mirror of https://github.com/pratiktri/dotfiles.git synced 2026-05-07 03:53:41 +05:30

refactor(vim): Moved keymap from vimrc -> key_maps.vim

- New: Center cursor on `G`
This commit is contained in:
Pratik Tripathy
2025-09-01 12:22:29 +05:30
parent b7f5eec5ea
commit 85040e131d
2 changed files with 4 additions and 9 deletions
-9
View File
@@ -31,12 +31,3 @@ autocmd! bufwritepost $VIMRC source %
" Save inside vim config directory
set undodir=$VIMDIR/undo//
" Ctrl+Backspace to add an undo-point and delete last word
" It's here cause ideavim messes it up
imap <C-BS> <C-g>u<C-w>
" Map nerdtree to <Leader>e
" Changes the pwd and opens the VCS root
" Placed here because ideavim doesn't understand :tcd
nnoremap <leader>e :tcd %:h<CR> :NERDTreeToggleVCS<CR>