mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 16:41:43 +05:30
refactor(vim): Moved keymap from vimrc -> key_maps.vim
- New: Center cursor on `G`
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user