projects
/
~madcoder
/
dotfiles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed files
[~madcoder/dotfiles.git]
/
vim
/
ftplugin
/
gitcommit.vim
diff --git
a/vim/ftplugin/gitcommit.vim
b/vim/ftplugin/gitcommit.vim
index
86880fa
..
7de4423
100644
(file)
--- a/
vim/ftplugin/gitcommit.vim
+++ b/
vim/ftplugin/gitcommit.vim
@@
-57,7
+57,7
@@
noremap <buffer> <Leader>ghd :call Git_diff_windows(0, 0)<cr>
noremap <buffer> <Leader>gvd :call Git_diff_windows(1, 0)<cr>
if !exists("g:git_diff_opts")
noremap <buffer> <Leader>gvd :call Git_diff_windows(1, 0)<cr>
if !exists("g:git_diff_opts")
- let g:git_diff_opts = "-
C -C
"
+ let g:git_diff_opts = "-
B -C -M
"
endif
if exists("g:git_diff_spawn_mode")
if g:git_diff_spawn_mode == 1
endif
if exists("g:git_diff_spawn_mode")
if g:git_diff_spawn_mode == 1
@@
-67,4
+67,15
@@
if exists("g:git_diff_spawn_mode")
endif
endif
endif
endif
+func Eatchar(pat)
+ let c = nr2char(getchar(0))
+ return (c =~ a:pat) ? '' : c
+endfunc
+
+ia cc: Cc-Redmine: yes<CR><C-R>=Eatchar('\s')<CR>
+ia v: Version:
+ia sob: Signed-off-by:
+ia ack: Acked-by:
+ia r: Reviewed-by:
+
" }}}
" }}}