summaryrefslogtreecommitdiffstats
path: root/vim/after/ftplugin
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2009-05-12 10:51:29 -0500
committerJesse Luehrs <doy@tozt.net>2009-05-12 10:52:27 -0500
commit5c33ea13b92a21bbd411e42695163cbfc2b102c7 (patch)
tree2a2a969510defb670bcbe0d57a71d848ce08378c /vim/after/ftplugin
parent2f7790c727233b4753f382809c466e2c2963360d (diff)
downloadconf-5c33ea13b92a21bbd411e42695163cbfc2b102c7.tar.gz
conf-5c33ea13b92a21bbd411e42695163cbfc2b102c7.zip
add snippet for a while loop
Diffstat (limited to 'vim/after/ftplugin')
-rw-r--r--vim/after/ftplugin/c_snippets.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/vim/after/ftplugin/c_snippets.vim b/vim/after/ftplugin/c_snippets.vim
index 36e29fb..3de0cfd 100644
--- a/vim/after/ftplugin/c_snippets.vim
+++ b/vim/after/ftplugin/c_snippets.vim
@@ -65,3 +65,4 @@ exec "Snippet inc #include \"".st.et.".h\"".st.et
exec "Snippet for for (".st."int".et." ".st."i".et." = ".st.et."; ".st."i".et." < ".st."count".et."; ".st."i".et." += ".st."incr:PlusPlus()".et.") {<CR>".st.et."<CR>}<CR>".st.et
exec "Snippet forv for (vector<".st."int".et.">::const_iterator ".st."it".et." = ".st."v".et.".begin(); ".st."it".et." != ".st."v".et.".end(); ++".st."it".et.") {<CR>".st.et."<CR>}"
exec "Snippet form for (map<".st."string".et.", ".st."int".et.">::const_iterator ".st."it".et." = ".st."v".et.".begin(); ".st."it".et." != ".st."v".et.".end(); ++".st."it".et.") {<CR>".st.et."<CR>}"
+exec "Snippet while while (".st.et.") {<CR>".st.et."<CR>}"