I recently removed and reorganized redundant settings and plugins, and put it on another repository https://github.com/kaochenlong/eddie-vim2
My personal Vim configurations and some plugins which I used in my daily job.
I put Vim related settings in
plugin/settings/Settings.vim, and isolate other plugins' settings in
You may notice that there are several vimrc files:
vimrc, standard version vimrc.
easy-vimrc, same as vimrc, but add some easier key mapping for new Vimer.
pro-vimrc, same as vimrc, but remove the arrow keys mapping.
experimental-vimrc, same as pro-vimrc, but just for experimental purpose.
you can link your
~/.vimrc to any one of them as you wish :)
It's how my Vim looks now:
and Here are some screenshots on the other platforms.
Installation and Requisites:
Automatic installer... (DO YOU TRUST ME?)
If you already install
git in your machine, and you trust me and my automatic install shell script, you can install my vimrc via
wget, just copy one of the following line and paste in terminal:
sh <(curl -L https://github.com/kaochenlong/eddie-vim/raw/master/utils/install.sh)
- or via
sh <(wget --no-check-certificate https://github.com/kaochenlong/eddie-vim/raw/master/utils/install.sh -O -)
cd ~to change directory to your home directory.
copy files to your home directory:
git clone git://github.com/kaochenlong/eddie-vim.git
eddie-vimdirectory and execute the
update.shto get latest version modules:
cd eddie-vim ./update.sh
make a symbolic link
eddie-vimthat you just cloned, or just rename it to
.vimalso be fine:
ln -s eddie-vim .vim
link the vimrc to
ln -s .vim/vimrc .vimrc
if you're still not familiar with the movement in vim by HJKL or yanking and pasting text, I've made a easier version:
ln -s .vim/easy-vimrc .vimrc
if you use GUI version VIM, such as MacVim or GVim, you can also link to
ln -s eddie-vim/gvimrc .gvimrc
if you use Airline under Ubuntu or something which can not show the correct icons/fonts on the bottom, you can check this link, patch the font and it should look pretty nice.
you may need to install
silver searcherfirst if you use
change directory to
~/.vim and execute
./update.sh script, it should do all the updates automatically.
Features and Key Mappings:
Resize splited windows automatically, so that you get a bigger editing room if you're working with a smaller screen. (stole from Gary Bernhardt)
some usually used key mappings in normal mode:
<F2>to toggle NERDTree on and off.
<F3>to search Buffer with CtrlP plugin.
<F4>to toggle Taglist window.
:source %for you.
<F7>to switch to previous tab, and
<F8>to the next tab.
<ctrl>pwill launch a quick window to match keywords from your current working directory, not only file name, but also path name. And
<ctrl>w uwill match from your MRU(Mostly Recent Used) files, which is also frequently used.
<leader>twice to toggle comment on and off.
<shift><tab>to increase and decrease the syntax identation.
.vimrcin a new tab.
<leader>0to edit or create
README.mdin current working directory.
Remove tailing whitespace automatically while saving.
if you can not found
ctags command, just find your ctags path and replace my settings in
let Tlist_Ctags_Cmd = '/your/path/to/ctags'
and Exuberant Ctags is recommended.
Enjoy it, and if there's any question or comment, feel free to let me know :)
Eddie Kao (firstname.lastname@example.org)