X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/51e532bed427bffeac8fa44da7b2b6bf198b6849..32239ff7876da33ff296a1e4d280ae8f197d7151:/.vim/after/plugin/snipMate.vim diff --git a/.vim/after/plugin/snipMate.vim b/.vim/after/plugin/snipMate.vim deleted file mode 100644 index 03e79ae..0000000 --- a/.vim/after/plugin/snipMate.vim +++ /dev/null @@ -1,35 +0,0 @@ -" These are the mappings for snipMate.vim. Putting it here ensures that it -" will be mapped after other plugins such as supertab.vim. -if !exists('loaded_snips') || exists('s:did_snips_mappings') - finish -endif -let s:did_snips_mappings = 1 - -ino =TriggerSnippet() -snor i=TriggerSnippet() -ino =BackwardsSnippet() -snor i=BackwardsSnippet() -ino =ShowAvailableSnips() - -" The default mappings for these are annoying & sometimes break snipMate. -" You can change them back if you want, I've put them here for convenience. -snor b -snor a -snor bi -snor ' b' -snor ` b` -snor % b% -snor U bU -snor ^ b^ -snor \ b\ -snor b - -" By default load snippets in snippets_dir -if empty(snippets_dir) - finish -endif - -call GetSnippets(snippets_dir, '_') " Get global snippets - -au FileType * if &ft != 'help' | call GetSnippets(snippets_dir, &ft) | endif -" vim:noet:sw=4:ts=4:ft=vim diff --git a/.vim/after/plugin/snipMate.vim b/.vim/after/plugin/snipMate.vim new file mode 120000 index 0000000..8348ff7 --- /dev/null +++ b/.vim/after/plugin/snipMate.vim @@ -0,0 +1 @@ +/usr/share/vim/addons/after/plugin/snipMate.vim \ No newline at end of file