From 0801e3ba937ad5da7a00ea0d84f3bd11259bf43d Mon Sep 17 00:00:00 2001 From: Von Random Date: Mon, 22 Dec 2014 18:13:59 +0300 Subject: [PATCH] hotkey for toggling list and number in vim --- vimrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vimrc b/vimrc index 726d780..6b34f62 100644 --- a/vimrc +++ b/vimrc @@ -54,6 +54,8 @@ if v:version >= 700 set list set listchars=tab:\|\ ,trail:*,nbsp:x + nnoremap l :setlocal list! + nnoremap r :setlocal number! " enable case indentation let g:sh_indent_case_labels=1