Skip to content

Latest commit

 

History

History
90 lines (67 loc) · 2.01 KB

README.md

File metadata and controls

90 lines (67 loc) · 2.01 KB

img

**Simple is beautiful**

#Intruction

PS: If you are a jumbo user, this vimrc suits you very much! see install.sh.

1.Preinstalled plugins(YouCompleteMe is disabled):

" let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim'

" plugin on GitHub repo
Plugin 'tpope/vim-fugitive'
Plugin 'scrooloose/nerdtree'
Plugin 'Lokaltog/vim-powerline'
Plugin 'stephenmckinney/vim-solarized-powerline'
Plugin 'kien/rainbow_parentheses.vim'
Plugin 'Yggdroot/indentLine'
Plugin 'pangloss/vim-javascript'
Plugin 'altercation/vim-colors-solarized'
"Plugin 'Valloric/YouCompleteMe'
Plugin 'L9'
Plugin 'txt.vim'
Plugin 'Syntastic'
Plugin 'taglist.vim'
Plugin 'neocomplcache'

2.Auto complete new file header. suport C++/C, Python, Java, Shell, you can add another programming languages suport.

""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"                   User-definded setting                    "
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
let g:krc_author = "your name"
let g:krc_email = "your email address"
let g:krc_copyright = "your Copyright type"
" your file description when you create a new file.
let g:krc_description = ""

example:

➜  krc git:(master) vim test.py
➜  krc git:(master) ✗ cat test.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
@File Name:    test.py
@Author:       kehr
@Mail:         kehr.china@gmail.com
@Created Time: Sat, 04/04/2015, 03:12:43 AM
@Copyright:    GPL 2.0
@Description:
'''

Read the vimrc file to get more features. It's worthwhile to do this. 😄

#Required

  • vim >= 7.3
  • git

#Install

Run:

curl -L https://raw.githubusercontent.com/kehr/krc/master/install.sh | sh

Copy this snip ot your bashrc file or zshrc file:

export MYVIMRC=$HOME/.krc
export VIMINIT="let &rtp='$HOME/.vim/bundle,' . &rtp
so $MYVIMRC"
alias updatekrc='curl -L https://raw.githubusercontent.com/kehr/krc/master/vimrc > ~/.krc'

finished !