diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-14 20:02:43 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-14 20:02:43 +1200 |
commit | e2d29e216d51588a6ad5def72bd46aecd8bf137b (patch) | |
tree | c3808a706c236b4f71f2057a50d69b16aa41400c | |
parent | Add -bar attribute to :AddLocalSpellFile command (diff) | |
download | dotfiles-e2d29e216d51588a6ad5def72bd46aecd8bf137b.tar.gz dotfiles-e2d29e216d51588a6ad5def72bd46aecd8bf137b.zip |
Add Vim leader maps for :command and :function
-rw-r--r-- | vim/vimrc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1361,6 +1361,9 @@ nnoremap <Leader>H "" Leader,k shows my marks nnoremap <Leader>k \ :<C-U>marks<CR> +"" Leader,K shows functions +nnoremap <Leader>K + \ :<C-U>function<CR> "" Leader,m shows normal maps nnoremap <Leader>m \ :<C-U>nmap<CR> @@ -1370,6 +1373,9 @@ nnoremap <Leader>M "" Leader,S shows loaded scripts nnoremap <Leader>S \ :<C-U>scriptnames<CR> +"" Leader,U shows user commands +nnoremap <Leader>U + \ :<C-U>command<CR> "" Leader,v shows all global and internal variables nnoremap <Leader>v \ :<C-U>let g: v:<CR> |