diff options
Diffstat (limited to 'vim/init')
-rw-r--r-- | vim/init/keymaps.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/init/keymaps.vim b/vim/init/keymaps.vim index 14d813b..f789ceb 100644 --- a/vim/init/keymaps.vim +++ b/vim/init/keymaps.vim | |||
@@ -78,9 +78,9 @@ vnoremap <leader>, :terminal<CR> | |||
78 | map <leader>pp :setlocal paste!<cr> | 78 | map <leader>pp :setlocal paste!<cr> |
79 | 79 | ||
80 | " Switch CDW to root git directory | 80 | " Switch CDW to root git directory |
81 | nnoremap <Leader>cg :execute 'cd' fnameescape(fnamemodify(finddir('.git', escape(expand('%:p:h'), ' ') . ';'), ':h'))<CR>:pwd<CR> | 81 | nnoremap cdg :execute 'cd' fnameescape(fnamemodify(finddir('.git', escape(expand('%:p:h'), ' ') . ';'), ':h'))<CR>:pwd<CR> |
82 | " Switch CWD to the directory of the open buffer | 82 | " Switch CWD to the directory of the open buffer |
83 | map <leader>cd :cd %:p:h<cr>:pwd<cr> | 83 | nnoremap cd :cd %:p:h<cr>:pwd<cr> |
84 | 84 | ||
85 | " Move one line up and down | 85 | " Move one line up and down |
86 | nnoremap <C-j> ddp | 86 | nnoremap <C-j> ddp |