All Projects → vim-scripts → Snipmate

vim-scripts / Snipmate

TextMate-style snippets for Vim

Labels

Projects that are alternatives of or similar to Snipmate

Vimix
Vimux with Elixir Mix Integration
Stars: ✭ 32 (-11.11%)
Mutual labels:  viml
Vim Smartusline
Vim plugin that changes the color of the statusbar of the focused window according with the current mode (normal/insert/replace)
Stars: ✭ 34 (-5.56%)
Mutual labels:  viml
Spink
Syntax highlighting for Xterm/gVim/MacVim.
Stars: ✭ 36 (+0%)
Mutual labels:  viml
Vim Readline
Readline bindings for Insert Mode
Stars: ✭ 33 (-8.33%)
Mutual labels:  viml
Ftcolor.vim
Switches colorschemes according to the file type.
Stars: ✭ 34 (-5.56%)
Mutual labels:  viml
Vim Blackboard
A port of the Blackboard theme from TextMate to Vim.
Stars: ✭ 34 (-5.56%)
Mutual labels:  viml
Dotfiles
Some of my configuration.
Stars: ✭ 31 (-13.89%)
Mutual labels:  viml
Tmux.vim
Tmux vim syntax
Stars: ✭ 36 (+0%)
Mutual labels:  viml
Hasksyn
A vim mode for Haskell
Stars: ✭ 34 (-5.56%)
Mutual labels:  viml
Vim Iawriter
iA Writer vim colorscheme
Stars: ✭ 35 (-2.78%)
Mutual labels:  viml
Vim Fuzzysearch
Fuzzy pattern building, in any buffer
Stars: ✭ 33 (-8.33%)
Mutual labels:  viml
Tskeleton vim
File Templates and Code Skeletons/Snippets for VIM
Stars: ✭ 33 (-8.33%)
Mutual labels:  viml
Vim Stylefmt
Format your stylesheets using stylefmt inside Vim
Stars: ✭ 35 (-2.78%)
Mutual labels:  viml
Codeschool Vim Theme
codeschool vim theme
Stars: ✭ 32 (-11.11%)
Mutual labels:  viml
Svss.vim
SVSS's Vim Style Sheet
Stars: ✭ 36 (+0%)
Mutual labels:  viml
Vim Hl Var
Stars: ✭ 32 (-11.11%)
Mutual labels:  viml
Davesdots
Stars: ✭ 34 (-5.56%)
Mutual labels:  viml
Chapa.vim
VIM plugin to move (or visually select) the next/previous class, method or function
Stars: ✭ 36 (+0%)
Mutual labels:  viml
Vim Fontsize
Adjust Gvim font size via keypresses
Stars: ✭ 36 (+0%)
Mutual labels:  viml
Objective Vim
Quickly bootstrap vim for Objective-C hacking
Stars: ✭ 35 (-2.78%)
Mutual labels:  viml

This is a mirror of http://www.vim.org/scripts/script.php?script_id=2540

snipMate.vim aims to be an unobtrusive, concise vim script that implements some of TextMate's snippets features in Vim. A snippet is a piece of often-typed text that you can insert into your document using a trigger word followed by a .

For instance, in a C file using the default installation of snipMate.vim, if you type "for" in insert mode, it will expand a typical for loop in C:

for (i = 0; i < count; i++) {

}

To go to the next item in the loop, simply over to it; if there is repeated code, such as the "i" variable in this example, you can simply start typing once it's highlighted and all the matches specified in the snippet will be updated.

Requires Vim 7 or higher. For a quick introduction, see this screencast: http://vimeo.com/3535418 For more help see the documentation that comes with snipMate in ~/.vim/doc/snipMate.txt.

snipMate.vim has the following features among others:

  • The syntax of snippets is very similar to TextMate's, allowing easy conversion.
  • The position of the snippet is kept transparently (i.e., it does not use marks/placeholders inserted into the buffer), allowing you to escape out of an incomplete snippet, something particularly useful in Vim.
  • Variables in snippets are updated as-you-type.
  • Snippets can have multiple matches.
  • Snippets can be out of order. For instance, in a do...while loop, the condition can be added before the code.

Bug reports, feature requests, etc. are welcome and can be emailed to me or submitted on the issue tracker: http://code.google.com/p/snipmate/issues/list

If you would like to watch the development of this plugin, you can also follow it on github: http://github.com/msanders/snipmate.vim

Enjoy!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].