vim:keys: Map <leader>gf to git status files

This commit is contained in:
2022-08-27 17:28:46 +02:00
parent 5ab97d6111
commit ede49ac9f7

View File

@@ -135,6 +135,11 @@ if exists('g:loaded_gitgutter')
nmap ]h <Plug>(GitGutterNextHunk)
endif
if (get(g:, 'loaded_fzf'))
" git files that `git status` lists
nmap <leader>gf :GFiles?<CR>
endif
" Y should behave like D & C does
nnoremap Y y$