Permalink
Browse files

Toggle line numbers with <leader>n

  • Loading branch information...
1 parent 8723bbc commit 3bfe56914bb97634a5ccc327f01c327cb08b4827 @dbrgn committed Dec 28, 2012
Showing with 8 additions and 1 deletion.
  1. +8 −1 .vimrc
View
9 .vimrc
@@ -90,8 +90,15 @@ map <C-l> <C-w>>
" Toggle whitespace with ,s
set listchars=tab:>-,trail:·,eol:$
+nmap <silent> <leader>w :set nolist!<CR>
+
+" Toggle line numbers with ,n
+nmap <silent> <leader>n :set nonu!<CR>
+
+" Toggle paste mode with F3
set pastetoggle=<F3>
-nmap <silent> <leader>s :set nolist!<CR>
+
+" Faster up/down movement
map <C-j> 5j
map <C-k> 5k

0 comments on commit 3bfe569

Please sign in to comment.