ivim是一個非常強大的插件集合,簡單幾步配置即可,省去逐個安裝插件的麻煩
ivim安裝步驟:
1.先裝上exuberant catgs:
sudo apt-get install exuberant-ctags
2.安裝vundle,用於安裝vim插件,類似apt等軟件安裝包
git clone http://github.com/gmarik/vundle.git $HOME/.vim/bundle/vundle
3.獲取ivim配置文件:
git clone http://github.com/kepbod/ivim.git $HOME/ivim
4.替換原有的配置文件:
cp $HOME/ivim/.vimrc $HOME/.vimrc
5.打開vim, 執行:BundleInstall,自動安裝其它插件,安裝完成後,重啓vim
具體使用可查閱.vimrc,有很多<leader> r之類的快捷鍵,<leader>是一個可自定義的通配符,比傳統<Ctrl>更方便,默認let mapleader = ","
Refer:https://github.com/kepbod/ivim
Default Plugin List
- Vundle – Manage the Vim scripts
- Tagbar – Browse the tags of source code files
- NERD_tree – Explore filesystem and to open files and directories
- NERD_commenter – Provide many different commenting operations and styles
- Neocomplcache – Performs keyword completion by maintaining a cache of keywords
- snipMate – Implement some of TextMate's snippets features in Vim
- surround – Provide mappings to delete, change and add surroundings in pairs
- delimitMate – Provides automatic closing of quotes, parenthesis, brackets, etc.
- Ctrlp – Full path fuzzy file, buffer, mru and tag finder with an intuitive interface
- Ack – A replacement for 'grep' using Perl module App::Ack
- Tabular – Line up text easily
- Syntastic – Syntax check that runs files through external syntax checkers
- EasyMotion – Provide a much simpler way to use some motions in Vim
- Indent Guides – Visually display indent levels in Vim
- fugitive – Git wrapper
- Gundo – Visualize Vim undo tree
- EasyTags – Automated tag generation and syntax highlighting in Vim
- Powerline – Create better-looking, more functional Vim statuslines
- SingleCompile – Compile or run a single source file without leaving Vim
- CamelCaseMotion – Refine words motion in Vim
- Zencoding – High-speed HTML, XML, XSL coding and editing
- Golden Ratio – Resize windows automatically using the Golden Ratio
- Splitjoin – Switch between a single-line statement and a multi-line one
- Unite – Search and display information from arbitrary sources
- rails.vim – Plugin for working with Ruby on Rails applications
- Indent Object – Text objects based on indent levels
- NrrwRgn – Focus on a region and making the rest inaccessible
- unimpaired.vim – Complementary pairs of mappings
- abolish.vim – Search for, substitute, and abbreviate multiple variants of a word
- vimux – Easily interact with tmux from vim
- markdown-preview – Select Markdown text, render to HTML and preview in browser
- unite-outline – Provide your Vim's buffer with the outline view
- swap-parameters – Swap parameters
- autolink.vim – Find and insert URLs for links in Markdown and ReST documents
- textobj-word-column.txt – Make operating on columns of code conceptually simpler and reduces keystrokes