diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-23 14:45:35 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-23 14:45:35 +1200 |
commit | ca9f35e804c2e1301eb079ad9f600242c00d65e4 (patch) | |
tree | a49db92d67bbce773f09d359a6f6ae416c57f0be /vim/vimrc | |
parent | Add vertical spacing to leader maps section (diff) | |
download | dotfiles-ca9f35e804c2e1301eb079ad9f600242c00d65e4.tar.gz dotfiles-ca9f35e804c2e1301eb079ad9f600242c00d65e4.zip |
Correct some leader map definition comments
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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) |