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

vim: add <leader>m for :Maps, update git maps

This commit is contained in:
bretello 2021-12-13 00:41:03 +01:00
parent ea95b4edce
commit 41816d6821
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

View File

@ -51,7 +51,7 @@ map <leader>cp :cp<CR>
map <silent> <leader><CR> :noh<CR> map <silent> <leader><CR> :noh<CR>
map <leader>ss :setlocal spell!<CR> map <leader>ss :setlocal spell!<CR>
nnoremap <leader>m :bel copen<bar>silent make <bar>redraw!<CR> nnoremap <leader>M :bel copen<bar>silent make <bar>redraw!<CR>
nnoremap <leader>wz :call WinZoomToggle()<CR> nnoremap <leader>wz :call WinZoomToggle()<CR>
nnoremap <leader>C :close<CR> nnoremap <leader>C :close<CR>
@ -65,7 +65,7 @@ nnoremap <leader>Gd :Gvdiffsplit<CR>
nnoremap <leader>Gb :Git blame<CR> nnoremap <leader>Gb :Git blame<CR>
nnoremap <leader>Gp :Git push<CR> nnoremap <leader>Gp :Git push<CR>
nnoremap <leader>Gl :vert Git log<CR> nnoremap <leader>Gl :vert Git log<CR>
nnoremap <leader>M :Git commit<CR> nnoremap <leader>Gc :Git commit<CR>
nnoremap <leader>Gpf :Git push --force-with-lease<CR> nnoremap <leader>Gpf :Git push --force-with-lease<CR>
"" Gitutter "" Gitutter
@ -107,6 +107,7 @@ map <leader>l :Lines<CR>
map <leader>c :CtrlPQuickfix<CR> map <leader>c :CtrlPQuickfix<CR>
map <leader>s :Snippets<CR> map <leader>s :Snippets<CR>
map <leader>; :Commands<CR> map <leader>; :Commands<CR>
map <leader>m :Maps<CR>
"" CSV "" CSV
" highlight current column " highlight current column