Skip to content

ywjno/vundle-vimfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This Vim configurations base form kaochenlong/eddie-vim

My personal Vim configurations and some plugins which I used in my daily job.

I put Vim related settings in plugin/settings/Settings.vim, and isolate other plugins' settings in plugin/settings directory.

you can link your ~/.vimrc to any one of them as you wish :)

Usage

Installation and Requisites:

( Windows users see Vundle for Windows PLZ)

  1. BACKUP your .vim directory and .vimrc first.(IMPORTANT!)

  2. cd ~ to change directory to your home directory if your like.

  3. copy files to your home directory:

     git clone git://github.com/ywjno/vundle-vimfiles.git ~/.vim
    
  4. link the vimrc to

     ln -s ~/.vim/vimrc ~/.vimrc
    
  5. if you use GUI version VIM, such as MacVim or GVim, you can also link to .gvimrc:

     ln -s ~/.vim/gvimrc ~/.gvimrc
    
  6. Setup Vundle

     git clone git://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
    
  7. you may need to install ack or silver searcher first if you use ack.vim.

Install bundles:

Launch vim, run :PluginInstall (or vim +PluginInstall +qall for CLI lovers)

Update bundles:

Launch vim, run :PluginUpdate

Features and Key Mappings:

  1. Resize splited windows automatically, so that you get a bigger editing room if you're working with a smaller screen. (stole from Gary Bernhardt)

  2. Toggle between working mode and presentation mode by <leader>z, but only work in GUI version Vim. You can check here to see how it looks like. (stole from Mike Skalnik)

  3. some usually used key mappings in normal mode:

    a. <F2> to toggle NERDTree on and off.

    b. <F3> to toggle CtrlPBuffer on and off.

    c. <F4> to toggle Tagbar window.

    d. <F7> to switch to previous tab, and <F8> to the next tab.

    e. hit <ctrl>p will launch a quick window to match keywords from your current working directory, not only file name, but also path name. And <ctrl>w u will match from your MRU(Mostly Recent Used) files, which is also frequently used.

    f. hit <leader> twice to toggle comment on and off.

    j. <tab> and <shift><tab> to increase and decrease the syntax identation.

  4. Remove tailing whitespace automatically while saving.

FAQ

if you can not found ctags command, just find your ctags path and replace my settings in plugin/settings/Ctags.vim file:

let g:tagbar_ctags_bin = '/your/path/to/ctags'

and Exuberant Ctags is recommended.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published