summaryrefslogtreecommitdiff
path: root/plugin
AgeCommit message (Collapse)Author
2025-07-19[neovim] Fix margin background color when &winborder is usedJunegunn Choi
Fix #4453
2025-07-02Update copyright yearJunegunn Choi
2025-05-14[neovim] Respect winborder of Neovim 0.11+ (#4389) jiz4oh
Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2025-03-17[vim] Use 24-bit colors on gvim even when &termguicolors is offJunegunn Choi
Close #2563
2025-01-24Option to prioritize file name matches (#4192)Junegunn Choi
* 'pathname' is a new tiebreak option for prioritizing matches occurring in the file name of the path. * `--scheme=path` will automatically set `--tiebreak=pathname,length`. * fzf will automatically choose `path` scheme when the input is a TTY device, where fzf would start its built-in walker or run `$FZF_DEFAULT_COMMAND` which is usually a command for listing files. Close #4191
2024-08-28[vim] Ignore argument to fzf#exec if it's lower than minimum requirementJunegunn Choi
2024-08-28[vim] Require fzf 0.53.0 or above (with --tmux)Junegunn Choi
Close #3980
2024-08-23[vim] Fix callback not run on exit code 1Junegunn Choi
2024-08-19[vim] Add 'exit' callbackJunegunn Choi
A spec can have `exit` callback that is called with the exit status of fzf. This can be used to clean up temporary resources or restore the original state when fzf is closed without a selection.
2024-05-28Merge branch 'master' into develJunegunn Choi
2024-05-28[vim] Do not prepend CWD to path starting with a backslash on Windows (#3820)Konstantin-Glukhov
Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2024-05-28[vim] Native --tmux fix for NeovimJunegunn Choi
2024-05-23[vim] Open cmd.exe window only on mintty < 3.4.5 without winptyJunegunn Choi
2024-05-23[vim] Git Bash Mintty: only use cmd.exe if winpty missing (#3811)Enno
* Git Bash Mintty: only use cmd.exe if winpty missing Addresses https://github.com/junegunn/fzf/issues/3809 * preferably use term in Git Bash for popup window See https://github.com/junegunn/fzf/pull/3811#issuecomment-2124241321
2024-05-23[vim] Replace backslashes with forward slashes on win32unixJunegunn Choi
2024-05-18[vim] Use native --tmux option instead of fzf-tmux when possibleJunegunn Choi
2024-05-18Add --tmux option to replace fzf-tmux scriptJunegunn Choi
2024-05-15Make :FZF work in Vim from Git Bash (#3798)Enno
* make :FZF work in Vim from Git Bash Despite its title 'Calling fzf#run with a list as source fail (n)vim is used from git bash' the issue in https://github.com/junegunn/fzf/issues/3777 of running `:FZF` in Vim in Git Bash was apparently only fixed for Neovim in Git Bash on Windows 11, but not for Vim from Git Bash. In view of this, replacing /C by ///C might be considered a universal fix. This PR just proposes the patch in https://github.com/junegunn/fzf/issues/1983 that still seems open. In view of the fourth item in the most recent 2.45.0 https://github.com/git-for-windows/build-extra/blob/main/ReleaseNotes.md#known-issues little seems to have changed regarding path conversion of arguments containing forward slashes * prefer doubling slashed instead of generic env. var If MSYS_NO_PATHCONV=1 is used, then all arguments are preserved, in particular possibly paths passed in s:command. Therefore, only avoid converting `/C` from `cmd` to a path.
2024-05-140.52.1Junegunn Choi
2024-05-07[vim] Revert 7411da8d5a37b94b2171920c82c0dafe6f9115b6Junegunn Choi
Fix #3777
2024-05-06Do not enable delayed expansion mode when running cmd.exeJunegunn Choi
And simplify the argument escaping code. Fix #3764. This may breaks some existing use cases, but the mode causes too much trouble when escaping arguments and it makes some things not possible. # Now you can pass special characters to rg process without any escaping problems: &|<>()@^%! fzf --ansi --disabled --bind "change:reload:rg --column --line-number --no-heading --color=always --smart-case -- {q}" # No sudden expansion of the arguments on '!' fzf --disabled --preview "echo {q} {n} {}" --query "&|<>()@^%!" --prompt "&|<>()@^%!"
2024-05-01[vim] Fix argument escaping for Windows batch fileJunegunn Choi
Fix #3620
2024-01-010.45.0Junegunn Choi
2023-08-26[vim] Keep jump list unaffected when calling term_startJunegunn Choi
Fix #3415
2023-06-03[vim] Only prepend --border option in $FZF_DEFAULT_OPTSJunegunn Choi
Fix #3318
2023-05-31[vim] Respect --border optin in $FZF_DEFAULT_OPTSJunegunn Choi
2023-04-21[vim] Add check for powershell 7 users (#3257)psarlov
Co-authored-by: Pavel Sarlov <psarlov@asteasolutions.com> Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2023-01-27[vim] Simplify --border injectionJunegunn Choi
Prepend the border options so that the user can override them in 'options' entry of the spec.
2023-01-27[vim] Fix missing --border when --border-label is presentJunegunn Choi
2023-01-170.36.0Junegunn Choi
2023-01-17[vim] Automatically set RUNEWIDTH_EASTASIAN=1 when &ambiwidth == doubleJunegunn Choi
2023-01-16[vim] Use system-default border styleJunegunn Choi
* 'rounded' on non-Windows platforms * 'sharp' on Windows
2022-11-08[neovim] Use Normal group colors for floating windowJunegunn Choi
Instead of NormalFloat. https://github.com/junegunn/fzf/issues/3035#issuecomment-1305094043
2022-11-05[neovim] Do not use Pmenu group colors for floating windowJunegunn Choi
In Neovim, the foreground and background colors of a floating window defaults to those of Pmenu highlight group, which yields unexpected results. This commit makes the colors of fzf window defaults to those of 'Normal' group (or 'NormalFloat' if defined), by ignoring Pmenu group. Then the colors can be configured via --color option of fzf. NOTE: An error from setwinvar call is ignored because the exact behavior of &winhighlight with an empty target group is not clearly documented. Close #3035 Close https://github.com/junegunn/fzf.vim/issues/1431 See https://github.com/neovim/neovim/pull/9722#discussion_r264777602
2022-10-31[vim] Fix version check on Windows when shellslash is setJunegunn Choi
2022-10-13[vim] Remove unnecessary powershell checkJunegunn Choi
&shell is guaranteed to be cmd.exe on windows because we call s:use_sh()
2022-10-12[vim] Fix escaping of fzf binary path containing spaces on WindowsJunegunn Choi
Fix #2992
2022-10-08[vim] Update fzf#install to handle spaces on Windows (#2993)Kyle L. Davis
2022-07-30[vim] Fix version check on windows/powershell (addendum)Junegunn Choi
Should handle powershell.exe as well Fix https://github.com/junegunn/fzf.vim/issues/1411
2022-07-29[vim] Add option to force 24 bit colors on Windows (#2889)Carl Kamholtz
2022-07-29[vim] Fix version check on windows/powershell (#2894)Carl Kamholtz
- Replace fzf#shellescape with shellescape - Prepend command with '&' in powershell to deal with quoted exe
2022-07-20[vim] fzf#exec: Shell-escape fzf binary pathJunegunn Choi
Fix #2877
2022-05-25[vim] Fix fzf#shellescape when shell=fish (#2828)Daniel Zhang
`shellescape()` behavior is different when `shell=fish`, so we should set `shell` before calling `shellescape()`, otherwise an unexpected result may occur (e.g. https://github.com/kevinhwang91/nvim-bqf/issues/56). Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2021-12-07[vim] Handle writefile() failure gracefullyJunegunn Choi
Fix #2676
2021-10-10[vim] Empty out $FZF_DEFAULT_COMMAND before unletting itJunegunn Choi
For Vim 8.0.1831 and below * https://github.com/vim/vim/issues/1116 Fix https://github.com/junegunn/fzf.vim/issues/1301
2021-09-29Do not check for --height support on --versionJunegunn Choi
https://github.com/junegunn/fzf.vim/issues/1329
2021-06-04[vim] Add 'sinklist' as a synonym to 'sink*'Junegunn Choi
So that it's easier to add a sinklist function to a spec dictionary. let spec = { 'source': source, 'options': ['--preview', preview] } function spec.sinklist(matches) echom string(a:matches) endfunction call fzf#run(fzf#wrap(spec))
2021-05-21[vim] Workaround for Neovim bug of unconditionally evaluating `unlet $ENV_VAR`Junegunn Choi
See #2495
2021-05-19[vim] Use terminal buffer on 'down' layout on regular Vim on terminalJunegunn Choi
When 'down' layout was used on regular Vim on terminal, fzf would open below the editor using `--height` option. This was the only case where terminal buffer was not used (the code was written when Vim didn't have builtin terminal) and this exception has been a constant source of confusion. This commit makes fzf open in a terminal buffer even in that case.
2021-05-19[vim] Use FZF_DEFAULT_COMMAND instead of STDIN pipeJunegunn Choi
So that fzf can finish immediately even when the input process doesn't handle SIGPIPE and keeps running. Fix #2481