Difference between revisions of "Vim-plugin"
 (→vim-powerline)  | 
				|||
| (One intermediate revision by one other user not shown) | |||
| Line 5: | Line 5: | ||
* Git.vim is a plugin that allows the user to perform a lot more Git operations from within the Vim environment. http://github.com/motemen/git-vim/tree/master  | * Git.vim is a plugin that allows the user to perform a lot more Git operations from within the Vim environment. http://github.com/motemen/git-vim/tree/master  | ||
* This plugin was designed to display the current branch info in the vim status line.  http://github.com/taq/vim-git-branch-info/tree/master  | * This plugin was designed to display the current branch info in the vim status line.  http://github.com/taq/vim-git-branch-info/tree/master  | ||
| + | * the only one I use is git-vim, the rest is not really helpfull for me [gcmalloc]  | ||
== pathogen ==  | == pathogen ==  | ||
For plugin management, after installing you can keep all your plugin in a ~/.vim/bundle. You can keep every plugin as a git depot for git-submodule management or similar.  | For plugin management, after installing you can keep all your plugin in a ~/.vim/bundle. You can keep every plugin as a git depot for git-submodule management or similar.  | ||
http://www.vim.org/scripts/script.php?script_id=2332  | http://www.vim.org/scripts/script.php?script_id=2332  | ||
| + | == Vundle ==  | ||
| + | Even better than pathogen, it's a full feature package manager for vim plugin.  | ||
| + | Ex : Bundle 'sjl/gundo.vim'  | ||
== conque ==  | == conque ==  | ||
A shell wrapper you can open a shell in a vim buffer simply with    | A shell wrapper you can open a shell in a vim buffer simply with    | ||
| Line 14: | Line 18: | ||
:ConqueTerm zsh  | :ConqueTerm zsh  | ||
http://code.google.com/p/conque/  | http://code.google.com/p/conque/  | ||
| + | It will hang sometime, and ignore esc key. You can use tmux to have a real shell on the side.  | ||
== ack ==  | == ack ==  | ||
A simple shortcut to the ack command, a grep alternative specially designed for programmers.  | A simple shortcut to the ack command, a grep alternative specially designed for programmers.  | ||
| Line 23: | Line 28: | ||
  "hello" to 'hello' with cs"'  |   "hello" to 'hello' with cs"'  | ||
https://github.com/tpope/vim-surround  | https://github.com/tpope/vim-surround  | ||
| + | == DelimitMate ==  | ||
| + | Close open parenthesis, bracket, quote, double quote or whatever symbols you want it to care about.  | ||
== The-NERD-Tree ==  | == The-NERD-Tree ==  | ||
A file browser in vim, much better than the default one.  | A file browser in vim, much better than the default one.  | ||
https://github.com/scrooloose/nerdtree  | https://github.com/scrooloose/nerdtree  | ||
== auto-mkdir ==  | == auto-mkdir ==  | ||
| − | Automatically create the directory that doesn't exist yet when   | + | Automatically create the directory that doesn't exist yet when saving a buffer.  | 
== minibufexplorer ==  | == minibufexplorer ==  | ||
always see all opened buffer, change between them, see wich one are selected.  | always see all opened buffer, change between them, see wich one are selected.  | ||
| Line 36: | Line 43: | ||
* tab make the completion for everything, snipet completion too if you have snipmate  | * tab make the completion for everything, snipet completion too if you have snipmate  | ||
* https://github.com/ervandew/supertab  | * https://github.com/ervandew/supertab  | ||
| + | == Align ==  | ||
| + | Automagically align character on lines. Works very well with a selection to create lines similar to   | ||
| + | a       = 4  | ||
| + | armenia = 4  | ||
== vim-powerline ==  | == vim-powerline ==  | ||
| Line 44: | Line 55: | ||
Increment/Decrement date with ctrl+a/ctrl+x, works so well you will loose your calendar.  | Increment/Decrement date with ctrl+a/ctrl+x, works so well you will loose your calendar.  | ||
Very handy to build macro on top of it.  | Very handy to build macro on top of it.  | ||
| + | |||
== ZoomWin ==  | == ZoomWin ==  | ||
Maximize one window, then go back to the original layout  | Maximize one window, then go back to the original layout  | ||
| Line 71: | Line 83: | ||
The best plugin around for programming in erlang with vim  | The best plugin around for programming in erlang with vim  | ||
https://github.com/oscarh/vimerl  | https://github.com/oscarh/vimerl  | ||
| + | |||
| + | = TO test =  | ||
| + |  fugitive gitv bad-whitespace Powerline css_color The_NERD_tree UltiSnips FuzzyFinder afterimage tabular DrawIt matchit.zip clang_complete visualstar PickAColor surround DirDiff textobj-rubyblock Conque_Shell Gundo vim_easymotion  | ||
Latest revision as of 13:40, 28 February 2013
Here is a non-exhausive list of really great vim plugin:
General
git
- Vim-Fugitive - work on your commits from within GIT! https://github.com/tpope/vim-fugitive
 - Git.vim is a plugin that allows the user to perform a lot more Git operations from within the Vim environment. http://github.com/motemen/git-vim/tree/master
 - This plugin was designed to display the current branch info in the vim status line. http://github.com/taq/vim-git-branch-info/tree/master
 - the only one I use is git-vim, the rest is not really helpfull for me [gcmalloc]
 
