aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-08-23 14:45:35 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-08-23 14:45:35 +1200
commitca9f35e804c2e1301eb079ad9f600242c00d65e4 (patch)
treea49db92d67bbce773f09d359a6f6ae416c57f0be
parentca7bc38ec1d4a9f8be4a22fb2c3404271d7d4738 (diff)
downloaddotfiles-ca9f35e804c2e1301eb079ad9f600242c00d65e4.tar.gz
dotfiles-ca9f35e804c2e1301eb079ad9f600242c00d65e4.zip
Correct some leader map definition comments
-rw-r--r--vim/vimrc8
1 files changed, 4 insertions, 4 deletions
diff --git a/vim/vimrc b/vim/vimrc
index a8af3905..e56adf72 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -274,7 +274,7 @@ nnoremap <Bslash>e :<C-U>setlocal modifiable noreadonly<CR>
" \f shows the current 'formatoptions' at a glance
nnoremap <Bslash>f :<C-U>setlocal formatoptions?<CR>
-" \F reloads filetype
+" \F reloads filetype plugins
nnoremap <Bslash>F :<C-U>doautocmd filetypedetect BufRead<CR>
" \g changes directory to the current file's location
@@ -306,12 +306,12 @@ nnoremap <Bslash>m :<C-U>map<CR>
" \M shows buffer-local normal maps
nnoremap <Bslash>M :<C-U>map <buffer><CR>
-" \n toggles line numbers
+" \n toggles line number display
nnoremap <Bslash>n :<C-U>setlocal number! number?<CR>
if exists(':xnoremap')
xnoremap <Bslash>n :<C-U>setlocal number! number?<CR>gv
endif
-" \N toggles 'ruler'
+" \N toggles position display in bottom right
nnoremap <Bslash>N :<C-U>set ruler! ruler?<CR>
if exists(':xnoremap')
xnoremap <Bslash>N :<C-U>set ruler! ruler?<CR>gv
@@ -342,7 +342,7 @@ nnoremap <Bslash>s :<C-U>setlocal spell! spell?<CR>
" \t shows current filetype
nnoremap <Bslash>t :<C-U>setlocal filetype?<CR>
-" \T clears filetype (follow with \R)
+" \T clears filetype
nnoremap <Bslash>T :<C-U>setlocal filetype=<CR>
" \u sets US English spelling (compare \z)