Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 1.14 KB

README.md

File metadata and controls

43 lines (34 loc) · 1.14 KB

How to use

Install Vundle:

git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim

Launch Vim and run:

:PluginInstall

How to install YCM:

On Linux:

On MacOS:

  • Haven't succeeded yet :)

Some hits:

  1. cc: comment one line or the selected text in the visual mode
  2. i: turn off/on visualized indent
  3. u: cancel, ctr + r: cancel last u
  4. Uninstall plugin through Vundle:
    • delete the line for that plugin;
    • then run :BundleClean
  5. NerdTree:
    • shift + c: zoom into select folder
    • u: zoom out to root folder
    • m: folder operations, ESC: exit fold operations mode
    • i: open new vertical tab for selected file
    • s: open new horizonal tab for selected file
    • r: refresh current directory
    • R: refresh root directory
  6. Ctags:
    • ctags -R . : generate tags file
    • ctrl + ]: jump to definition
    • ctrl + o/t: jump back
  7. Tagbar:
    • F9: show tagbar
  8. Vim:
    • :tabe xx.file: open a new tab for this file