From afdc46f09a6ec9c4dd76358ca37120afd951c36c Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Wed, 20 Jan 2021 12:49:14 +0100 Subject: [PATCH] Regular :Files already shows preview, bind to Git Files; also show open buffers --- .vimrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index 82d13de..475069d 100644 --- a/.vimrc +++ b/.vimrc @@ -185,7 +185,10 @@ command! -bang -nargs=? -complete=dir FilesPreview " \t for tags, \c for (Git) commits and \f to search through contents of files nmap ; :Buffers nmap o :Files -nmap O :FilesPreview +"nmap O :FilesPreview +" Git files, takes .gitignore into account +nmap O :GFiles +nmap b :Buffers nmap t :Tags nmap c :Commits " nmap f :Find