2017-02-16 17:13:11 +01:00

6 lines
215 B
VimL

" Stefans gitcommit-filetype-plugin
" add branch name to commit message
nnoremap <buffer> gcc :execute 'normal i'.fugitive#head()<CR>A:
nnoremap <buffer> ccc :Gcommit<CR>:execute 'normal i'.fugitive#head()<CR>A: