diff options
Diffstat (limited to 'modules/vim/vim.dot.link/after')
-rw-r--r-- | modules/vim/vim.dot.link/after/ftplugin/asp_snippets.vim | 17 | ||||
-rw-r--r-- | modules/vim/vim.dot.link/after/plugin/snipMate.vim | 35 |
2 files changed, 0 insertions, 52 deletions
diff --git a/modules/vim/vim.dot.link/after/ftplugin/asp_snippets.vim b/modules/vim/vim.dot.link/after/ftplugin/asp_snippets.vim deleted file mode 100644 index 4fdc8a8..0000000 --- a/modules/vim/vim.dot.link/after/ftplugin/asp_snippets.vim +++ /dev/null @@ -1,17 +0,0 @@ -if !exists('loaded_snippet') || &cp - finish -endif - -let st = g:snip_start_tag -let et = g:snip_end_tag -let cd = g:snip_elem_delim - -exec "Snippet rr Response.Redirect(".st."to".et.")".st.et."" -exec "Snippet app Application(\"".st.et."\")".st.et."" -exec "Snippet forin For ".st."var".et." in ".st."array".et."<CR>".st.et."<CR>Next<CR>".st.et."" -exec "Snippet ifelse If ".st."condition".et." Then<CR>".st.et."<CR>Else<CR>".st.et."<CR>End if<CR>".st.et."" -exec "Snippet rw Response.Write ".st.et."" -exec "Snippet sess Session(\"".st.et."\")".st.et."" -exec "Snippet rf Request.Form(\"".st.et."\")".st.et."" -exec "Snippet rq Request.QueryString(\"".st.et."\")".st.et."" -exec "Snippet while While ".st."NOT".et." ".st."condition".et."<CR>".st.et."<CR>Wend<CR>".st.et."" diff --git a/modules/vim/vim.dot.link/after/plugin/snipMate.vim b/modules/vim/vim.dot.link/after/plugin/snipMate.vim deleted file mode 100644 index 03e79ae..0000000 --- a/modules/vim/vim.dot.link/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 <silent> <tab> <c-r>=TriggerSnippet()<cr> -snor <silent> <tab> <esc>i<right><c-r>=TriggerSnippet()<cr> -ino <silent> <s-tab> <c-r>=BackwardsSnippet()<cr> -snor <silent> <s-tab> <esc>i<right><c-r>=BackwardsSnippet()<cr> -ino <silent> <c-r><tab> <c-r>=ShowAvailableSnips()<cr> - -" 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 <bs> b<bs> -snor <right> <esc>a -snor <left> <esc>bi -snor ' b<bs>' -snor ` b<bs>` -snor % b<bs>% -snor U b<bs>U -snor ^ b<bs>^ -snor \ b<bs>\ -snor <c-x> b<bs><c-x> - -" 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 |