Skip to content

qiao/vimfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Qiao's vim files

Bundled Plugins

  • ag.vim - for the silver searcher
  • c.vim - C/C++ IDE -- Write and run programs. Insert statements, idioms, comments etc
  • closetag - Functions and mappings to close open HTML/XML tags
  • ctrlp - Fuzzy file, buffer, mru and tag finder
  • delimitMate - provides insert mode auto-completion for quotes, parens, brackets, etc
  • emmet-vim - for high-speed HTML, XML, XSL, etc coding and editing
  • endwise - wisely add "end" in ruby, endfunction/endif/more in vim script, etc
  • fugitive - Git wrapper
  • haskell.vim - Syntax highlight for haskell
  • indent guides - visually displaying indent levels in code
  • jquery.vim - Syntax file for jQuery
  • 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
  • rails.vim - Ruby on Rails power tools
  • 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)
  • tabular - for text filtering and alignment
  • tagbar - displays tags in a window, ordered by class etc
  • vim-css3-syntax - Add CSS3 syntax support to vim
  • vim-coffee-script - CoffeeScript support for vim
  • vim-easymotion - provides a much simpler way to use some motions in vim
  • vim-golang - Vim plugins for Go
  • vim-javascript - Vastly improved vim's javascript indentation
  • vim-slim - slim syntax highlighting for vim
  • vim-snippets - vim-snipmate default snippets
  • vim-haml - vim runtime files for Haml, Sass, and SCSS

Themes

Dependencies

  • ag - required by ag.vim
  • ctags - required by tagbar

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.

Installation

Backup your own vim files.

mv .vim .vim.bak
mv .vimrc .vimrc.bak

Clone this repository.

git clone https://github.com/qiao/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

Key Bindings

  • F4 -> Toggle indentation guides
  • F5 -> Toggle Nerd-Tree file viewer
  • F6 -> Toggle tagbar
  • Ctrl + j -> Call zen-coding expansion on html tags
  • Alt + 1~9 -> Switch between multiple buffers

FAQ

  1. The Alt + 1~9 combination does not work in iTerm.

    iTerm Preference --> Profiles --> Keys --> set Left option key acts as to Meta

About

My vim plugins and configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published