add readme and for.snippet - snip - simple and native snippet expansion for vim
HTML git clone git://kroovy.de/snip
DIR Log
DIR Files
DIR Refs
DIR README
---
DIR commit 699662055a0719a34bc2259e8485f6645cafac89
HTML Author: kroovy <me@kroovy.de>
Date: Thu, 11 Jun 2026 08:57:37 +0200
add readme and for.snippet
Diffstat:
A README.txt | 18 ++++++++++++++++++
A for.snippet | 3 +++
2 files changed, 21 insertions(+), 0 deletions(-)
---
DIR diff --git a/README.txt b/README.txt
@@ -0,0 +1,18 @@
+This is somewhat of a hack, to the SnipMate plugin.
+Offers the abiity to insert preconfigured text snippets
+when typing a keyword in normal mode (not insert mode!).
+
+For example you type:
+
+ ,for
+
+...and vim instantly expands it to:
+
+ for (int i=0; i < 10; i++) {
+ /* body */
+ }
+
+For each snipped you wanna use you need a line in your
+~/.vimrc:
+
+ nnoremap ,for :read $HOME/.vim/vim-skeleton/for.snippet<CR>
DIR diff --git a/for.snippet b/for.snippet
@@ -0,0 +1,3 @@
+for (int i=0; i < 10; i++) {
+ /* body */
+}