forked from windy/ruby-vimrc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add macvim support, add cursor hight
- Loading branch information
Showing
1 changed file
with
80 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.. |