Skip to content

GreenLim/vim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

##我的vimrc

set number
set helplang=cn
set ai      
set bs=2
set showmatch
set autoread
set autoindent

syntax on
set smartindent

"tab
set tabstop=4
set expandtab
set shiftwidth=4

" line
set cursorline

set hls

set nocompatible              " be iMproved, required
filetype off                  " required
set encoding=utf-8
set fillchars+=stl:\ ,stlnc:\

set rtp+=~/.vim/bundle/vundle/
call vundle#rc()

Bundle 'gmarik/vundle'
Bundle 'tpope/vim-rails.git'
Bundle '[email protected]:scrooloose/nerdtree.git'
Bundle '[email protected]:Raimondi/delimitMate.git'
Bundle 'hallison/vim-markdown'
Bundle '[email protected]:kien/ctrlp.vim.git'
Bundle 'msanders/snipmate.vim'

" Powerline
let g:Powerline_symbols = 'fancy'

filetype plugin indent on     " required

" NEADTree
autocmd vimenter * if !argc() | NERDTree | endif
map <C-n> :NERDTreeToggle<CR>
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif

" CtrlP
let g:ctrlp_map = '<c-p>'
let g:ctrlp_cmd = 'CtrlP'
set wildignore+=*/tmp/*,*.so,*.swp,*.zip     " MacOSX/Linux
let g:ctrlp_custom_ignore = '\v[\/]\.(git|hg|svn)$'

##使用方式

git clone https://github.com/guochy2012/vim.git ~/.vim

cp ~/.vim/vimrc ~/.vimrc

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 98.2%
  • Python 1.3%
  • Other 0.5%