Skip to content

Commit

Permalink
add macvim support, add cursor hight
Browse files Browse the repository at this point in the history
  • Loading branch information
windy committed Sep 19, 2012
1 parent 42bdc13 commit 90284ba
Showing 1 changed file with 80 additions and 47 deletions.
127 changes: 80 additions & 47 deletions vimrc
Original file line number Diff line number Diff line change
@@ -1,48 +1,81 @@
set nocompatible " be iMproved
filetype off " required!

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

" let Vundle manage Vundle
" required!
Bundle 'gmarik/vundle'

" my configure
set tabstop=2
set softtabstop=2
set shiftwidth=2
set expandtab
" config it for change buffer without save it when changed
set hidden "in order to switch between buffers with unsaved change
let mapleader= ","
" EasyMotion_leader_key .
" My Bundles here:
"
" original repos on github
Bundle 'tpope/vim-fugitive'
Bundle 'Lokaltog/vim-easymotion'
Bundle 'rstacruz/sparkup', {'rtp': 'vim/'}
Bundle 'tpope/vim-rails.git'
Bundle 'mattn/zencoding-vim'
Bundle 'msanders/snipmate.vim'
Bundle 'vim-scripts/The-NERD-Commenter'
" vim-scripts repos
Bundle 'L9'
Bundle 'FuzzyFinder'
map <c-t> :FufCoverageFile!<CR>
" non github repos
" if you like it more than fuf, uncomment here
" Bundle 'git://git.wincent.com/command-t.git'
" ...

filetype plugin indent on " required!
"
" Brief help
" :BundleList - list configured bundles
" :BundleInstall(!) - install(update) bundles
" :BundleSearch(!) foo - search(or refresh cache first) for foo
" :BundleClean(!) - confirm(or auto-approve) removal of unused bundles
"
" see :h vundle for more details or wiki for FAQ
" NOTE: comments after Bundle command are not allowed..
filetype off " required!

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

" let Vundle manage Vundle
" required!
Bundle 'gmarik/vundle'

" my configure
set tabstop=2
set softtabstop=2
set shiftwidth=2
set expandtab
set noimdisable
set iminsert=0
set imsearch=0
set noswapfile
" config it for change buffer without save it when changed
set hidden "in order to switch between buffers with unsaved change
map <silent><F8> :NERDTree<CR>
set nu
map <tab> :tabn<CR>
let g:user_zen_settings = {
\ 'indentation' : ' '
\}
let g:indent_guides_guide_size = 1

" hightlight col and line
set cursorline
"set cursorcolumn

if has("gui_running")
colorscheme desert
set bs=2
set ruler
set gfn=Monaco:h16
set shell=/bin/bash
endif

let mapleader= ","
" EasyMotion_leader_key .
" My Bundles here:
"
" original repos on github
Bundle 'tpope/vim-fugitive'
Bundle 'Lokaltog/vim-easymotion'
Bundle 'rstacruz/sparkup', {'rtp': 'vim/'}
Bundle 'tpope/vim-rails.git'
Bundle 'mattn/zencoding-vim'
Bundle 'msanders/snipmate.vim'
Bundle 'vim-scripts/The-NERD-Commenter'
" indent guides
Bundle 'nathanaelkane/vim-indent-guides'
" indent guides shortcut
map <silent><F7> <leader>ig
Bundle 'scrooloose/nerdtree'
" vim-scripts repos
Bundle 'L9'
Bundle 'FuzzyFinder'
map <c-t> :FufCoverageFile!<CR>
let g:fuf_coveragefile_exclude = '\v\~$|\.(o|exe|dll|bak|orig|swp)$|(^|[/\\])\.(hg|git|bzr)($|[/\\])|(tmp|log|db/migrate|vendor)'
let g:fuf_enumeratingLimit = 50
let g:fuf_coveragefile_prompt = '=>'
" non github repos
" if you like it more than fuf, uncomment here
" Bundle 'git://git.wincent.com/command-t.git'
" ...

filetype plugin indent on " required!
"
" Brief help
" :BundleList - list configured bundles
" :BundleInstall(!) - install(update) bundles
" :BundleSearch(!) foo - search(or refresh cache first) for foo
" :BundleClean(!) - confirm(or auto-approve) removal of unused bundles
"
" see :h vundle for more details or wiki for FAQ
" NOTE: comments after Bundle command are not allowed..

0 comments on commit 90284ba

Please sign in to comment.