1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-10-31 18:01:30 +01:00

vim: add some custom <leader> shortcuts

This commit is contained in:
bretello 2020-03-13 21:34:36 +01:00
parent d181bb47a7
commit a8b24f088d

View File

@ -131,3 +131,10 @@ function! WinZoomToggle() abort
endfunction endfunction
nnoremap <leader>wz :call WinZoomToggle()<CR> nnoremap <leader>wz :call WinZoomToggle()<CR>
nnoremap <leader>/ :G<CR>
nnoremap <leader>C :close<CR>
nnoremap <leader>B :Bclose<CR>
nnoremap <leader>G :Git
nnoremap <leader>P :GPush<CR>
nnoremap <leader>M :Git commit<CR>