blob: c81cf268700a0052c75414894cf2d1f3a9e6e0be (
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> <Plug>GitchaCompleteSHA <C-r>=gitcha#GitSHAComplete()<CR>
let b:undo_ftplugin = 'iunmap <buffer> <C-x><C-s>'
|