aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-21 09:00:29 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-21 09:00:29 +1200
commit2295c22d8d7d663b13cba2fb4267518c75fcb895 (patch)
treea4777e1e66c94cad06adbaf1cdd541c0652d61d5
parent437532a0472fe8bc73b493ef766ce437eefa7698 (diff)
downloaddotfiles-2295c22d8d7d663b13cba2fb4267518c75fcb895.tar.gz
Add the "jetpack" buffer jump binding
-rw-r--r--vim/vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 687029b2..eb4a9091 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -269,6 +269,8 @@ nnoremap \f :<C-U>set formatoptions?<CR>
nnoremap \h :<C-U>set hlsearch! hlsearch?<CR>
" \i toggles showing matches as I enter my pattern
nnoremap \i :<C-U>set incsearch! incsearch?<CR>
+" \j jumps to buffers (jetpack)
+nnoremap \j :<C-U>ls<CR>:buffer<Space>
" \l toggles showing tab, end-of-line, and trailing whitespace
nnoremap \l :<C-U>set list! list?<CR>
" \n toggles line numbers