]> Vexing Labs - dotfiles.git/commitdiff
NERDTree config, local project-specific settings.
authorAdam A.G. Shamblin <adam.shamblin@mapquest.com>
Mon, 6 Oct 2014 16:34:28 +0000 (10:34 -0600)
committerAdam A.G. Shamblin <adam.shamblin@mapquest.com>
Mon, 6 Oct 2014 16:34:28 +0000 (10:34 -0600)
dotvimrc

index 8d85e4c732867c8e4a38277e70297f65ddcaafd8..9be42705f360f09d5f51d43a848000c65977f56c 100644 (file)
--- 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='<CR>'
+let NERDTreeRespectWildIgnore=1
+let NERDTreeShowHidden=1
 
 map <leader>f :CommandT<cr>
+map <leader>a :NERDTreeToggle<cr>
 
 " 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