| ... | ... |
@@ -1,6 +1,7 @@ |
| 1 | 1 |
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
| 2 | 2 |
" Versions |
| 3 | 3 |
" |
| 4 |
+" v0.2 - 2015-02-19: Vundle added |
|
| 4 | 5 |
" v0.1 - 2014-10-19: variable for screen integration set / commands for (un)commenting block added / no backup behavior |
| 5 | 6 |
" v0.0 - 2012-06-09: current vimrc fetch from the Internet |
| 6 | 7 |
" |
| ... | ... |
@@ -76,6 +77,40 @@ let g:mapleader = "," |
| 76 | 77 |
set t_Co=256 |
| 77 | 78 |
|
| 78 | 79 |
|
| 80 |
+"========" |
|
| 81 |
+" Vundle " |
|
| 82 |
+"========" |
|
| 83 |
+ |
|
| 84 |
+set nocompatible " be iMproved, required |
|
| 85 |
+filetype off " required |
|
| 86 |
+ |
|
| 87 |
+" set the runtime path to include Vundle and initialize |
|
| 88 |
+set rtp+=~/.vim/bundle/Vundle.vim |
|
| 89 |
+call vundle#begin() |
|
| 90 |
+" alternatively, pass a path where Vundle should install plugins |
|
| 91 |
+"call vundle#begin('~/some/path/here')
|
|
| 92 |
+ |
|
| 93 |
+" let Vundle manage Vundle, required |
|
| 94 |
+Plugin 'gmarik/Vundle.vim' |
|
| 95 |
+ |
|
| 96 |
+Plugin 'scrooloose/nerdtree' |
|
| 97 |
+" All of your Plugins must be added before the following line |
|
| 98 |
+call vundle#end() " required |
|
| 99 |
+filetype plugin indent on " and turn it back on! |
|
| 100 |
+ |
|
| 101 |
+" To ignore plugin indent changes, instead use: |
|
| 102 |
+"filetype plugin on |
|
| 103 |
+" |
|
| 104 |
+" Brief help |
|
| 105 |
+" :PluginList - lists configured plugins |
|
| 106 |
+" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate |
|
| 107 |
+" :PluginSearch foo - searches for foo; append `!` to refresh local cache |
|
| 108 |
+" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal |
|
| 109 |
+" |
|
| 110 |
+" see :h vundle for more details or wiki for FAQ |
|
| 111 |
+" Put your non-Plugin stuff after this line |
|
| 112 |
+ |
|
| 113 |
+ |
|
| 79 | 114 |
|
| 80 | 115 |
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
| 81 | 116 |
" => VIM user interface |
| ... | ... |
@@ -359,6 +394,7 @@ vmap <C-M> :s/^/#/<CR>:noh<CR> |
| 359 | 394 |
vmap <C-N> :s/^#//<CR>:noh<CR> |
| 360 | 395 |
|
| 361 | 396 |
|
| 397 |
+ |
|
| 362 | 398 |
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
| 363 | 399 |
" => Helper functions |
| 364 | 400 |
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |