diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-16 16:55:15 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-16 16:55:15 +1200 |
commit | 810cfea9c8a86174c425220ae2c55e8919c9959e (patch) | |
tree | 2261421ebe2b2f52c1cc28d5991f39341e330176 /vim/vimrc | |
parent | Add <Leader>,o mapping to :browse :oldfiles (diff) | |
download | dotfiles-810cfea9c8a86174c425220ae2c55e8919c9959e.tar.gz dotfiles-810cfea9c8a86174c425220ae2c55e8919c9959e.zip |
Adapt :browse :oldfiles mapping into plugin
Just to avoid a hit-enter prompt by limiting it to just short of the
vertical size of the screen, with a temporary array slice of v:oldfiles.
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1445,7 +1445,7 @@ 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 + \ :<C-U>SelectOldFiles<CR> " This ground defines mappings for filtering and batch operations to clean up " buffer text. All of these mappings use commands from my custom plugins: |