From 9931e0888b2419326ae10ebbfae532261c5c125f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 30 Jun 2016 16:11:56 +0200 Subject: Fix submodules --- vim/bundle/vim-snipmate | 1 + vim/bundle/vim-snipmate/after/plugin/snipMate.vim | 46 ----------------------- 2 files changed, 1 insertion(+), 46 deletions(-) create mode 160000 vim/bundle/vim-snipmate delete mode 100644 vim/bundle/vim-snipmate/after/plugin/snipMate.vim (limited to 'vim/bundle/vim-snipmate/after') diff --git a/vim/bundle/vim-snipmate b/vim/bundle/vim-snipmate new file mode 160000 index 0000000..ee433e4 --- /dev/null +++ b/vim/bundle/vim-snipmate @@ -0,0 +1 @@ +Subproject commit ee433e43c76c768c95ad6d9af67c4cd4b40f7eac diff --git a/vim/bundle/vim-snipmate/after/plugin/snipMate.vim b/vim/bundle/vim-snipmate/after/plugin/snipMate.vim deleted file mode 100644 index 3d6bac7..0000000 --- a/vim/bundle/vim-snipmate/after/plugin/snipMate.vim +++ /dev/null @@ -1,46 +0,0 @@ -" snipMate maps -" These maps are created here in order to make sure we can reliably create maps -" after SuperTab. - -let s:save_cpo = &cpo -set cpo&vim - -function! s:map_if_not_mapped(lhs, rhs, mode) abort - let l:unique = s:overwrite ? '' : ' ' - if !hasmapto(a:rhs, a:mode) - silent! exe a:mode . 'map' . l:unique a:lhs a:rhs - endif -endfunction - -if !exists('g:snips_no_mappings') || !g:snips_no_mappings - if exists('g:snips_trigger_key') - echom 'g:snips_trigger_key is deprecated. See :h snipMate-mappings' - exec 'imap ' g:snips_trigger_key 'snipMateTrigger' - exec 'smap ' g:snips_trigger_key 'snipMateSNext' - exec 'xmap ' g:snips_trigger_key 'snipMateVisual' - else - " Remove SuperTab map if it exists - let s:overwrite = maparg('', 'i') ==? 'SuperTabForward' - call s:map_if_not_mapped('', 'snipMateNextOrTrigger', 'i') - call s:map_if_not_mapped('', 'snipMateNextOrTrigger', 's') - let s:overwrite = 0 - call s:map_if_not_mapped('', 'snipMateVisual', 'x') - endif - - if exists('g:snips_trigger_key_backwards') - echom 'g:snips_trigger_key_backwards is deprecated. See :h snipMate-mappings' - exec 'imap ' g:snips_trigger_key_backwards 'snipMateIBack' - exec 'smap ' g:snips_trigger_key_backwards 'snipMateSBack' - else - let s:overwrite = maparg('', 'i') ==? 'SuperTabBackward' - call s:map_if_not_mapped('', 'snipMateBack', 'i') - call s:map_if_not_mapped('', 'snipMateBack', 's') - let s:overwrite = 0 - endif - - call s:map_if_not_mapped('', 'snipMateShow', 'i') -endif - -let &cpo = s:save_cpo - -" vim:noet: -- cgit v1.2.3