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

vim: map <leader>/ to Git

This commit is contained in:
bretello 2021-03-14 16:32:19 +01:00
parent 538bef8914
commit 2406cf2753

View File

@ -48,7 +48,7 @@ nnoremap <leader>B :Bclose<CR>
nnoremap <leader>k :LAck<Space> nnoremap <leader>k :LAck<Space>
"" Fugitive "" Fugitive
nnoremap <leader>/ :Git<CR> nnoremap <leader>/ :0Git<CR>
nnoremap <leader>g :Git<CR> nnoremap <leader>g :Git<CR>
nnoremap <leader>gd :Git diff<CR> nnoremap <leader>gd :Git diff<CR>
nnoremap <leader>gp :Git push<CR> nnoremap <leader>gp :Git push<CR>
@ -134,7 +134,6 @@ noremap <Leader>P "+P
" A friggin python breakpoint. Invoke with @b "FIXME: make this decent " A friggin python breakpoint. Invoke with @b "FIXME: make this decent
let @b = 'A breakpoint()€ýajkj0' let @b = 'A breakpoint()€ýajkj0'
" visual mode mappings " visual mode mappings
vnoremap <silent> <leader>k :call VisualSelection('ack', '')<CR> vnoremap <silent> <leader>k :call VisualSelection('ack', '')<CR>
vnoremap <silent> <leader>gs :call GitShowVisual()<CR> vnoremap <silent> <leader>gs :call GitShowVisual()<CR>