aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-08 15:20:19 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-08 15:20:19 +1200
commit557ab6007d9eacfc271eb71aff0110e1c68c2583 (patch)
treefd7c66585de3580a0b42eefbb0dae52232fe2022
parentUnmap PHP bracket maps (diff)
downloaddotfiles-557ab6007d9eacfc271eb71aff0110e1c68c2583.tar.gz
dotfiles-557ab6007d9eacfc271eb71aff0110e1c68c2583.zip
Add \N to toggle Vim 'ruler'
-rw-r--r--vim/vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index efea641d..cd8e5b39 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -248,6 +248,8 @@ nnoremap <Bslash>m :<C-U>map<CR>
nnoremap <Bslash>M :<C-U>map <buffer><CR>
" \n toggles line numbers
nnoremap <Bslash>n :<C-U>set number! number?<CR>
+" \N toggles 'ruler'
+nnoremap <Bslash>N :<C-U>set ruler! ruler?<CR>
" \o opens a line below in paste mode
nmap <Bslash>o <Plug>PasteOpenBelow
" \o opens a line above in paste mode