Skip to content

Commit 4211b02

Browse files
committed
Initial commit
0 parents  commit 4211b02

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+24525
-0
lines changed

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.DS_Store
2+
.VimballRecord
3+
.netrwhist
4+
.svn/

after/plugin/snipMate.vim

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
" These are the mappings for snipMate.vim. Putting it here ensures that it
2+
" will be mapped after other plugins such as supertab.vim.
3+
if !exists('loaded_snips') || exists('s:did_snips_mappings')
4+
finish
5+
endif
6+
let s:did_snips_mappings = 1
7+
8+
ino <silent> <tab> <c-r>=TriggerSnippet()<cr>
9+
snor <silent> <tab> <esc>i<right><c-r>=TriggerSnippet()<cr>
10+
ino <silent> <s-tab> <c-r>=BackwardsSnippet()<cr>
11+
snor <silent> <s-tab> <esc>i<right><c-r>=BackwardsSnippet()<cr>
12+
ino <silent> <c-r><tab> <c-r>=ShowAvailableSnips()<cr>
13+
14+
" The default mappings for these are annoying & sometimes break snipMate.
15+
" You can change them back if you want, I've put them here for convenience.
16+
snor <bs> b<bs>
17+
snor <right> <esc>a
18+
snor <left> <esc>bi
19+
snor ' b<bs>'
20+
snor ` b<bs>`
21+
snor % b<bs>%
22+
snor U b<bs>U
23+
snor ^ b<bs>^
24+
snor \ b<bs>\
25+
snor <c-x> b<bs><c-x>
26+
27+
" By default load snippets in snippets_dir
28+
if empty(snippets_dir)
29+
finish
30+
endif
31+
32+
call GetSnippets(snippets_dir, '_') " Get global snippets
33+
34+
au FileType * if &ft != 'help' | call GetSnippets(snippets_dir, &ft) | endif
35+
" vim:noet:sw=4:ts=4:ft=vim

0 commit comments

Comments
 (0)