2015-03-09 09:25:21 +01:00
|
|
|
" NERDTree: ' e' = toggle side bar
|
2015-03-09 11:52:35 +01:00
|
|
|
let g:NERDTreeUpdateOnWrite = 1
|
2015-03-09 09:25:21 +01:00
|
|
|
nnoremap <Leader>e :NERDTreeToggle<CR>
|
|
|
|
|
|
|
|
" Open automatically if there are more than 150 columns and no file was specified
|
|
|
|
autocmd VimEnter * if argc() == 0 && &columns > 150 | NERDTree | endif
|
|
|
|
|
2015-03-13 10:50:58 +01:00
|
|
|
" Set the bookmarks file's path
|
|
|
|
let g:NERDTreeBookmarksFile = g:vim_vardata . '/NTBookmarks'
|
|
|
|
if filereadable( g:NERDTreeBookmarksFile )
|
|
|
|
ReadBookmarks
|
|
|
|
endif
|
|
|
|
|