motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit 0d3419ecc4f9464a2b4bb32a4456e1b054bbe458 (tree)
parent b3262c28d654043654954a3df9396b1de85be9ab
Author: Tim Pope <code@tpope.net>
Date:   Fri, 19 Aug 2011 14:08:48 -0400

Always map q in status

Diffstat:
Mplugin/fugitive.vim | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim @@ -1705,6 +1705,7 @@ function! s:BufReadIndex() set ft=gitcommit endif setlocal ro noma nomod nomodeline bufhidden=delete + nnoremap <buffer> <silent> q :<C-U>bdelete<CR> nnoremap <buffer> <silent> a :<C-U>let b:fugitive_display_format += 1<Bar>exe <SID>BufReadIndex()<CR> nnoremap <buffer> <silent> i :<C-U>let b:fugitive_display_format -= 1<Bar>exe <SID>BufReadIndex()<CR> nnoremap <buffer> <silent> D :<C-U>execute <SID>StageDiff()<CR>