Skip to content

Nedeas/vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim

My configuration vim

Installation

  1. Install exuberuant-ctags. OSX with brew : brew install ctags. Linux with apt : apt-get install exuberant-ctags
  2. git clone https://github.com/Nedeas/vim.git ~/.vim
  3. cd ~/.vim/ && git submodule update --init --recursive
  4. cd ~/.vim/bundle/YouCompleteMe && ./install.sh --clang-completer
  5. cd ~/.vim/bundle/vimproc.vim && make
  6. ln -s ~/.vim/.vimrc ~/.vimrc

Infos

The default vim leader are "," (comma) in this configuration.

In vim, you can to use key up, down, left and right for navigate. I recommend to use h, j, k and l for navigate identical at left, bottom, top and right.

Best shortcut

  • 'Ctrl+e' : Open/close file explorer
  • In explorer for all shortcut see Nerdtree documentation (https://github.com/scrooloose/nerdtree/blob/master/doc/NERD_tree.txt)
  • 'F8' : Open/close tagBar (list function and attribute of current file)
  • 'Ctrl+w' and 'h' or 'l' : For navigate between file explorer, current file and tagbar. ('h' for go to left and 'l' for go to right)
  • 'Ctrl+w' and 'q' : For close a pane
  • 'Ctrl+h' or 'Ctrl+l' : For navigate between files (when multiple file are opened)
  • 'Ctrl+$' in a function name : Open declaration of this function
  • 'F2' : Active paste mode
  • ',y' and ',p' : copy and paste in système clipboard
  • 'F5' : Change color between solarized dark and solarized light

Reference

About

My configuration vim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published