From ca9f35e804c2e1301eb079ad9f600242c00d65e4 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 23 Aug 2018 14:45:35 +1200 Subject: Correct some leader map definition comments --- vim/vimrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'vim') diff --git a/vim/vimrc b/vim/vimrc index a8af3905..e56adf72 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -274,7 +274,7 @@ nnoremap e :setlocal modifiable noreadonly " \f shows the current 'formatoptions' at a glance nnoremap f :setlocal formatoptions? -" \F reloads filetype +" \F reloads filetype plugins nnoremap F :doautocmd filetypedetect BufRead " \g changes directory to the current file's location @@ -306,12 +306,12 @@ nnoremap m :map " \M shows buffer-local normal maps nnoremap M :map -" \n toggles line numbers +" \n toggles line number display nnoremap n :setlocal number! number? if exists(':xnoremap') xnoremap n :setlocal number! number?gv endif -" \N toggles 'ruler' +" \N toggles position display in bottom right nnoremap N :set ruler! ruler? if exists(':xnoremap') xnoremap N :set ruler! ruler?gv @@ -342,7 +342,7 @@ nnoremap s :setlocal spell! spell? " \t shows current filetype nnoremap t :setlocal filetype? -" \T clears filetype (follow with \R) +" \T clears filetype nnoremap T :setlocal filetype= " \u sets US English spelling (compare \z) -- cgit v1.2.3