changeset 309:5b7acab16766

Make NERDTree ignore stuff, and other Vim tweaks.
author Ludovic Chabant <ludovic@chabant.com>
date Fri, 26 Jun 2015 22:46:41 -0700
parents 01ec865443b6
children 60222ba031b9
files vim/vimrc
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/vim/vimrc	Fri Jun 26 13:54:24 2015 -0700
+++ b/vim/vimrc	Fri Jun 26 22:46:41 2015 -0700
@@ -219,6 +219,12 @@
 
 " Plugin Settings {{{
 
+" NERDTree {{{
+
+let NERDTreeIgnore=['\~$', '*.pyc', '*.pyo']
+
+" }}}
+
 " Ctrl-P {{{
 
 " We'll set our own mappings.
@@ -386,6 +392,7 @@
 " Tab navigation
 noremap <C-Tab>   :tabnext<cr>
 noremap <C-S-Tab> :tabprevious<cr>
+noremap <C-t>     :tabnew<cr>
 
 " Window navigation
 nnoremap <C-up> :wincmd k<cr>
@@ -490,6 +497,7 @@
 nnoremap <c-\> <c-w>v<c-]>zMzvzz
 nnoremap <F9>  :tprevious
 nnoremap <F10> :tnext
+nnoremap <c-s-]> :pop<cr>
 
 " Keep search matches in the middle of the window.
 nnoremap n nzvzz