pathogen
For plugin management, after installing you can keep all your plugin in a ~/.vim/bundle. You can keep every plugin as a git depot for git-submodule management or similar. http://www.vim.org/scripts/script.php?script_id=2332
Vundle
Even better than pathogen, it's a full feature package manager for vim plugin. Ex : Bundle 'sjl/gundo.vim'
conque
A shell wrapper you can open a shell in a vim buffer simply with
- ConqueTerm ipython
 
or
- ConqueTerm zsh
 
http://code.google.com/p/conque/ It will hang sometime, and ignore esc key. You can use tmux to have a real shell on the side.
ack
A simple shortcut to the ack command, a grep alternative specially designed for programmers. To search for all the source code for a word with some grep option by default. https://github.com/mileszs/ack.vim
surround
add or remove surrounding, it support parenthesis opening and closing. For example:
"hello" to 'hello' with cs"'
https://github.com/tpope/vim-surround
DelimitMate
Close open parenthesis, bracket, quote, double quote or whatever symbols you want it to care about.
The-NERD-Tree
A file browser in vim, much better than the default one. https://github.com/scrooloose/nerdtree
auto-mkdir
Automatically create the directory that doesn't exist yet when saving a buffer.
minibufexplorer
always see all opened buffer, change between them, see wich one are selected. https://github.com/fholgado/minibufexpl.vim
snipmate
Very good snipet utility, very easily scriptable.
superTab
- tab make the completion for everything, snipet completion too if you have snipmate
 - https://github.com/ervandew/supertab
 
Align
Automagically align character on lines. Works very well with a selection to create lines similar to a = 4 armenia = 4
vim-powerline
- status-bar on cocaine, with svn, git status, encoding, end of line, and more
 - https://github.com/Lokaltog/vim-powerline
 
speedating
Increment/Decrement date with ctrl+a/ctrl+x, works so well you will loose your calendar. Very handy to build macro on top of it.
ZoomWin
Maximize one window, then go back to the original layout
javascript
jslint
a simple linter with the quick fix window support
css
css-color
add the color of every color tag as the background for example: html { color: blue } the background of blue will be blue
Python
Pydoc
Works very well for the default cpython lib. will open a new buffer in a new window with the corresponding doc when completing.
Rope
Renaming at project scope, changing element and moving code around. Works really great
Pyflake
A simple linter with quick fix window support
Erlang
Vimerl
The best plugin around for programming in erlang with vim https://github.com/oscarh/vimerl
TO test
fugitive gitv bad-whitespace Powerline css_color The_NERD_tree UltiSnips FuzzyFinder afterimage tabular DrawIt matchit.zip clang_complete visualstar PickAColor surround DirDiff textobj-rubyblock Conque_Shell Gundo vim_easymotion