MOVED TO DOTFILES
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.
Install MacVim on Mac Os X
You need Homebrew. Dependencies will be installed automatically.
I am using vim-plug.
- Add a plugin by adding a
vimrc, then add its description below.
- Update plugins with
- Upgrade vim-plug from time to time with
- Remove a plugin by removing the line, running
:PlugCleanand removing the description from the
README.md. Look for other mentions of the plugin in the repo by using
List of plugins
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
How to try Vim
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
vimtutorto learn the basics.
- Along the way, add plugins and improve your
.vimrclittle 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)
fagoes to the next
acharacter on the same line (in command mode)
"kyycopies the current line into register
"kppaste the content of the register
Custom keyboard shortcuts
<leader>pw: show the Python documentation for the word under the cursor.
flake8on the current file.
qgicrewraps the comment block (thanks to