We are still actively working on the spam issue.

Difference between revisions of "Vim"

From InstallGentoo Wiki
Jump to: navigation, search
(Plugins)
Line 14: Line 14:
 
==Plugins==
 
==Plugins==
  
https://github.com/kien/ctrlp.vim - Fuzzy file, buffer, mru, tag, etc finder
+
===Buffer Navigation===
  
https://github.com/scrooloose/nerdtree - Tree explorer plugin
+
[[https://github.com/Lokaltog/vim-easymotion EasyMotion]] Spatial navigation, saves a lot of keystrokes.
  
https://github.com/chrisbra/SudoEdit.vim - Edit files using sudo or su or any other tool
+
[[https://github.com/majutsushi/tagbar Tagbar]] Tag navigation, requires a '''ctags''' package.
  
https://github.com/scrooloose/syntastic - Syntax checking hacks
+
[[https://github.com/kien/ctrlp.vim CtrlP]] Fuzzy file, buffer, mru, tag, etc finder.
  
https://github.com/Valloric/YouCompleteMe - Code-completion engine
+
[[https://github.com/koron/minimap-vim Minimap]] Minimap.
  
===Rice===
+
===File Navigation===
  
https://github.com/itchyny/lightline.vim - Light and configurable statusline/tabline
+
[[https://github.com/scrooloose/nerdtree NERDTree]] Tree explorer plugin.
  
https://github.com/terryma/vim-multiple-cursors - Sublime Text style multiple selections
+
[[https://github.com/kien/ctrlp.vim CtrlP]] Fuzzy file, buffer, mru, tag, etc finder.
  
https://github.com/koron/minimap-vim - Minimap
+
===Task Automation===
  
http://bytefluent.com/vivify/ - Color scheme editor for Vim
+
[[https://github.com/Raimondi/delimitMate DelimitMate]] Auto-completes surroundings and provides bindings for navigating through them.
 +
 
 +
[[https://github.com/tpope/vim-surround Vim-Surround]] Manipulates (insert, change, delete) pairs of surroundings.
 +
 
 +
[[https://github.com/scrooloose/nerdcommenter NERDCommenter]] Manipulates code comments according to the file type.
 +
 
 +
[[https://github.com/othree/vim-autocomplpop AutoComplPop]] Basic pop-up keyword-based completion.
 +
 
 +
===Code Insertion/Completion===
 +
 
 +
[[https://github.com/SirVer/ultisnips UltiSnips]] Customizable snippet engine for boilerplate code time-saving.
 +
 
 +
[[https://github.com/Valloric/YouCompleteMe YouCompleteMe]] Advanced semantic code completion engine.
 +
 
 +
[[https://github.com/scrooloose/syntastic Syntastic]] Syntax checking.
 +
 
 +
===Miscellaneous===
 +
 
 +
[[https://github.com/chrisbra/SudoEdit.vim SudoEdit]] Edit files using sudo or su or any other tool.
 +
 
 +
[[https://github.com/terryma/vim-multiple-cursors Multiple Cursors]] Sublime Text style multiple selections
 +
 
 +
===Ricing===
 +
 
 +
[[https://github.com/itchyny/lightline.vim LightLine]] Light and configurable statusline/tabline
 +
 
 +
[[http://bytefluent.com/vivify/ Vivify]] Color scheme editor for Vim
  
 
==External Links==
 
==External Links==

Revision as of 18:46, 29 January 2014

Vim Cheat Sheet for programmers

Learning Vim

  • http://vim-adventures.com/
  • Use hjkl, don't be a babby duck
  • Use vimtutor
  •  :h
  • Keep a cheat sheet, write down new commands you want to learn, keep only several or so commands at a time until you've learned them
  • If you're partial to books, try Practical Vim

Vimconf

Well documented base to start out with: https://github.com/timss/vimconf

Plugins

Buffer Navigation

[EasyMotion] Spatial navigation, saves a lot of keystrokes.

[Tagbar] Tag navigation, requires a ctags package.

[CtrlP] Fuzzy file, buffer, mru, tag, etc finder.

[Minimap] Minimap.

File Navigation

[NERDTree] Tree explorer plugin.

[CtrlP] Fuzzy file, buffer, mru, tag, etc finder.

Task Automation

[DelimitMate] Auto-completes surroundings and provides bindings for navigating through them.

[Vim-Surround] Manipulates (insert, change, delete) pairs of surroundings.

[NERDCommenter] Manipulates code comments according to the file type.

[AutoComplPop] Basic pop-up keyword-based completion.

Code Insertion/Completion

[UltiSnips] Customizable snippet engine for boilerplate code time-saving.

[YouCompleteMe] Advanced semantic code completion engine.

[Syntastic] Syntax checking.

Miscellaneous

[SudoEdit] Edit files using sudo or su or any other tool.

[Multiple Cursors] Sublime Text style multiple selections

Ricing

[LightLine] Light and configurable statusline/tabline

[Vivify] Color scheme editor for Vim

External Links

The Vim Learning Curve is a Myth

Learn Vim Progressively

Learn to speak vim – verbs, nouns, and modifiers!

Vim tips and tricks - StackOverflow

Write code faster: expert-level Vim (Railsberry 2012) - YouTube