aboutsummaryrefslogtreecommitdiffstats
path: root/ftplugin/gitcommit/gitcha.vim
blob: 43c4f23d134687e8d340ffbff9393cd0e7213f12 (plain)
1
2
3
4
5
6
7
8
9
if !exists('g:no_plugin_maps') && !exists('g:no_gitcha_maps')
	if !hasmapto('<Plug>GitchaCompleteSHA')
		imap <buffer> <C-x><C-s> <Plug>GitchaCompleteSHA
	endif

	inoremap <buffer> <expr> <Plug>GitchaCompleteSHA gitcha#StartGitSHACompletion()
endif

let b:undo_ftplugin = 'iunmap <buffer> <C-x><C-s>'