aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-08-04 19:03:19 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-08-04 19:03:19 +1200
commit705c61a9745d39f70e63f82e9d2004875192f87c (patch)
treec3bca5e6cfdd0c8d4ee7521c4fe6c459a652a94d
parent72fd8ee3233f815f0795fb5c1f057aa8ad40a2bb (diff)
downloaddotfiles-705c61a9745d39f70e63f82e9d2004875192f87c.tar.gz
dotfiles-705c61a9745d39f70e63f82e9d2004875192f87c.zip
Correct comments on Vim maps to show mappings
The :map command does not show, for example, insert mode mappings.
-rw-r--r--vim/vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index bb0e989f..84195339 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -256,9 +256,9 @@ nnoremap <Bslash>j :<C-U>buffers<CR>:buffer<Space>
nnoremap <Bslash>k :<C-U>marks<CR>
" \l toggles showing tab, end-of-line, and trailing whitespace
nnoremap <Bslash>l :<C-U>setlocal list! list?<CR>
-" \m shows all maps
+" \m shows normal maps
nnoremap <Bslash>m :<C-U>map<CR>
-" \M shows buffer-local maps
+" \M shows buffer-local normal maps
nnoremap <Bslash>M :<C-U>map <buffer><CR>
" \n toggles line numbers
nnoremap <Bslash>n :<C-U>setlocal number! number?<CR>