From: Adam A.G. Shamblin Date: Mon, 6 Oct 2014 16:34:28 +0000 (-0600) Subject: NERDTree config, local project-specific settings. X-Git-Url: https://git.vexinglabs.com/?a=commitdiff_plain;h=787ad6b79cd744f75679f5d059b8d77cc7218aff;p=dotfiles.git NERDTree config, local project-specific settings. --- diff --git a/dotvimrc b/dotvimrc index 8d85e4c..9be4270 100644 --- a/dotvimrc +++ b/dotvimrc @@ -22,12 +22,15 @@ set switchbuf=usetab set mouse=a set ttymouse=xterm2 -set wildignore+=**/node_modules/*,**/target/* +set wildignore+=**/node_modules,**/node_modules/*,**/target,**/target/* let mapleader="," let g:CommandTAcceptSelectionTabMap='' +let NERDTreeRespectWildIgnore=1 +let NERDTreeShowHidden=1 map f :CommandT +map a :NERDTreeToggle " Setup project/team-specific configurations function! SetupEnvironment() @@ -37,6 +40,12 @@ function! SetupEnvironment() if &filetype == "javascript" setlocal tabstop=2 softtabstop=2 shiftwidth=2 endif + if &filetype == "less" + setlocal tabstop=2 softtabstop=2 shiftwidth=2 + endif + if &filetype == "css" + setlocal tabstop=2 softtabstop=2 shiftwidth=2 + endif endif endfunction