|
1 | 1 | set nocompatible " be iMproved
|
2 |
| - filetype off " required! |
3 |
| - |
4 |
| - set rtp+=~/.vim/bundle/vundle/ |
5 |
| - call vundle#rc() |
6 |
| - |
7 |
| - " let Vundle manage Vundle |
8 |
| - " required! |
9 |
| - Bundle 'gmarik/vundle' |
10 |
| - |
11 |
| - " my configure |
12 |
| - set tabstop=2 |
13 |
| - set softtabstop=2 |
14 |
| - set shiftwidth=2 |
15 |
| - set expandtab |
16 |
| - " config it for change buffer without save it when changed |
17 |
| - set hidden "in order to switch between buffers with unsaved change |
18 |
| - let mapleader= "," |
19 |
| - " EasyMotion_leader_key . |
20 |
| - " My Bundles here: |
21 |
| - " |
22 |
| - " original repos on github |
23 |
| - Bundle 'tpope/vim-fugitive' |
24 |
| - Bundle 'Lokaltog/vim-easymotion' |
25 |
| - Bundle 'rstacruz/sparkup', {'rtp': 'vim/'} |
26 |
| - Bundle 'tpope/vim-rails.git' |
27 |
| - Bundle 'mattn/zencoding-vim' |
28 |
| - Bundle 'msanders/snipmate.vim' |
29 |
| - Bundle 'vim-scripts/The-NERD-Commenter' |
30 |
| - " vim-scripts repos |
31 |
| - Bundle 'L9' |
32 |
| - Bundle 'FuzzyFinder' |
33 |
| - map <c-t> :FufCoverageFile!<CR> |
34 |
| - " non github repos |
35 |
| - " if you like it more than fuf, uncomment here |
36 |
| - " Bundle 'git://git.wincent.com/command-t.git' |
37 |
| - " ... |
38 |
| - |
39 |
| - filetype plugin indent on " required! |
40 |
| - " |
41 |
| - " Brief help |
42 |
| - " :BundleList - list configured bundles |
43 |
| - " :BundleInstall(!) - install(update) bundles |
44 |
| - " :BundleSearch(!) foo - search(or refresh cache first) for foo |
45 |
| - " :BundleClean(!) - confirm(or auto-approve) removal of unused bundles |
46 |
| - " |
47 |
| - " see :h vundle for more details or wiki for FAQ |
48 |
| - " NOTE: comments after Bundle command are not allowed.. |
| 2 | +filetype off " required! |
| 3 | + |
| 4 | +set rtp+=~/.vim/bundle/vundle/ |
| 5 | +call vundle#rc() |
| 6 | + |
| 7 | +" let Vundle manage Vundle |
| 8 | +" required! |
| 9 | +Bundle 'gmarik/vundle' |
| 10 | + |
| 11 | +" my configure |
| 12 | +set tabstop=2 |
| 13 | +set softtabstop=2 |
| 14 | +set shiftwidth=2 |
| 15 | +set expandtab |
| 16 | +set noimdisable |
| 17 | +set iminsert=0 |
| 18 | +set imsearch=0 |
| 19 | +set noswapfile |
| 20 | +" config it for change buffer without save it when changed |
| 21 | +set hidden "in order to switch between buffers with unsaved change |
| 22 | +map <silent><F8> :NERDTree<CR> |
| 23 | +set nu |
| 24 | +map <tab> :tabn<CR> |
| 25 | +let g:user_zen_settings = { |
| 26 | + \ 'indentation' : ' ' |
| 27 | + \} |
| 28 | +let g:indent_guides_guide_size = 1 |
| 29 | + |
| 30 | +" hightlight col and line |
| 31 | +set cursorline |
| 32 | +"set cursorcolumn |
| 33 | + |
| 34 | +if has("gui_running") |
| 35 | + colorscheme desert |
| 36 | + set bs=2 |
| 37 | + set ruler |
| 38 | + set gfn=Monaco:h16 |
| 39 | + set shell=/bin/bash |
| 40 | +endif |
| 41 | + |
| 42 | +let mapleader= "," |
| 43 | +" EasyMotion_leader_key . |
| 44 | +" My Bundles here: |
| 45 | +" |
| 46 | +" original repos on github |
| 47 | +Bundle 'tpope/vim-fugitive' |
| 48 | +Bundle 'Lokaltog/vim-easymotion' |
| 49 | +Bundle 'rstacruz/sparkup', {'rtp': 'vim/'} |
| 50 | +Bundle 'tpope/vim-rails.git' |
| 51 | +Bundle 'mattn/zencoding-vim' |
| 52 | +Bundle 'msanders/snipmate.vim' |
| 53 | +Bundle 'vim-scripts/The-NERD-Commenter' |
| 54 | +" indent guides |
| 55 | +Bundle 'nathanaelkane/vim-indent-guides' |
| 56 | +" indent guides shortcut |
| 57 | +map <silent><F7> <leader>ig |
| 58 | +
|
| 59 | +Bundle 'scrooloose/nerdtree' |
| 60 | +" vim-scripts repos |
| 61 | +Bundle 'L9' |
| 62 | +Bundle 'FuzzyFinder' |
| 63 | +map <c-t> :FufCoverageFile!<CR> |
| 64 | +let g:fuf_coveragefile_exclude = '\v\~$|\.(o|exe|dll|bak|orig|swp)$|(^|[/\\])\.(hg|git|bzr)($|[/\\])|(tmp|log|db/migrate|vendor)' |
| 65 | +let g:fuf_enumeratingLimit = 50 |
| 66 | +let g:fuf_coveragefile_prompt = '=>' |
| 67 | +" non github repos |
| 68 | +" if you like it more than fuf, uncomment here |
| 69 | +" Bundle 'git://git.wincent.com/command-t.git' |
| 70 | +" ... |
| 71 | + |
| 72 | +filetype plugin indent on " required! |
| 73 | +" |
| 74 | +" Brief help |
| 75 | +" :BundleList - list configured bundles |
| 76 | +" :BundleInstall(!) - install(update) bundles |
| 77 | +" :BundleSearch(!) foo - search(or refresh cache first) for foo |
| 78 | +" :BundleClean(!) - confirm(or auto-approve) removal of unused bundles |
| 79 | +" |
| 80 | +" see :h vundle for more details or wiki for FAQ |
| 81 | +" NOTE: comments after Bundle command are not allowed.. |
0 commit comments