Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 371 lines (317 sloc) 11.85 kB
bbd971d @spf13 Adding .vimrc file
authored
1 " Modeline and Notes {
71a549a @spf13 Organize it a bit, change supertab default to context
authored
2 " vim: set foldmarker={,} foldlevel=0 foldmethod=marker spell:
bbd971d @spf13 Adding .vimrc file
authored
3 "
f2fe65c @taxilian Initial import for all of my stuff, tweaking of configs to be how I l…
taxilian authored
4 " This is the personal .vimrc file of Steve Francia.
5 " While much of it is beneficial for general use, I would
6 " recommend picking out the parts you want and understand.
bbd971d @spf13 Adding .vimrc file
authored
7 "
f2fe65c @taxilian Initial import for all of my stuff, tweaking of configs to be how I l…
taxilian authored
8 " You can find me at http://spf13.com
bbd971d @spf13 Adding .vimrc file
authored
9 " }
10
b01ec59 @spf13 Cleaning up vimrc file, adding better term support
authored
11 " Environment {
12 " Basics {
13 set nocompatible " must be first line
14 " }
695cf75 @spf13 reording the vimrc so windows loads .vim properly
authored
15
d06f794 @taxilian Updates from spf13
taxilian authored
16 <<<<<<< HEAD
71a549a @spf13 Organize it a bit, change supertab default to context
authored
17 " Setup Bundle Support {
5f7b2a4 @spf13 Organized the .vimrc a bit
authored
18 " The next two lines ensure that the ~/.vim/bundle/ system works
71a549a @spf13 Organize it a bit, change supertab default to context
authored
19 runtime! autoload/pathogen.vim
2d49d30 @ramonmaruko Add: call to pathogen#helptags()
ramonmaruko authored
20 silent! call pathogen#helptags()
71a549a @spf13 Organize it a bit, change supertab default to context
authored
21 silent! call pathogen#runtime_append_all_bundles()
22 " }
5f7b2a4 @spf13 Organized the .vimrc a bit
authored
23
bbd971d @spf13 Adding .vimrc file
authored
24 " Basics {
f2fe65c @taxilian Initial import for all of my stuff, tweaking of configs to be how I l…
taxilian authored
25 set nocompatible " must be first line
bbd971d @spf13 Adding .vimrc file
authored
26 set background=dark " Assume a dark background
27 " }
45f2d07 @spf13 adding mouse support
authored
28
bbd971d @spf13 Adding .vimrc file
authored
29 " General {
f2fe65c @taxilian Initial import for all of my stuff, tweaking of configs to be how I l…
taxilian authored
30 filetype plugin indent on " Automatically detect file types.
31 syntax on " syntax highlighting
c677caf @taxilian Snipmate stuff now working
taxilian authored
32 set hidden " allow leaving a buffer when it is unsaved
b01ec59 @spf13 Cleaning up vimrc file, adding better term support
authored
33 " Windows Compatible {
34 " On Windows, also use '.vim' instead of 'vimfiles'; this makes synchronization
35 " across (heterogeneous) systems easier.
36 if has('win32') || has('win64')
37 set runtimepath=$HOME/.vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,$HOME/.vim/after
38 endif
39 " }
f2fe65c @taxilian Initial import for all of my stuff, tweaking of configs to be how I l…
taxilian authored
40
b01ec59 @spf13 Cleaning up vimrc file, adding better term support
authored
41 " Setup Bundle Support {
42 " The next two lines ensure that the ~/.vim/bundle/ system works
43 runtime! autoload/pathogen.vim
44 silent! call pathogen#runtime_append_all_bundles()
45 " }
46 " }
47
bbd971d @spf13 Adding .vimrc file
authored
48 " General {
b01ec59 @spf13 Cleaning up vimrc file, adding better term support
authored
49 set background=dark " Assume a dark background
50 set term=builtin_ansi " Make arrow and other keys work
bbd971d @spf13 Adding .vimrc file
authored
51 filetype plugin indent on " Automatically detect file types.
1b72282 @spf13 loading pathogen at top of .vimrc file... small changes to .vimrc
authored
52 syntax on " syntax highlighting
53 scriptencoding utf-8
d06f794 @taxilian Updates from spf13
taxilian authored
54 " set autowrite " automatically write a file when leaving a modified buffer
bbd971d @spf13 Adding .vimrc file
authored
55 set shortmess+=filmnrxoOtT " abbrev. of messages (avoids 'hit enter')
8477301 @spf13 fixed issues with .vimrc InitializeDirectories function
authored
56 set viewoptions=folds,options,cursor,unix,slash " better unix / windows compatibility
57 set virtualedit=onemore " allow for cursor beyond last character
58 set history=1000 " Store a ton of history (default is 20)
d06f794 @taxilian Updates from spf13
taxilian authored
59 " set spell " spell checking on
5f7b2a4 @spf13 Organized the .vimrc a bit
authored
60
61 " Setting up the directories {
62 set backup " backups are nice ...
6036fa3 @spf13 made .vimrc work right again with swap, view and backup directories
authored
63 set backupdir=$HOME/.vimbackup// " but not when they clog .
64 set directory=$HOME/.vimswap// " Same for swap files
b01ec59 @spf13 Cleaning up vimrc file, adding better term support
authored
65 set viewdir=$HOME/.vimviews// " same for view files
5f7b2a4 @spf13 Organized the .vimrc a bit
authored
66
e2db1fc @spf13 improve vim compatibility with Windows 7, update readme
authored
67 "" Creating directories if they don't exist
6036fa3 @spf13 made .vimrc work right again with swap, view and backup directories
authored
68 silent execute '!mkdir -p $HOME/.vimbackup'
69 silent execute '!mkdir -p $HOME/.vimswap'
70 silent execute '!mkdir -p $HOME/.vimviews'
71a549a @spf13 Organize it a bit, change supertab default to context
authored
71 au BufWinLeave * silent! mkview "make vim save view (state) (folds, cursor, etc)
72 au BufWinEnter * silent! loadview "make vim load view (state) (folds, cursor, etc)
5f7b2a4 @spf13 Organized the .vimrc a bit
authored
73 " }
bbd971d @spf13 Adding .vimrc file
authored
74 " }
75
76 " Vim UI {
f2fe65c @taxilian Initial import for all of my stuff, tweaking of configs to be how I l…
taxilian authored
77 color blackboard " load a colorscheme
78 set tabpagemax=15 " only show 15 tabs
79 set showmode " display the current mode
bbd971d @spf13 Adding .vimrc file
authored
80
f2fe65c @taxilian Initial import for all of my stuff, tweaking of configs to be how I l…
taxilian authored
81 set cursorline " highlight current line
82 hi cursorline guibg=#333333 " highlight bg color of current line
bbd971d @spf13 Adding .vimrc file
authored
83 hi CursorColumn guibg=#333333 " highlight cursor
84
85 if has('cmdline_info')
f2fe65c @taxilian Initial import for all of my stuff, tweaking of configs to be how I l…
taxilian authored
86 set ruler " show the ruler
bbd971d @spf13 Adding .vimrc file
authored
87 set rulerformat=%30(%=\:b%n%y%m%r%w\ %l,%c%V\ %P%) " a ruler on steroids
f2fe65c @taxilian Initial import for all of my stuff, tweaking of configs to be how I l…
taxilian authored
88 set showcmd " show partial commands in status line and
bbd971d @spf13 Adding .vimrc file
authored
89 " selected characters/lines in visual mode
90 endif
91
f2fe65c @taxilian Initial import for all of my stuff, tweaking of configs to be how I l…
taxilian authored
92 set laststatus=2
93 set statusline=%f%m%r%h%w\ [%{&ff}/%Y]\ [%{getcwd()}]\ [A=\%03.3b/H=\%02.2B]\ [%04l,%04v]\ [%p%%]\ [LEN=%L]
94
95 set backspace=indent,eol,start " backspace for dummys
96 set linespace=0 " No extra spaces between rows
97 set nu " Line numbers on
98 set showmatch " show matching brackets/parenthesis
99 set incsearch " find as you type search
100 set hlsearch " highlight search terms
101 set winminheight=0 " windows can be 0 line high
102 set ignorecase " case insensitive search
103 set smartcase " case sensitive when uc present
104 set wildmenu " show list instead of just completing
105 set wildmode=list:longest,full " comand <Tab> completion, list matches, then longest common part, then all.
bbd971d @spf13 Adding .vimrc file
authored
106 set whichwrap=b,s,h,l,<,>,[,] " backspace and cursor keys wrap to
f2fe65c @taxilian Initial import for all of my stuff, tweaking of configs to be how I l…
taxilian authored
107 set scrolljump=5 " lines to scroll when cursor leaves screen
108 set scrolloff=3 " minimum lines to keep above and below cursor
4571fc7 @bloveridge add softtabstop; alter a few indents to be consistent with rest of file
bloveridge authored
109 set nofoldenable " disable auto fold code
1b72282 @spf13 loading pathogen at top of .vimrc file... small changes to .vimrc
authored
110 set gdefault " the /g flag on :s substitutions by default
bbd971d @spf13 Adding .vimrc file
authored
111
112 " }
113
114 " Formatting {
4571fc7 @bloveridge add softtabstop; alter a few indents to be consistent with rest of file
bloveridge authored
115 " set nowrap " wrap long lines
f2fe65c @taxilian Initial import for all of my stuff, tweaking of configs to be how I l…
taxilian authored
116 set autoindent " indent at the same level of the previous line
117 set shiftwidth=4 " use indents of 4 spaces
118 set expandtab " tabs are spaces
119 set tabstop=4 " an indentation every four columns
4571fc7 @bloveridge add softtabstop; alter a few indents to be consistent with rest of file
bloveridge authored
120 set softtabstop=4 " a soft indentation every four columns
f2fe65c @taxilian Initial import for all of my stuff, tweaking of configs to be how I l…
taxilian authored
121 "set matchpairs+=<:> " match, to be used with %
4571fc7 @bloveridge add softtabstop; alter a few indents to be consistent with rest of file
bloveridge authored
122 "set pastetoggle=<F12> " pastetoggle (sane indentation on pastes)
123 "set comments=sl:/*,mb:*,elx:*/ " auto format comment blocks
bbd971d @spf13 Adding .vimrc file
authored
124 " }
125
f2fe65c @taxilian Initial import for all of my stuff, tweaking of configs to be how I l…
taxilian authored
126 " Python helpers {
127 highlight BadWhitespace ctermbg=red guibg=red
128 " Display tabs at the beginning of a line in Python mode as bad.
129 au BufRead,BufNewFile *.py,*.pyw match BadWhitespace /^\t\+/
130 au BufNewFile *.py,*.pyw,*.c,*.h set fileformat=unix
131 let python_highlight_all=1
132 " }
133
bbd971d @spf13 Adding .vimrc file
authored
134 " Key Mappings {
135
136 " Easier moving in tabs and windows
38da3d9 @taxilian Removed Shift-H and Shift-L (these overrode an important VIM feature)…
taxilian authored
137 map <C-J> :2 tabn
138 map <C-K> :2 tabp
139 map <C-L> :tabn
140 map <C-H> :tabp
bbd971d @spf13 Adding .vimrc file
authored
141
1b72282 @spf13 loading pathogen at top of .vimrc file... small changes to .vimrc
authored
142 " Yank from the cursor to the end of the line, to be consistent with C and D.
143 nnoremap Y y$
f2fe65c @taxilian Initial import for all of my stuff, tweaking of configs to be how I l…
taxilian authored
144
145 """ Code folding options
146 nmap <leader>f0 :set foldlevel=0<CR>
147 nmap <leader>f1 :set foldlevel=1<CR>
148 nmap <leader>f2 :set foldlevel=2<CR>
149 nmap <leader>f3 :set foldlevel=3<CR>
150 nmap <leader>f4 :set foldlevel=4<CR>
151 nmap <leader>f5 :set foldlevel=5<CR>
152 nmap <leader>f6 :set foldlevel=6<CR>
153 nmap <leader>f7 :set foldlevel=7<CR>
154 nmap <leader>f8 :set foldlevel=8<CR>
155 nmap <leader>f9 :set foldlevel=9<CR>
83b27da @spf13 updated mappings, fixed broken links in readme, updated children
authored
156
157 " Shortcuts
158 " Change Working Directory to that of the current file
f2fe65c @taxilian Initial import for all of my stuff, tweaking of configs to be how I l…
taxilian authored
159 nmap cd. :lcd %:p:h<CR>:pwd<CR>
160
161 " Fix home and end keybindings for screen, particularly on mac
162 " - for some reason this fixes the arrow keys too. huh.
163 map  $
164 imap  $
165 map  g0
166 imap  g0
167
84bb805 @spf13 adding a shortcut to write with sudo (:wgit st)
authored
168 " For when you forget to sudo.. Really Write the file.
169 cmap w!! w !sudo tee % >/dev/null
bbd971d @spf13 Adding .vimrc file
authored
170 " }
171
172 " Plugins {
173
174 " VCSCommand {
175 let b:VCSCommandMapPrefix=',v'
176 let b:VCSCommandVCSType='git'
177 ""let mapleader = "-"
178 " }
c305fee @spf13 Fix issue with views, configure supertab, adding fugitive to status
authored
179
845190f @spf13 Updated vimrc with PIV config section
authored
180 " PIV {
f2fe65c @taxilian Initial import for all of my stuff, tweaking of configs to be how I l…
taxilian authored
181 let g:DisableAutoPHPFolding = 1
845190f @spf13 Updated vimrc with PIV config section
authored
182 " }
183
c305fee @spf13 Fix issue with views, configure supertab, adding fugitive to status
authored
184 " Supertab {
614e571 @spf13 adding support for autoclosetag and making it play nice with delimitmate
authored
185 "let g:SuperTabDefaultCompletionType = "context"
c305fee @spf13 Fix issue with views, configure supertab, adding fugitive to status
authored
186 let g:SuperTabContextDefaultCompletionType = "<c-x><c-o>"
187 " }
bbd971d @spf13 Adding .vimrc file
authored
188
189 " Misc {
190 :map <C-F10> <Esc>:vsp<CR>:VTree<CR>
191 " map Control + F10 to Vtree
192
e07fae4 @taxilian Added missing modules, minor tweaks to config
taxilian authored
193 noremap <leader><F5> :CheckSyntax<cr>
f2fe65c @taxilian Initial import for all of my stuff, tweaking of configs to be how I l…
taxilian authored
194 let g:checksyntax_auto = 1
bbd971d @spf13 Adding .vimrc file
authored
195
f2fe65c @taxilian Initial import for all of my stuff, tweaking of configs to be how I l…
taxilian authored
196 "comment out line(s) in visual mode -RB: If you do this, you can't
197 "switch sides of the comment block in visual mode.
198 "vmap o :call NERDComment(1, 'toggle')<CR>
bbd971d @spf13 Adding .vimrc file
authored
199 let g:NERDShutUp=1
200
201 let b:match_ignorecase = 1
202 " }
f2fe65c @taxilian Initial import for all of my stuff, tweaking of configs to be how I l…
taxilian authored
203
bbd971d @spf13 Adding .vimrc file
authored
204 " ShowMarks {
205 let showmarks_include = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
206 " Don't leave on by default, use :ShowMarksOn to enable
f2fe65c @taxilian Initial import for all of my stuff, tweaking of configs to be how I l…
taxilian authored
207 let g:showmarks_enable = 1
bbd971d @spf13 Adding .vimrc file
authored
208 " For marks a-z
209 highlight ShowMarksHLl gui=bold guibg=LightBlue guifg=Blue
210 " For marks A-Z
211 highlight ShowMarksHLu gui=bold guibg=LightRed guifg=DarkRed
212 " For all other marks
213 highlight ShowMarksHLo gui=bold guibg=LightYellow guifg=DarkYellow
214 " For multiple marks on the same line.
215 highlight ShowMarksHLm gui=bold guibg=LightGreen guifg=DarkGreen
216 " }
217
218 " OmniComplete {
c305fee @spf13 Fix issue with views, configure supertab, adding fugitive to status
authored
219 "if has("autocmd") && exists("+omnifunc")
220 "autocmd Filetype *
221 "\if &omnifunc == "" |
222 "\setlocal omnifunc=syntaxcomplete#Complete |
223 "\endif
224 "endif
bbd971d @spf13 Adding .vimrc file
authored
225
226 " Popup menu hightLight Group
f2fe65c @taxilian Initial import for all of my stuff, tweaking of configs to be how I l…
taxilian authored
227 "highlight Pmenu ctermbg=13 guibg=DarkBlue
249b444 @taxilian Added some tweaks for NERDtree
taxilian authored
228 "highlight PmenuSel ctermbg=7 guibg=DarkBlue guifg=LightBlue
f2fe65c @taxilian Initial import for all of my stuff, tweaking of configs to be how I l…
taxilian authored
229 "highlight PmenuSbar ctermbg=7 guibg=DarkGray
230 "highlight PmenuThumb guibg=Black
bbd971d @spf13 Adding .vimrc file
authored
231
232 hi Pmenu guifg=#000000 guibg=#F8F8F8 ctermfg=black ctermbg=Lightgray
233 hi PmenuSbar guifg=#8A95A7 guibg=#F8F8F8 gui=NONE ctermfg=darkcyan ctermbg=lightgray cterm=NONE
234 hi PmenuThumb guifg=#F8F8F8 guibg=#8A95A7 gui=NONE ctermfg=lightgray ctermbg=darkcyan cterm=NONE
235
236 " some convenient mappings
237 inoremap <expr> <Esc> pumvisible() ? "\<C-e>" : "\<Esc>"
238 inoremap <expr> <CR> pumvisible() ? "\<C-y>" : "\<CR>"
239 inoremap <expr> <Down> pumvisible() ? "\<C-n>" : "\<Down>"
240 inoremap <expr> <Up> pumvisible() ? "\<C-p>" : "\<Up>"
f2fe65c @taxilian Initial import for all of my stuff, tweaking of configs to be how I l…
taxilian authored
241 inoremap <expr> <C-d> pumvisible() ? "\<PageDown>\<C-p>\<C-n>" : "\<C-d>"
bbd971d @spf13 Adding .vimrc file
authored
242 inoremap <expr> <C-u> pumvisible() ? "\<PageUp>\<C-p>\<C-n>" : "\<C-u>"
243
244 " automatically open and close the popup menu / preview window
245 au CursorMovedI,InsertLeave * if pumvisible() == 0|silent! pclose|endif
246 set completeopt=menu,longest,preview
247 " }
248
249 " Ctags {
a44447d @spf13 adding better tag support
authored
250 set tags=./tags;/,~/.vimtags
251 " }
252
253 " EasyTags {
f2fe65c @taxilian Initial import for all of my stuff, tweaking of configs to be how I l…
taxilian authored
254 let g:easytags_cmd = 'ctags'
bbd971d @spf13 Adding .vimrc file
authored
255 " }
614e571 @spf13 adding support for autoclosetag and making it play nice with delimitmate
authored
256
257 " AutoCloseTag {
258 " Make it so AutoCloseTag works for xml and xhtml files as well
259 au FileType xhtml,xml ru ftplugin/html/autoclosetag.vim
260 " }
bbd971d @spf13 Adding .vimrc file
authored
261
83b27da @spf13 updated mappings, fixed broken links in readme, updated children
authored
262 " SnipMate {
263 " Setting the author var
f2fe65c @taxilian Initial import for all of my stuff, tweaking of configs to be how I l…
taxilian authored
264 let g:snips_author = 'Richard Bateman <taxilian@gmail.com>'
83b27da @spf13 updated mappings, fixed broken links in readme, updated children
authored
265 " Shortcut for reloading snippets, useful when developing
266 nnoremap ,smr <esc>:exec ReloadAllSnippets()<cr>
267 " }
f2fe65c @taxilian Initial import for all of my stuff, tweaking of configs to be how I l…
taxilian authored
268
269 " Richard's plugins {
270 " Fuzzy Finder {
271 """ Fuzzy Find file, tree, buffer, line
272 nmap <leader>ff :FufFile **/<CR>
273 nmap <leader>ft :FufFile<CR>
274 nmap <leader>fb :FufBuffer<CR>
275 nmap <leader>fl :FufLine<CR>
276 nmap <leader>fr :FufRenewCache<CR>
277 " }
278
279 " Session List {
280 set sessionoptions=blank,buffers,curdir,folds,tabpages,winsize
281 nmap <leader>sl :SessionList<CR>
282 nmap <leader>ss :SessionSave<CR>
283 " }
284
285 " Buffer explorer {
286 nmap <leader>b :BufExplorer<CR>
287 " }
288
289 " Project related {
290 map <C-p> <Plug>ToggleProject
f7334e9 @taxilian Made nerd tree auto-mirror
taxilian authored
291 map <C-e> :NERDTreeToggle<CR>:NERDTreeMirror<CR>
4571fc7 @bloveridge add softtabstop; alter a few indents to be consistent with rest of file
bloveridge authored
292 map <leader>e :NERDTreeFind<CR>
f2fe65c @taxilian Initial import for all of my stuff, tweaking of configs to be how I l…
taxilian authored
293 nmap <leader>nt :NERDTreeFind<CR>
b64de74 @taxilian Added tweaks for nerd explorer to make it a better project management…
taxilian authored
294
295 let NERDTreeShowBookmarks=1
94c788d @taxilian Fixed bad ignore pattern
taxilian authored
296 let NERDTreeIgnore=['\.pyc', '\~$', '\.swo$', '\.swp$', '\.git', '\.hg', '\.svn', '\.bzr']
b64de74 @taxilian Added tweaks for nerd explorer to make it a better project management…
taxilian authored
297 let NERDTreeChDirMode=2
3365dab @taxilian Disabled auto folding, and disabled close on open with NERDTree
taxilian authored
298 let NERDTreeQuitOnOpen=0
b64de74 @taxilian Added tweaks for nerd explorer to make it a better project management…
taxilian authored
299 let NERDTreeShowHidden=1
249b444 @taxilian Added some tweaks for NERDtree
taxilian authored
300 let NERDTreeKeepTreeInNewTab=1
301 "au BufEnter * call NERDTreeInitAsNeeded()
f2fe65c @taxilian Initial import for all of my stuff, tweaking of configs to be how I l…
taxilian authored
302 " }
303
304 " VCS commands {
305 nmap <leader>vs :VCSStatus<CR>
306 nmap <leader>vc :VCSCommit<CR>
307 nmap <leader>vb :VCSBlame<CR>
308 nmap <leader>va :VCSAdd<CR>
309 nmap <leader>vd :VCSVimDiff<CR>
310 nmap <leader>vl :VCSLog<CR>
311 nmap <leader>vu :VCSUpdate<CR>
312 " }
313 " php-doc commands {
314 nmap <leader>pd :call PhpDocSingle()<CR>
315 vmap <leader>pd :call PhpDocRange()<CR>
316 " }
317
318 " Debugging with VimDebugger {
319 map <F11> :DbgStepInto<CR>
320 map <F10> :DbgStepOver<CR>
321 map <S-F11> :DbgStepOut<CR>
322 map <F5> :DbgRun<CR>
323 map <F6> :DbgDetach<CR>
324 map <F8> :DbgToggleBreakpoint<CR>
325 map <S-F8> :DbgFlushBreakpoints<CR>
326 map <F9> :DbgRefreshWatch<CR>
327 map <S-F9> :DbgAddWatch<CR>
328 " }
329
330 " Taglist Variables {
331 let Tlist_Auto_Highlight_Tag = 1
332 let Tlist_Auto_Update = 1
333 let Tlist_Exit_OnlyWindow = 1
334 let Tlist_File_Fold_Auto_Close = 1
335 let Tlist_Highlight_Tag_On_BufEnter = 1
336 let Tlist_Use_Right_Window = 1
337 let Tlist_Use_SingleClick = 1
338
339 let g:ctags_statusline=1
340 " Override how taglist does javascript
341 let g:tlist_javascript_settings = 'javascript;f:function;c:class;m:method;p:property;v:global'
342 " }
343 " }
bbd971d @spf13 Adding .vimrc file
authored
344 " }
345
346 " GUI Settings {
347 " GVIM- (here instead of .gvimrc)
348 if has('gui_running')
f2fe65c @taxilian Initial import for all of my stuff, tweaking of configs to be how I l…
taxilian authored
349 set guioptions-=T " remove the toolbar
350 set lines=40 " 40 lines of text instead of 24,
bbd971d @spf13 Adding .vimrc file
authored
351 endif
352 " }
249b444 @taxilian Added some tweaks for NERDtree
taxilian authored
353
354 function! NERDTreeInitAsNeeded()
355 redir => bufoutput
356 buffers!
357 redir END
358 let idx = stridx(bufoutput, "NERD_tree")
359 if idx > -1
360 NERDTreeMirror
361 NERDTreeFind
362 wincmd l
363 endif
364 endfunction
f74cd3f @bloveridge source a user's ~/.vimrc.local if it exists
bloveridge authored
365
366 " Use local vimrc if available {
367 if filereadable(expand("~/.vimrc.local"))
368 source ~/.vimrc.local
369 endif
370 " }
Something went wrong with that request. Please try again.