aboutsummaryrefslogtreecommitdiff
path: root/vim.dot.link/after/ftplugin
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-12-27 15:32:50 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-12-27 15:32:50 -0200
commit5032aca04f4d0bce092ade66fe914c34af357a5e (patch)
tree3ba885989ff09b1ab3eb0a16ac865e797c8ca0e7 /vim.dot.link/after/ftplugin
downloadvim-5032aca04f4d0bce092ade66fe914c34af357a5e.tar.gz
vim-5032aca04f4d0bce092ade66fe914c34af357a5e.tar.bz2
Initial import
Diffstat (limited to 'vim.dot.link/after/ftplugin')
-rw-r--r--vim.dot.link/after/ftplugin/asp_snippets.vim17
1 files changed, 17 insertions, 0 deletions
diff --git a/vim.dot.link/after/ftplugin/asp_snippets.vim b/vim.dot.link/after/ftplugin/asp_snippets.vim
new file mode 100644
index 0000000..4fdc8a8
--- /dev/null
+++ b/vim.dot.link/after/ftplugin/asp_snippets.vim
@@ -0,0 +1,17 @@
+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.""