" Stefans gitcommit-filetype-plugin " add branch name to commit message, replace 'feature/DLCPRO-1234-abc' by 'DLCPRO-1234' nnoremap gcc :execute 'normal i'.substitute(FugitiveHead(), '\%(.*/\)*\([^-]\+-\d*\).*', '\1', '')A: nnoremap ccc :Gcommit:execute 'normal i'.substitute(FugitiveHead(), '\%(.*/\)*\([^-]\+-\d*\).*', '\1', '')A: