You should clone the Vundle and set it into ~/.vim/bundle
first.
Then open vim and input :BundleInstall
, everything is ok.
And the _vimrc
is used to windows.
I Use as a leader key, but you should notice that you shouldn't map the keymap of related with leader in INSERT mode(You will find out that it will be a second to wait if you map it in INSERT mode. because vim think you still not finish you input).
- a a for align(vim-easy-align)
- r r for run
- t t for tags
- j j for jump
- v v for vsplit
- y y for yank
- p p for paste
I use some emacs' keymap in INSERT mode.
inoremap <C-f> <Right>
inoremap <C-b> <Left>
inoremap <C-a> <ESC>I
inoremap <C-e> <ESC>A
inoremap <C-d> <DEL>
- I want to just write one vimrc and let it works in every platforms.
You should install tmux first.
You can get more information from here -> Tmux.
I set all keybindings as Vim. You can checkout in .tmux.conf
, and the layout file in .tmux
folder(To set the subwindow as IDE terminal).
You can install AutoHotKey, then just run the script ctrl.ahk
.
I have alias a change
command in my bashrc
file
alias change=setxkbmap -option "ctrl:swapcaps"
- ctags: Used to generate
tags
file. Let vim can jump in each function. - SS: The command for editing the setting of network proxy (Ubuntu Unity)
- GOPATH: Setting the gopath
- VIMRC: Mark the config file of vim, then I can get vimrc with variable
$VIMRC
in Vim. For the command:vsp $VIMRC<Enter>
can work correctly in vim.