My vim IDE setup for ruby, python, html, css, javascript, gettext and more
- vimrc handling
- Incremental and smart case search.
- Trailing whitespace highlightling and cleaning shortcut.
- Logical and Visual layout (for Right-To-Left lanaguegs) editing.
- Tabs expand to 4 spaces by default
- Remap
`<Leader>
to,
andjj` to
<ESC>`` - Highlight current row and color column 80
- Extra syntax highlighting (css3, less, json, jinja, jquery etc)
- Syntax checking
- Snippets
- Python completion, refactoring, navigation and docs
- Quotes, parens etc pair, surround
- Extended pair matching with %
- ASCII drawing
- Fuzzy file, buffer, mru, tag, etc finder
- Task list
- VCS plugins (git, hg, svn, etc)
- Tab completion
The following commands will clone the repo, symlink ~/.vimrc and update the bundles:
git clone https://github.com/ik5/dotvim.git ~/.vim
ln -s ~/.vim/vimrc ~/.vimrc
cd ~/.vim
git submodule init
git submodule update
To add or override settings, place them in ~/.vim/vimrc.local
.
To update submodules in the future:
cd ~/.vim
git submodule foreach git pull
- pathogen.vim - manage your runtimepath
- Solarized - color scheme
- MiniBufExplorer - Elegant buffer explorer
- fugitiv.evim - a Git wrapper so awesome, it should be illegal
- vcscommand - CVS/SVN/SVK/git/hg/bzr integration plugin
- ctrlp.vim - Fuzzy file, buffer, mru, tag, etc finder.
- SuperTab - Insert mode completions with Tab
- Syntastic - Syntax checking hacks for vim.
- snipMate - implements some of TextMate's snippets features in Vim.
- snipmate-snippets - snipmate default snippets
- python-mode - Vim python-mode. PyLint, Rope, Pydoc, breakpoints from box
- DrawIt - Ascii drawing plugin: lines, ellipses, arrows, fills, and more!
- vim-less - less support for vim
- vim-surround - quoting/parenthesizing made simple
- Shebang - Make executable by setting the correct shebang and executable bit
- Tagbar - Displays tags in a window, ordered by class etc
- css3-mod - css syntax script to support css3
- NERD tree - A tree explorer
- ack.vim - Plugin for the Perl module / CLI script 'ack'
- auto-pairs - Insert or delete brackets, parens, quotes in pair
- po.vim - Easier editing of GNU gettext PO files
- json.vim - A syntax highlighting file for JSON
- TaskList - Eclipse like task list
- MatchIt - Extended % matching for HTML, LaTeX, and many other languages
- vim-powerline - The ultimate vim statusline utility
- tabular - text filtering and alignment
- vroom - A vim plugin for running your Ruby tests
- vim-markdown - A markdown syntax highlighting plugin
- vim-vividchalk - A colorscheme for vim
- vim-bundler - A ruby bundler support
- vim-rake - A rake supportfor vim
- vim-ruby-refactoring - A ruby refactoring tool
- html5 - HTML5 syntax highlight and omnicomplete
- molokai - A colorscheme as textmate
- javascript-libraries-syntax.js - Syntax for JavaScript libraries
- vim-slim - slim syntax highlighting for vim
- coffee-script - CoffeScript support for vim
- vim-mustache-handlebars - A vim plugin for working with mustache and handlebars templates
- vim-ser - Vim syntax for Kamailio files
- psql.vim - Vim syntax for postgres (helps debug your syntax)
- rfc-syntax - RFC document syntax highlight
- kamailio - Extension for auto complete for kamailio
- vim-ruby - Ruby support for vim
- dart-vim-plugin - A vim dart plugin for vim
- vim-go - A plugin for go
- vim-compiler-go - A vim compiler support for go
- vim-godef - Go to defention in go
- vim-go-extra - Allow to see documentation, format the current buffer and add import
- vim-elixir-lang - Vim configuration files for Elixir http://elixir-lang.org/
Key | Command |
---|---|
jj |
<Esc> in insert and command modes |
---------------------- | ----------------------------------------------------------------- |
, |
<Leader> |
---------------------- | ----------------------------------------------------------------- |
<Leader>v |
Load .vimrc |
---------------------- | ----------------------------------------------------------------- |
<Leader>V |
Activate changes to .vimrc (Make sure to save it before) |
---------------------- | ----------------------------------------------------------------- |
<F2> |
Close current split (window) |
---------------------- | ----------------------------------------------------------------- |
<F3> |
Toggle NERD tree |
---------------------- | ----------------------------------------------------------------- |
<F4> |
Toggle search highlight |
---------------------- | ----------------------------------------------------------------- |
<F5> |
Toggle Tagbar |
---------------------- | ----------------------------------------------------------------- |
<Leader>S |
Remove trailing whitespace |
---------------------- | ----------------------------------------------------------------- |
<CTRL>hjkl |
Window movement commands (mapped via MiniBufExplorer settings) |
---------------------- | ----------------------------------------------------------------- |
<CTRL>arrow |
Window movement commands (mapped via MiniBufExplorer settings) |
---------------------- | ----------------------------------------------------------------- |
<CTRL-TAB> |
Next buffer in current window (via MiniBufExplorer settings) |
---------------------- | ----------------------------------------------------------------- |
<CTRL-SHIFT-TAB> |
Previous buffer in current window (via MiniBufExplorer settings) |
---------------------- | ----------------------------------------------------------------- |
- , + |
Resize horizontal splits |
---------------------- | ----------------------------------------------------------------- |
<ALT>< <ALT>> |
Resize vertical splits |
---------------------- | ----------------------------------------------------------------- |
<F9> |
|
---------------------- | ----------------------------------------------------------------- |
<F8> |
Toggle visual (RTL, e.g: Hebrew) editing |
---------------------- | ----------------------------------------------------------------- |
g/ |
:Ack<Space> |
---------------------- | ----------------------------------------------------------------- |
g* |
:Ack -w current_word |
---------------------- | ----------------------------------------------------------------- |
ga |
:AckAdd! (add results to the current search) |