summaryrefslogtreecommitdiff
path: root/plugin
AgeCommit message (Collapse)Author
2020-06-21[nvim] Fix floating window requirements (#2089)Jan Edmund Lazo
Vim 8.1.2371 https://github.com/vim/vim/commit/05ad5ff0ab34ed9a5296dedd420ca81698b8ce22 Nvim 0.4.0 https://github.com/neovim/neovim/commit/9a1675b065394734ddaef91a314896028e2b1d46
2020-06-20[vim] Make fzf#wrap support v:true and v:false as wellJunegunn Choi
Fix #2087
2020-05-17[vim] Don't set wfw, wfh, bh options when opening popup (#2042)lacygoill
* 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>
2020-05-15[vim] Don't start extra process when opening popup (#2000)ichizok
Fix #2038
2020-04-05[vim] Add 'tmux' layout option to use fzf-tmuxJunegunn Choi
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
2020-03-30[vim] Fix issue with multiple popups (#1927)lacygoill
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
2020-03-03[vim] Fix height calculationJunegunn Choi
Fix #1418 e.g. call fzf#run({'source': [1, 2, 3], 'down': '~50%', 'options': "--border --header $'1\n2'"})
2020-03-01[vim] Throw error when popup support is unavailableJunegunn Choi
https://github.com/junegunn/fzf.vim/issues/943 https://github.com/junegunn/fzf.vim/issues/959
2020-02-16[vim] Pick up fzf-tmux on $PATH when bin/fzf-tmux is not foundJunegunn Choi
Close #1874
2020-02-14[vim] Remove unnecessary statementJunegunn Choi
2020-02-14[vim] Add fzf#install() for downloading fzf binaryJunegunn Choi
2020-02-14[vim] More border stylesJunegunn Choi
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' } }
2020-02-13[vim] Do not pipe FZF_DEFAULT_COMMANDJunegunn Choi
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.
2020-02-12[vim] Use install.ps1 to download binary on WindowsJunegunn Choi
Credits to @jiangjianshan
2020-02-10[vim] Consider ambiwidth for border (#1861)Kyoichiro Yamada
Close #1856 Close #1857
2020-02-06[vim] Border style for popup window (rounded | sharp | horizontal)Junegunn Choi
2020-02-06[vim] Add support for xoffset and yoffset options for popupJunegunn Choi
Close https://github.com/junegunn/fzf.vim/issues/942
2020-02-05[vim] Set &bufhidden=hide before starting terminal bufferJunegunn Choi
2020-02-04[vim] Popup window support for both Vim and NeovimJunegunn Choi
e.g. let g:fzf_layout = { 'window': { 'width': 0.9, 'height': 0.6 } } Based on the code from https://github.com/junegunn/fzf.vim/issues/821#issuecomment-581273191 by @lacygoill.
2020-01-07[vim] Use iconv only if +iconv is enabled (#1813)Jan Edmund Lazo
2019-12-16[vim] Encode list source to codepage (#1794)Jan Edmund Lazo
2019-12-15[vim] Use cterm colors on Windows (#1793)Jan Edmund Lazo
Truecolor does not work on default Windows terminal. It is a problem in neovim GUIs. https://github.com/sainnhe/edge/issues/5#issuecomment-565748240
2019-12-15Add MSYS2 support as a vim plugin (#1677)msr1k
* Add MSYS2 support as a vim plugin Add &shellcmdflag and TERM environment variable treatment. - Make &shellcmdflag `/C` when &shell turns into `cmd.exe` - Delete %TERM% environment variable before fzf execution * Change shellescape default value depending on s:is_win flag * Make TERM environment empty only when gui is running * Stop checking &shell in fzf#shellescape function This funcion's behavior is controlled by only if it is Windows or not. So there is no need to check &shell. * Take neovim into consideration when to set shellcmdflag * Add &shellxquote control
2019-12-12[windows/vim] Encode batchfile in current codepageJunegunn Choi
Backport https://github.com/junegunn/vim-plug/pull/913
2019-11-12[nvim] Handle SIGHUP in exit handler (#1749)Marco Hinz
In recent Nvim versions, an "Error running ..." message is shown even for normal use cases, such as: :Files <c-\><c-n> :close Closing the window will :bwipeout! the terminal buffer, because fzf sets bufhiden=wipe. When deleting the terminal buffer while fzf is still running, Nvim sends SIGHUP. This happens for quite some time already, but the bug only manifests since this commit: https://github.com/neovim/neovim/commit/939d9053b It's The Right Thing to do when the application exited due to a signal. Before that commit, no "Error running ..." message was shown, because 1 (instead of 128 + 1 == SIGHUP) was returned which the exit handler in fzf.vim treats as "NO MATCH".
2019-11-02[vim/windows] Use chcp only if sed is in PATHJunegunn Choi
https://github.com/junegunn/vim-plug/pull/891
2019-10-08[vim/windows] Fix chcp parsing for the current codepageJunegunn Choi
https://github.com/junegunn/vim-plug/pull/888
2019-09-29[vim] Output of chcp was not parsed correctlyJunegunn Choi
By @gh4w and @janlazo See https://github.com/junegunn/vim-plug/commit/68b31a4a66ec945ff299db25a8a6382cd48edf14
2019-09-09[vim] Shell-escape `--color` option generated by fzf#wrapJunegunn Choi
Fix https://github.com/junegunn/fzf.vim/issues/855
2019-07-09[vim] Fix name-based colors for GVim/8.0 w/o builtin terminal (#1634)charlton1
(i.e. spawn xterm)
2019-03-28[vim] Do not restore cwd when autochdir is set and buffer changedJunegunn Choi
Close #1539
2019-03-26[vim] Increase window height by 2 when --border is setJunegunn Choi
Close #1535
2018-08-20[vim] Fix directory switching around sink functionJunegunn Choi
Close #1356 Related: - #612 - https://github.com/junegunn/fzf.vim/issues/308
2018-08-10[vim] Clear temporary window-local working directoryJunegunn Choi
Close #1085 Close #1086 Close https://github.com/junegunn/fzf.vim/issues/678
2018-05-13[vim] Use CRLF in batchfile for multibyte codepage (#1289)Jan Edmund Lazo
Close #1288
2018-04-26[vim] Ignore Vim:Interrupt when "Abort" selected on E325Junegunn Choi
Close #1268
2018-01-26[vim] Make list options compatible with layout optionsJunegunn Choi
Fix #1205
2017-12-05[vim] Fix terminal buffer cleanup on Vim 8Junegunn Choi
Close #1172
2017-12-03[vim] Remove unnecessary term_wait workaroundJunegunn Choi
The issue is fixed in https://github.com/vim/vim/commit/1232624ae5b56c167c5982a2620f736c4bbc19ef
2017-11-22[vim] Don't use :terminal on msys2 or Cygwin (#1155)Jan Edmund Lazo
Close #1152 msys2 terminal Vim assumes that it runs in mintty so `:terminal` uses `TERM=xterm`. fzf doesn't support `TERM=xterm` on Windows.
2017-09-30[neovim] Fix Neovim plugin to use terminal instead of --heightJunegunn Choi
Close #1066 Close #1068
2017-09-29[vim] Use Vim 8 terminal when appropriateJunegunn Choi
Close #1055
2017-09-07[vim] Do not pathshorten prompt in cygwin (#1043)Jan Edmund Lazo
Prevents the following case: before pathshorten - /usr/bin after pathshorten - /u/bin piped to cmd.exe - U:/bin
2017-09-07[vim] Update FZF command not set up lengthy prompt on narrow screenJunegunn Choi
Port of https://github.com/junegunn/fzf.vim/commit/e7928d154aad71e530daf5c17733275da5732680 Since :FZF does not enable preview window, we determine based on full &columns instead of &columns / 2.
2017-09-05[vim] Bind Ctrl-J in Vim terminal to fix enter keyJan Edmund Lazo
Temporary workaround for non-Windows environment Reference: https://github.com/vim/vim/issues/1998 https://github.com/junegunn/fzf/pull/1019#issuecomment-327008348
2017-09-05[vim] Use s:execute_term in WindowsJan Edmund Lazo
IMPORTANT: cmd.exe and powershell are fine in default Windows terminal. cmd.exe prompt is broken on ConEmu because it natively supports ucs-2 only. utf-16 support is exclusive to .Net (ie. powershell). utf-8 supports requires chcp, external program, but does not fix the cmd.exe prompt. Use powershell on ConEmu to avoid corrupted text on display
2017-09-05[vim] s:execute_term works in GVim on WindowsJan Edmund Lazo
Requirements: - compiled with +terminal - has patch-8.0.995 - has('gui_running') returns 1
2017-09-05[neovim] use batchfile for s:execute_term in WindowsJan Edmund Lazo
2017-09-05[neovim] Fix terminal buffer marker on WindowsMichael Smith
Original Patch: https://github.com/junegunn/fzf/commit/a9bf29b65ec36d9caa7298aad0322fba8cb3e130
2017-09-05[neovim] use terminal in Windows for v0.2.1+Jan Edmund Lazo