From 8e32154a72d26673913d7a679d8c893ea44d682b Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 16 Jun 2019 20:45:26 +1200 Subject: Add SelectOldFiles mapping --- vim/plugin/select_old_files.vim | 2 ++ 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 SelectOldFiles + \ :SelectOldFiles diff --git a/vim/vimrc b/vim/vimrc index 9f4d68e5..7f2d9ae8 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -1470,8 +1470,7 @@ nnoremap j " ,\ to jump back to the last remembered position in that file, since " by definition viminfo remembers that mark, too. " -nnoremap o - \ :SelectOldFiles +nmap o 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: -- cgit v1.2.3