This repository has been moved to charles/dotfiles
$ curl -s https://raw.githubusercontent.com/charlax/dotvim/master/install.py | python
You should read the script before executing it.
You need Homebrew. Dependencies will be installed automatically.
I am using vim-plug.
- Add a plugin by adding a
Plug
line invimrc
, then add its description below. - Update plugins with
:PlugUpdate
. - Upgrade vim-plug from time to time with
:PlugUpgrade
. - Remove a plugin by removing the line, running
:PlugClean
and removing the description from theREADME.md
. Look for other mentions of the plugin in the repo by usingag
.
Check the vimrc
for an up-to-date list and description.
- ALE: Asynchronous Lint Engine
- auto-pairs: insert or delete brackets, parens, quotes in pair
- deoplete: asynchronous completion framework
- deoplete-go: asynchronous Go completion for Neovim
- Cocoa: a collection of scripts designed to make it easier to develop Cocoa/Objective-C applications.
- Flake8: runs the currently open file through Flake8, a static syntax and style checker for Python source code.
- FZF: fuzzy file finder
- json: JSON highlighting script.
- JSX: React JSX syntax highlighting and indenting
- Mako: a collection of scripts for the mako templating engine.
- nerdtree: a tree explorer plugin.
- Python-Pep8-Indent a nicer Python indentation style.
- repeat: enable repeating supported plugin maps with "."
- rtf-highlight: syntax highlighting to RTF
- Solarized8: optimized solarized color schemes
- Stylus: syntax highlighting for stylus.
- Tagbar: displays tags in a window, ordered by class etc.
- thrift.vim: syntax highlighting for thrift definition files.
- ultisnips: snippet engine
- vim-arduino: compile and deploy Arduino sketches.
- vim-go: go development plugin
- vim-jinja2-syntax: an up-to-date jinja2 syntax file
- vim-less: syntax for LESS (dynamic CSS).
- vim-multiple-cursors: True Sublime Text style multiple selections for Vim
- vim-snippets: snippets file for various programming languages.
- vim-wordmotion: more useful word motions for Vim
- xmledit: help edit XML files.
- vim-textobj-comment: text objects for comments
- vim-textobj-user: create your own
text objects (required by
vim-textobj-comment
).
If you want to try Vim, just follow these steps:
- Read Seven habits of effective text editing by Bram Moolenaar (Vim's main author)
- Resist the urge to use a plugin or anyone else’s
vimrc
. Really. - Use
vimtutor
to learn the basics. - Along the way, add plugins and improve your
.vimrc
little by little, making sure you understand and comment all your options.
Feel free to read my article: Why I use Vim
Here's some other good articles:
<C-w>
: deletes one word backward (in insert mode)<C-u>
: deletes one line (in insert mode)fa
goes to the nexta
character on the same line (in command mode)"kyy
copies the current line into registerk
"kp
paste the content of the registerk
<leader>pw
: show the Python documentation for the word under the cursor.<F7>
runsflake8
on the current file.qgic
rewraps the comment block (thanks tovim-textobj-comment
)
Thanks to: