Useful Vim Plugins
Upcoming SlideShare
Loading in...5
×
 

Useful Vim Plugins

on

  • 2,718 views

 

Statistics

Views

Total Views
2,718
Views on SlideShare
2,715
Embed Views
3

Actions

Likes
1
Downloads
35
Comments
0

2 Embeds 3

https://www.linkedin.com 2
http://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Useful Vim Plugins Useful Vim Plugins Presentation Transcript

  • Vim Talk! 08/01/2011
  • Who am I? ● Brian Racer ● http://brianracer.com ● @anveo ● http://github.com/anveo/dotfilesI have been using vim on a daily basis for about 5 years
  • Learn VIM Incrementally● start slow● use a few ideas at a time until you have committed them to muscle memory or internalized them
  • Should I use the Terminal or gVim/MacVim? ● I prefer the GUI clients ● Nicer colors ● No terminal binding clashes ● MacVim has a nice fullscreen mode ● However, I want GUI vim to *look* like a terminal window ○ remove all the chrome
  • Example of superior GUI color● colorcolumn● line overflow
  • My FAVORITE Tip!Swap your Caps Lock and Esc keys! ● you never use your caps lock key ● useful outside of vim!
  • Remap Spacebar● apparently I have weak pinkies and strain my wrists trying to make a colon noremap <Space> :
  • Understand :paste mode nmap <F3> :set paste<CR> nmap <F4> :set nopaste<CR>
  • Keep <leader><leader> free for misc tasks :map ,, :ruby %<cr>
  • Quick ruby helpers● symbol-ize a word● hash-rocket
  • Useful Vim Plugins
  • NERDTree https://github.com/scrooloose/nerdtree
  • buffexplorer vs. minibufexpl http://www.vim.org/scripts/script.php? script_id=42 (use buffexplorer)
  • SuperTab continued https://github.com/ervandew/supertabBe sure to use the above version! SuperTab on vim.org has been discontinued.
  • snipMate.vim https://github.com/msanders/snipmate.vim● I suggest ignoring the snippets that are provided● bind a command to opening your snippet and reloading the snippets
  • matchithttp://www.vim.org/scripts/script. php?script_id=39
  • Command-T https://wincent.com/products/command-t● fast file navigation● build with system ruby (rvm use system)● matches entire file path unlike textmate
  • ack.vim http://betterthangrep.com/ https://github.com/mileszs/ack.vim● better than vims grep● better than remapping vims grep to ack
  • zoomWin.vim http://mysite.verizon.net/astronaut/vim/index.html#ZOOMWIN
  • interactive_editor https://github.com/jberkel/interactive_editor● gem install interactive_editor● require in ~/.irbrc
  • sparkup.vim https://github.com/rstacruz/sparkup● ZenCoding for vim● selector expansion● element expansion
  • Tim Pope scriptshttps://github.com/tpope
  • ragtag.vimhttps://github.com/tpope/vim-ragtag
  • rails.vimhttps://github.com/tpope/vim-rails
  • endwisehttps://github.com/tpope/vim- endwise
  • surroundhttps://github.com/tpope/vim- surround
  • repeathttps://github.com/tpope/vim-repeat
  • fugitive.vim https://github.com/tpope/vim-fugitive● Amazing git integration within vim● Too awesome for this presentation● See vimcasts for a 5 part series on this plugin
  • pathogen https://github.com/tpope/vim-pathogen● More sane organization of plugins● Kind-of a bundler for vim● Makes it easy to try new plugins
  • </tpope>
  • gundo http://sjl.bitbucket.org/gundo.vim/ https://github.com/sjl/gundo.vim● requires vim 7.3● vim must have python support
  • syntastichttps://github.com/scrooloose/syntastic/
  • NERDCommentorhttps://github.com/scrooloose/nerdcommenter