mirror of
1
0
Fork 0
ultimate-vim/sources_non_forked/vim-snipmate
amix 08a64d943d Updated plugins. Fixed some issues related to empty space and peaksea. Using Source Code Pro as default font 2013-12-28 18:23:13 +00:00
..
after/plugin Updated vim plugins 2013-04-26 13:17:22 -03:00
autoload Updated plugins. Fixed some issues related to empty space and peaksea. Using Source Code Pro as default font 2013-12-28 18:23:13 +00:00
doc Updated all the plugins. Removed powerline. Added vim-airline (replacement for powerline). Added vim-fugitive. 2013-11-16 19:48:06 +00:00
ftplugin Updated all the plugins. Removed powerline. Added vim-airline (replacement for powerline). Added vim-fugitive. 2013-11-16 19:48:06 +00:00
plugin Updated all the plugins. Removed powerline. Added vim-airline (replacement for powerline). Added vim-fugitive. 2013-11-16 19:48:06 +00:00
syntax Updated all the plugins. Removed powerline. Added vim-airline (replacement for powerline). Added vim-fugitive. 2013-11-16 19:48:06 +00:00
.gitignore lets try again... 2012-08-16 23:41:25 -04:00
Contributors.md Updated plugins. Fixed some issues related to empty space and peaksea. Using Source Code Pro as default font 2013-12-28 18:23:13 +00:00
README.md Updated all the plugins. Removed powerline. Added vim-airline (replacement for powerline). Added vim-fugitive. 2013-11-16 19:48:06 +00:00
addon-info.json Updated plugins 2013-08-03 14:50:12 +02:00

README.md

SnipMate

SnipMate aims to provide support for textual snippets, similar to TextMate or other Vim plugins like UltiSnips. For example, in C, typing for<tab> could be expanded to

for (i = 0; i < count; i++) {
    /* code */
}

with successive presses of tab jumping around the snippet.

Originally authored by Michael Sanders, SnipMate was forked in 2011 after a stagnation in development. This fork is currently maintained by Rok Garbas, Marc Weber, and Adnan Zafar.

Installing SnipMate

We recommend one of the following methods for installing SnipMate and its dependencies. SnipMate depends on vim-addon-mw-utils and tlib. Since SnipMate does not ship with any snippets, we suggest looking at the vim-snippets repository.

  • Using Pathogen, run the following commands:

      % cd ~/.vim/bundle
      % git clone https://github.com/tomtom/tlib_vim.git
      % git clone https://github.com/MarcWeber/vim-addon-mw-utils.git
      % git clone https://github.com/garbas/vim-snipmate.git
    
      # Optional:
      % git clone https://github.com/honza/vim-snippets.git
    
  • Using VAM, add vim-snippets to the list of packages to be installed.

  • Using Vundle, add the following to your vimrc then run :BundleInstall

      Bundle "MarcWeber/vim-addon-mw-utils"
      Bundle "tomtom/tlib_vim"
      Bundle "garbas/vim-snipmate"
    
      " Optional:
      Bundle "honza/vim-snippets"