blob: 19f4a0b7061e4f0797ec4d3d550c1216161e865c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
if exists('b:did_ftplugin')
finish
endif
let b:did_ftplugin = 1
if exists('g:no_plugin_maps') || exists('g:no_gitcha_maps')
finish
endif
if !hasmapto('<Plug>GitchaCompleteSHA')
imap <buffer> <C-x><C-s> <Plug>GitchaCompleteSHA
endif
inoremap <buffer> <expr> <Plug>GitchaCompleteSHA gitcha#StartGitSHACompletion()
let b:undo_ftplugin = 'iunmap <buffer> <C-x><C-s>'
|