From 42422738e48ba0f53cae944b2fb68d610e9089ba Mon Sep 17 00:00:00 2001 From: bretello Date: Fri, 15 Jan 2021 00:12:13 +0100 Subject: [PATCH] vim: improve CtrlP shortcuts, remove bufexplorer plug --- vim/plugs.vim | 2 -- vim/shortcuts.vim | 9 ++++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/vim/plugs.vim b/vim/plugs.vim index 517f524..8770d52 100644 --- a/vim/plugs.vim +++ b/vim/plugs.vim @@ -29,8 +29,6 @@ Plug 'https://github.com/jiangmiao/auto-pairs' Plug 'https://github.com/amix/open_file_under_cursor.vim' " Multi cursor Plug 'https://github.com/mg979/vim-visual-multi' -" Easily explore open buffers -Plug 'https://github.com/vim-scripts/bufexplorer.zip' " Search Plug 'https://github.com/mileszs/ack.vim' " Yank history diff --git a/vim/shortcuts.vim b/vim/shortcuts.vim index 7c26e46..4d34a6f 100644 --- a/vim/shortcuts.vim +++ b/vim/shortcuts.vim @@ -71,16 +71,19 @@ nmap r :ALERename map ` :ALELint map nn :NERDTreeToggle -map o :BufExplorer "" CtrlP " Quickly find and open a recently opened file " let g:ctrlp_map = '' -map :CtrlPBuffer + +map o :CtrlPBuffer map j :CtrlP map b :CtrlPBuffer map f :CtrlPMRUFiles -map t :CtrlPTag +map t :CtrlPBufTag +map T :CtrlPTag +map c :CtrlPQuickfix +map c :CtrlPQuickfix "" Indent Guides