1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-06 21:45:10 +01:00

Regular :Files already shows preview, bind to Git Files; also show open buffers

This commit is contained in:
2021-01-20 12:49:14 +01:00
parent 071c48f38a
commit afdc46f09a

5
.vimrc
View File

@@ -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 " \t for tags, \c for (Git) commits and \f to search through contents of files
nmap ; :Buffers<CR> nmap ; :Buffers<CR>
nmap <Leader>o :Files<CR> nmap <Leader>o :Files<CR>
nmap <Leader>O :FilesPreview<CR> "nmap <Leader>O :FilesPreview<CR>
" Git files, takes .gitignore into account
nmap <Leader>O :GFiles<CR>
nmap <Leader>b :Buffers<CR>
nmap <Leader>t :Tags<CR> nmap <Leader>t :Tags<CR>
nmap <Leader>c :Commits<CR> nmap <Leader>c :Commits<CR>
" nmap <Leader>f :Find<CR> " nmap <Leader>f :Find<CR>