-
Notifications
You must be signed in to change notification settings - Fork 1
Home
snip-fu is still experimental software. There are lots of bugs in it.
For installing snip-fu you must compile vim with ruby-support. Most of the modern distributions have already compiled ruby-support into vim though.
If you want to use install snip-fu, you must move the ./src-directory as snip-fu into your ~/.vim-directory and add
rubyf /home/username/.vim/snip-fu/vim-snippet.rb to your vimrc-file.
The snippets must be placed into ~/.vim/snippets/. There is already an example snippet in the share-subdirectory of the repository.
snip-fu snippets are similar to TextMate snippets. Insertion of simple text, special variables (at the moment: $VI_SELECTED_TEXT, $VI_FILENAME, $VI_CURRENT_LINE,
Bugs can be reported to our Trac-Tracker .