[fzf#vim#grep / Ag / Rg / RG] Multi-line display for narrow screens (#1549)

This commit is contained in:
Junegunn Choi
2024-06-07 08:38:27 +09:00
committed by GitHub
parent 0a80e43f90
commit 279e1ec068
2 changed files with 46 additions and 5 deletions

View File

@@ -176,9 +176,21 @@ let g:fzf_vim.preview_window = []
#### Command-level options
```vim
" [Buffers] Jump to the existing window if possible
" [Buffers] Jump to the existing window if possible (default: 0)
let g:fzf_vim.buffers_jump = 1
" [Ag|Rg|RG] Display path on a separate line for narrow screens (default: 0)
" * Requires Perl and fzf 0.53.0 or later
let g:fzf_vim.grep_multi_line = 0
" PATH:LINE:COL:LINE
let g:fzf_vim.grep_multi_line = 1
" PATH:LINE:COL:
" LINE
let g:fzf_vim.grep_multi_line = 2
" PATH:LINE:COL:
" LINE
" (empty line)
" [[B]Commits] Customize the options used by 'git log':
let g:fzf_vim.commits_log_options = '--graph --color=always --format="%C(auto)%h%d %s %C(black)%C(bold)%cr"'