nvim: after/plugin/ftplugin: Update setting of buffer local mappings
This commit is contained in:
parent
edb11e5e1d
commit
f4b928bd3e
2 changed files with 3 additions and 2 deletions
1
nvim/.config/nvim/after/ftplugin/fugitiveblame.vim
Normal file
1
nvim/.config/nvim/after/ftplugin/fugitiveblame.vim
Normal file
|
@ -0,0 +1 @@
|
|||
nnoremap <buffer> <silent> q :bwipeout!<CR>
|
|
@ -39,7 +39,7 @@ nnoremap <expr> <Leader>gP git#git_push()
|
|||
|
||||
augroup custom_fugitive
|
||||
autocmd!
|
||||
autocmd FileType fugitive,fugitiveblame nnoremap <buffer><silent> q :bwipeout!<CR>
|
||||
autocmd BufReadPost fugitive:// setlocal bufhidden=wipe
|
||||
autocmd BufReadPost fugitive://* setlocal bufhidden=wipe
|
||||
autocmd User FugitiveObject,FugitiveIndex nnoremap <buffer><silent> q :bwipeout!<CR>
|
||||
autocmd User FugitiveIndex nmap <buffer> dt :Gtabedit <Plug><cfile><Bar>Gdiffsplit!<Bar>only<CR>
|
||||
augroup END
|
||||
|
|
Loading…
Reference in a new issue