NERDTree unload syntax color
I am using the NERDTree from a g:workingDirectory that I am setting
and it opens a left buffer with colored recursive tree.
When I source again my _vimrc, colors disappear and g:workingDirectory
I think colors pb comes from autocommand but I don't know why exactly.
" Only do this part when compiled with support for autocommands.
" Enable file type detection.
" Use the default filetype settings, so that mail gets 'tw' set to
" 'cindent' is on in C files, etc.
" Also load indent files, to automatically do language-dependent
filetype plugin indent on
" Put these in an autocmd group, so that we can delete them easily.
" For all text files set 'textwidth' to 78 characters.
autocmd FileType text setlocal textwidth=90
" When editing a file, always jump to the last known cursor
" Don't do it when the position is invalid or when inside an event
" (happens when dropping a file on gvim).
autocmd BufReadPost *
\ if line("'\"") > 0 && line("'\"") <= line("$") |
\ exe "normal! g`\"" |
set autoindent " always set autoindenting on
endif " has("autocmd")
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php