66
GitHub - helmuthdu/vim: vim config
source link: https://github.com/helmuthdu/vim
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
Installation
Prerequisites
- Git (1.7+)
- Vim (7.3+)
- ctags
Mac:
- [Homebrew][homebrew] -
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
- [MacVim][macvim] -
brew install macvim
- [Homesick][homesick] -
gem install homesick
- [ctags][ctags] -
brew install ctags-exuberant
Vim
Overview of my vim setup. Sensible defaults!
Mappings
Reference to vim mappings.
General
,
keyleader.<Leader>cd
Switch to the directory of the open buffer.<C-l>
Enable/Disable list.<Leader>al
Quick aligning to left.<Leader>ar
Quick aligning to right.<Leader>ac
Quick aligning to center.<Leader>ff
Toggle indention mode.<Leader>ss
Toggle Spell checking<Leader>sn
Spell checking (Next word)<Leader>sp
Spell checking (Previews word)<Leader>s?
Spell checking (Show list)<Leader>tw
Set text wrapping toggles.<Enter>
Turn off search highlighting.<spacebar>
spacebar create/open/close folding.jj
Map escape key to jj.
Plugins
<Leader>B
buffergator<Leader>ca
calendar<Leader>u
Gundo<C-o>
NERDTree<C-e>
Emmet<C-Space>
YouCompleteMe: Display preview window<Tab>
Ultisnips: Expand snippers<C-Tab>
Ultisnips: Display list of snippers
Commands
:w!
Sudo write!
Plug-Ins
- accelerated-smooth-scroll
- airline
- [calendar]
- CtrlP
- CtrlP-funky
- easyMotion
- IndentLine
- multiple-cursors
- nerdcommenter
- nerdtree
- syntastic
- tabular - Configurable, flexible, intuitive text aligning --
- [tagbar]
- surround - Delete, change, and add "surroundings" i.e. parentheses, quotes, and HTML tags --
- Ultisnips
- undotree - Graph Vim's undo tree so it is actually usable
- YouCompleteMe
- [vundle]
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK