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

vim: map <leader>/ to Git

This commit is contained in:
bretello 2021-03-14 16:32:19 +01:00
parent b3ad761244
commit 5a79c63f33
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

View File

@ -48,7 +48,7 @@ nnoremap <leader>B :Bclose<CR>
nnoremap <leader>k :LAck<Space>
"" Fugitive
nnoremap <leader>/ :Git<CR>
nnoremap <leader>/ :0Git<CR>
nnoremap <leader>g :Git<CR>
nnoremap <leader>gd :Git diff<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
let @b = 'A breakpoint()€ýajkj0'
" visual mode mappings
vnoremap <silent> <leader>k :call VisualSelection('ack', '')<CR>
vnoremap <silent> <leader>gs :call GitShowVisual()<CR>