1. Installation
2. Usage
This is my simple config for vimrc, it using plugin from vundle and some shortcut for me to ez use
The configuration file supports the plugin with vundle
The plugin installed
-
Plugin VundleVim/Vundle.vim
-
Plugin scrooloose/nerdtree
-
Plugin vim-airline/vim-airline
-
Plugin morhetz/gruvbox
You can add more plugin using vundle at vimawesome
Install simple
git clone https://github.com/ctnguyenvn/vimrc
cd vimrc && bash install.sh
| Shortcut | exec |
|---|---|
| ;+s | save faster |
| F2 | Open/Off NERTree |
| F3 | Open/Off tagbar |
| Ctrl+ww | move to next window(when open multi window or open NERDTree) |
| ;+h | next left |
| ;+j | next below |
| ;+k | next above |
| ;+l | next right |
| ;+bf | show/hide buffer bar |
| ;+q | close buffer only |
| ;+t | open terminal below only active buffer |
| ;+T | open terminal below window |
| ctrl+shift+h | resize left |
| ctrl+shift+j | resize below |
| ctrl+shift+k | resize above |
| ctrl+shift+l | resize right |
| ctrl+o | reopen lastest close buffer |
Tagbar plugin require ctags, please install it befor use tagbar (like F2)
Arch linux
sudo pacman -S ctags
Ubuntu
sudo apt install ctags
Centos
sudo yum install ctags