aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
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 /vim/vimrc
parentRemove 'wildignore' settings (diff)
downloaddotfiles-2295c22d8d7d663b13cba2fb4267518c75fcb895.tar.gz
dotfiles-2295c22d8d7d663b13cba2fb4267518c75fcb895.zip
Add the "jetpack" buffer jump binding
Diffstat (limited to 'vim/vimrc')
-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