This repo contains my dotfiles. Use below command to get started quickly
cd ~
git clone --recursive https://github.com/arpitjindal97/dotfiles.git dotfiles
cd dotfiles
make install
Install below tools first before cloning the repo
zsh
xsel
gvim
Vim plugins are cloned as submodules. Update them once in a week.
cd ~/dotfiles
make update
- github.com/scrooloose/nerdtree
- github.com/Xuyuanp/nerdtree-git-plugin
- github.com/elzr/vim-json
- github.com/vim-airline/vim-airline
- github.com/vim-airline/vim-airline-themes
- github.com/airblade/vim-gitgutter
- github.com/tpope/vim-fugitive
- github.com/ctrlpvim/ctrlp
- github.com/jiangmiao/auto-pairs
- github.com/tpope/vim-surround
- github.com/Yggdroot/indentLine
- github.com/ntpeters/vim-better-whitespace
- github.com/altercation/vim-colors-solarized
- github.com/fatih/vim-go
- github.com/godlygeek/tabular
- github.com/mhinz/vim-signify
Key Combination | Function |
---|---|
prefix | C-a |
prefix + [ | copy-mode vi |
prefix + b | previous-window |
prefix + n | next-window |
prefix + p | paste buffer from clipboard (xsel) |
prefix + k | select pane -U |
prefix + j | select pane -D |
prefix + h | select pane -L |
prefix + l | select pane -R |
prefix + C-h | resize pane -L 1 |
prefix + C-j | resize pane -D 1 |
prefix + C-k | resize pane -U 1 |
prefix + C-l | resize pane -R 1 |
prefix + r | reload source file |
copy-mode-vi v | begin-selection |
copy-mode-vi y | copy-buffer to clipboard (xsel) |
Rest all other key binding are samme. I am also using hdaly/tmux-better-mouse-mode plugin for easy mouse movements
Key | Function |
---|---|
C-n | NerdTreeToggle |
I haven't set any key binding for vim. All the commands are as default provided by the plugins. Check their documentation.