Permalink
Browse files

Update current file location using NERDTreeFind

  • Loading branch information...
1 parent 92da469 commit dc83a619d9d32b439f186fd06c95064cde3ef605 @farazdagi committed Jan 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 .vimrc
View
2 .vimrc
@@ -420,7 +420,7 @@ map <Leader>u :silent !touch /tmp/uwsgi-reload.txt<CR><C-l>
imap <Leader>u <ESC>:silent !touch /tmp/uwsgi-reload.txt<CR><C-l>
vmap <Leader>u <ESC><ESC>:silent !touch /tmp/uwsgi-reload.txt<CR><C-l>
" Locate file in hierarchy quickly
-map ,T :NERDTree %<CR>
+map <Leader>T :NERDTreeFind<CR>
" change the directory to the current file I'm working on
" plays nicely with NERDTree - when file opened
map ,cd :cd %:p:h

0 comments on commit dc83a61

Please sign in to comment.