aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-23 17:24:21 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-23 17:24:21 +1200
commit1d7c0df52ed221b4e09293d646fd15299ca8e935 (patch)
tree30f282ffa4541243e68cd2f8fd518295efa05c8c
parentd02a2adf133ef1958b68e31dacacb27dde5ba1fe (diff)
downloaddotfiles-1d7c0df52ed221b4e09293d646fd15299ca8e935.tar.gz
Map \H to show command :history
-rw-r--r--vim/vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 6775ca47..47422f87 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -234,6 +234,8 @@ nnoremap <Bslash>f :<C-U>setlocal formatoptions?<CR>
nnoremap <Bslash>g :<C-U>cd %:h<CR>:pwd<CR>
" \h toggles highlighting search results
nnoremap <Bslash>h :<C-U>set hlsearch! hlsearch?<CR>
+" \H shows command history
+nnoremap <Bslash>H :<C-U>history :<CR>
" \i toggles showing matches as I enter my pattern
nnoremap <Bslash>i :<C-U>set incsearch! incsearch?<CR>
" \j jumps to buffers (jetpack)