Commits

Josh VanderLinden  committed 1621149

Adding more relativenumber-related changes

  • Participants
  • Parent commits 52845b1

Comments (0)

Files changed (1)

 " Vim 7.3-specific config
 if version >= 703
     set relativenumber
+
+    " Pull up NERD Tree and the Tag List plugins
+    nnoremap <silent> <F6> :NERDTreeToggle<CR>:set norelativenumber nolist<CR>
+else
+    nnoremap <silent> <F6> :NERDTreeToggle<CR>:set nolist<CR>
 endif
 
 " Replace stuff with line number :%s/\v^\[ ?\d+]/\=line(".")/
 let Tlist_Exit_OnlyWindow = 0
 nnoremap <Leader>S :TlistSync<CR>
 
-" Pull up NERD Tree and the Tag List plugins
-nnoremap <silent> <F6> :NERDTreeToggle<CR>
-
 " Center search results vertically on the screen
 nnoremap <silent> n nzz
 nnoremap <silent> N Nzz