- c.vim - C/C++ IDE -- Write and run programs. Insert statements, idioms, comments etc
- closetag - Functions and mappings to close open HTML/XML tags
- delimitMate - provides insert mode auto-completion for quotes, parens, brackets, etc
- endwise - wisely add "end" in ruby, endfunction/endif/more in vim script, etc
- indent guides - visually displaying indent levels in code
- matchit - extended % matching for HTML, LaTeX, and many other languages
- neocomplcache - Ultimate auto-completion system
- neosnippet - adds snippet support to Vim
- nerd commenter - for intensely orgasmic commenting
- nerd tree - tree explorer plugin for navigating the filesystem
- powerline - create better-looking, more functional vim statuslines
- rainbow parenthesis - highlights matching parenthesis with a rainbow of colors
- snipmate-snippets - vim-snipmate default snippets
- supertab - Perform all your vim insert mode completions with Tab
- surround - quoting/parenthesizing made simple
- syntastic - Syntax checking hacks for vim
- tabbar - add tab bar (derived from miniBufExplorer)
- tagbar - displays tags in a window, ordered by class etc
- vim-autoformat - Format the code
- vim-easymotion - provides a much simpler way to use some motions in vim
- vim-scripts/MatlabFilesEdition - script for Matlab, support: Syntax highlighting, Correct setting to use the matchit.vim script, Correct indentation and Tag support
- emmet - for high-speed HTML, XML, XSL, etc coding and editing
ctags
- required bytagbar
For ArchLinux.
sudo yaourt -S ag ctags
For MacOS:
brew install ag ctags
Note that package names and install tools may differ in other environments.
- Matlab syntax checker -
mlint
Make mlint
(in the directory of Matlab) findable in shell.
vim-gnome
- for system clipboard
For Ubuntu. sudo apt-get install vim-gnome
Backup your own vim files.
mv .vim .vim.bak
mv .vimrc .vimrc.bak
Clone this repository.
git clone git://github.com/alfredtofu/vimfiles.git .vim
Create link for .vimrc
.
ln -s .vim/vimrc .vimrc
Install the plugins (This step may take some time. Go have yourself a cup of tea).
.vim/install.sh
F2
-> Toggle highlight modeF3
-> Toggle paste modeF4
-> Toggle indentation guidesF5
-> Toggle Nerd-Tree file viewerF6
-> Toggle tagbarF7
-> Format the codeCtrl
+j
-> Call zen-coding expansion on html tagsCtrl
+c
-> Copy content of current file to system clipboardAlt
+1~9
-> Switch between multiple buffersAlt
+x
-> Delete current tab, remove it from tagbargr
gR
-> local/global variable replace