aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-16 16:36:05 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-16 16:36:05 +1200
commite9549730e15c08a5e16a184036fbf7c12b539b01 (patch)
treec9f79d05373e37b3df4446acade6b654ae2edeae /vim/vimrc
parentMap Backspace to CTRL-^ (:edit alt buffer) in Vim (diff)
downloaddotfiles-e9549730e15c08a5e16a184036fbf7c12b539b01.tar.gz
dotfiles-e9549730e15c08a5e16a184036fbf7c12b539b01.zip
Add <Leader>,o mapping to :browse :oldfiles
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index c466b8d7..e63a232b 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -1443,6 +1443,9 @@ nnoremap <Leader>E
"" Leader,j jumps to buffers ("jetpack")
nnoremap <Leader>j
\ :<C-U>buffers<CR>:buffer<Space>
+"" Leader,o opens a screenful of :browse :oldfiles, ready for a selection
+nnoremap <Leader>o
+ \ :<C-U>browse :oldfiles<CR>q
" This ground defines mappings for filtering and batch operations to clean up
" buffer text. All of these mappings use commands from my custom plugins: