| Age | Commit message (Collapse) | Author |
|
Fix #2461
|
|
Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
|
|
Close #2410
|
|
Close https://github.com/junegunn/fzf.vim/issues/1233
|
|
Fix #2367
|
|
Otherwise, the jump list will contain a (hidden) entry for the FZF buffer if `window: enew` is used.
|
|
|
|
Workaround for Neovim v0.5.0-dev
https://github.com/junegunn/fzf/issues/2352#issuecomment-782894123
|
|
Fix #2352
Fix https://github.com/junegunn/fzf.vim/issues/1216
Close #2364
|
|
Fix #2357
|
|
Fix #2352
|
|
Fix #2343
|
|
Fix https://github.com/junegunn/fzf.vim/issues/1216
|
|
Close #2287
|
|
/cc @Caid11
|
|
The clean-up is done in s:collect(), so let's make sure it's run before
we may terminate due to CTRL-C or ESC (or some other error code) in
s:exit_handler().
|
|
|
|
Fix https://github.com/junegunn/fzf.vim/issues/1176
|
|
Fix https://github.com/junegunn/fzf.vim/issues/1141
|
|
For me, this fixes invalid popup size problem on Windows GVim
|
|
|
|
The output may contain some unexpected warning messages from the shell
if it's not properly configured. While such extra messages should be
properly addressed by the user, we can ignore them by checking the
last line of the output instead of the first line.
Related: https://github.com/junegunn/fzf.vim/commit/bd3a021ec11617c56e6aa95578fee619445b029d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Instead of drawing the window border in Vim using an extra window,
extend the --border option so that we do can it natively.
Close #2223
Fix #2184
|
|
The new default is
{ 'window' : { 'width': 0.9, 'height': 0.6, 'highlight': 'Normal' } }
The default highlight group for the border of the popup window is
'Comment', but 'Normal' seems to be a safer choice.
If you prefer the previous default, add this to your Vim configuration file:
let g:fzf_layout = { 'down': '40%' }
(fzf will fall back to this if popup window is not supported)
|
|
|
|
Fix https://github.com/junegunn/fzf.vim/issues/1116
|
|
|
|
Preserve current directory in case current directory is changed by others
after the call of s:open
Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
|
|
Fix #2093
And we'll phase out height specification with `~` prefix.
|
|
Vim 8.1.2371
https://github.com/vim/vim/commit/05ad5ff0ab34ed9a5296dedd420ca81698b8ce22
Nvim 0.4.0
https://github.com/neovim/neovim/commit/9a1675b065394734ddaef91a314896028e2b1d46
|
|
Fix #2087
|
|
* No need to restore &wfw and &wfh when using popup window
Co-authored-by: lacygoill <lacygoill@lacygoill.me>
Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
|
|
Fix #2038
|
|
e.g.
if exists('$TMUX')
let g:fzf_layout = { 'tmux': '-p90%,60%' }
else
let g:fzf_layout = { 'window': { 'width': 0.9, 'height': 0.6 } }
endif
|
|
Invoking fzf from an existing Vim popup terminal is a special case.
It requires some new code to avoid E994 from being raised and the user
being stuck in a non-closable popup window.
Fix #1916
|
|
Fix #1418
e.g.
call fzf#run({'source': [1, 2, 3], 'down': '~50%', 'options': "--border --header $'1\n2'"})
|
|
https://github.com/junegunn/fzf.vim/issues/943
https://github.com/junegunn/fzf.vim/issues/959
|
|
Close #1874
|
|
|
|
|
|
e.g.
let g:fzf_layout = { 'window': { 'width': 0.4, 'height': 1, 'xoffset': 0, 'border': 'right' } }
let g:fzf_layout = { 'window': { 'width': 0.4, 'height': 1, 'xoffset': 1, 'border': 'left' } }
let g:fzf_layout = { 'window': { 'width': 1, 'height': 0.5, 'yoffset': 1, 'border': 'top' } }
let g:fzf_layout = { 'window': { 'width': 1, 'height': 0.5, 'yoffset': 0, 'border': 'bottom' } }
|
|
Revert the change introduced in #552. It seems that the startup time
difference between bash and fish is not much of an issue now.
> time bash -c 'date'
Thu Feb 13 21:15:03 KST 2020
real 0m0.008s
user 0m0.003s
sys 0m0.003s
> time fish -c 'date'
Thu Feb 13 21:15:05 KST 2020
real 0m0.014s
user 0m0.007s
sys 0m0.006s
When we explicitly *pipe* $FZF_DEFAULT_COMMAND instead of making fzf
internally start the process ($FZF_DEFAULT_COMMAND | fzf), fzf may hang
if the input process doesn't quickly process SIGPIPE and abort.
Also, fzf#vim#grep temporarily swaps $FZF_DEFAULT_COMMAND instead of
setting 'sink' so fzf can kill the default command on 'reload'.
https://github.com/junegunn/fzf.vim/issues/927
However, because of the "pipe conversion", the trick wasn't working as
expected.
https://github.com/junegunn/fzf.vim/blob/467c3277884240f7b5430f8f4d600e3415c38f3b/autoload/fzf/vim.vim#L720-L726
We can go even further and always set $FZF_DEFAULT_COMMAND instead of
piping source command.
|
|
Credits to @jiangjianshan
|