diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-16 20:45:26 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-16 20:45:26 +1200 |
commit | 8e32154a72d26673913d7a679d8c893ea44d682b (patch) | |
tree | 455f7c4ff44ef58fa7224e0e60c2c37d819b263d | |
parent | Add a rough normal mode map to repeat with bang (diff) | |
download | dotfiles-8e32154a72d26673913d7a679d8c893ea44d682b.tar.gz dotfiles-8e32154a72d26673913d7a679d8c893ea44d682b.zip |
Add <Plug>SelectOldFiles mapping
-rw-r--r-- | vim/plugin/select_old_files.vim | 2 | ||||
-rw-r--r-- | vim/vimrc | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/vim/plugin/select_old_files.vim b/vim/plugin/select_old_files.vim index dbfbd64c..5d880404 100644 --- a/vim/plugin/select_old_files.vim +++ b/vim/plugin/select_old_files.vim @@ -4,3 +4,5 @@ endif let loaded_select_old_files = 1 command! -bar SelectOldFiles \ call select_old_files#() +nnoremap <Plug>SelectOldFiles + \ :<C-U>SelectOldFiles<CR> @@ -1470,8 +1470,7 @@ nnoremap <Leader>j " <Leader>,\ to jump back to the last remembered position in that file, since " by definition viminfo remembers that mark, too. " -nnoremap <Leader>o - \ :<C-U>SelectOldFiles<CR> +nmap <Leader>o <Plug>SelectOldFiles " This group defines mappings for filtering and batch operations to clean up " buffer text. All of these mappings use commands from my custom plugins: |