summaryrefslogtreecommitdiff
path: root/plugin
AgeCommit message (Collapse)Author
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
2021-04-28[vim] Fix screen offset of relatively positioned popup windowJunegunn Choi
Fix #2461
2021-04-17[vim] Support relative-to-window positioning of popup (#2443)Tom Picton
Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2021-04-06[vim] Compare binary versionsJunegunn Choi
Close #2410
2021-04-05[vim] Fix paste on MacVimJunegunn Choi
Close https://github.com/junegunn/fzf.vim/issues/1233
2021-03-08[vim] Vim 8.0 compatibilityJunegunn Choi
Fix #2367
2021-02-25[vim] Add keepjump to switch_back() function (#2363)Jonathan Müller
Otherwise, the jump list will contain a (hidden) entry for the FZF buffer if `window: enew` is used.
2021-02-25[vim] Remove unnecessary `border` management in nvim floating window (#2370)Hiroki Konishi
2021-02-22[vim] Force redraw by exiting and re-entering terminal modeJunegunn Choi
Workaround for Neovim v0.5.0-dev https://github.com/junegunn/fzf/issues/2352#issuecomment-782894123
2021-02-22[vim] Call feedkeys only when the destination buffer is a terminalJunegunn Choi
Fix #2352 Fix https://github.com/junegunn/fzf.vim/issues/1216 Close #2364
2021-02-17[vim] Use tnoremap only when it's availableJunegunn Choi
Fix #2357
2021-02-15[vim] Stay in terminal mode if fzf#run is called from sinkJunegunn Choi
Fix #2352
2021-02-03[vim] fzf#run should ignore empty 'dir' argumentJunegunn Choi
Fix #2343
2021-01-17[vim] Exit terminal mode before closing FZF window (#2326)Olivier Roques
Fix https://github.com/junegunn/fzf.vim/issues/1216
2020-12-16[vim] Allow closing Vim running fzf without confirmationJunegunn Choi
Close #2287
2020-11-19[vim] &termwinkey may not be availableJunegunn Choi
/cc @Caid11