From 9d5d53b221e859b91a28f5a5e456773683cd1bd7 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sat, 25 Feb 2012 00:29:39 +0100 Subject: Revert "vim: switch to vim-ultisnips; remove snipmate" This reverts commit bda1762e2cbba257ff0631f6359badc008fbeac7. --- .vim/after/plugin/snipMate.vim | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .vim/after/plugin/snipMate.vim (limited to '.vim/after/plugin/snipMate.vim') diff --git a/.vim/after/plugin/snipMate.vim b/.vim/after/plugin/snipMate.vim new file mode 100644 index 0000000..1d995ef --- /dev/null +++ b/.vim/after/plugin/snipMate.vim @@ -0,0 +1,24 @@ +" 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('s:did_snips_mappings') || &cp || version < 700 + finish +endif +let s:did_snips_mappings = 1 + +ino =TriggerSnippet() +snor i=TriggerSnippet() +ino =ShowAvailableSnips() +snor b +snor ' b' +snor a +snor bi + +" 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 -- cgit v1.2.3-24-g4f1b