Commit Graph

1866 Commits (3304f284a565bc77d8a1009d8e1770e651b95c5c)
 

Author SHA1 Message Date
Hiroki Konishi d61ac32d7b
Fix bug of validation of jump-labels (#1875)
When jump-labels are specified with `--jump-labels=` way, validation was
not carried out.
4 years ago
Junegunn Choi b57e6cff7e
[vim] Pick up fzf-tmux on $PATH when bin/fzf-tmux is not found
Close #1874
4 years ago
Junegunn Choi 5b99f19dac
[vim] Remove unnecessary statement 4 years ago
Junegunn Choi 6c03571887
[vim] Add fzf#install() for downloading fzf binary 4 years ago
Junegunn Choi 4fb410a93c
[vim] More border styles
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' } }
4 years ago
Junegunn Choi 5e1db9fdd3
[vim] Do not pipe FZF_DEFAULT_COMMAND
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.

467c327788/autoload/fzf/vim.vim (L720-L726)

We can go even further and always set $FZF_DEFAULT_COMMAND instead of
piping source command.
4 years ago
Junegunn Choi 9d7480ae3c
[vim] Use install.ps1 to download binary on Windows
Credits to @jiangjianshan
4 years ago
jiangjianshan f39cf6d855
Add install.ps1 for downloading fzf.exe on Windows (#1845) 4 years ago
Kyoichiro Yamada 001d116884 [vim] Consider ambiwidth for border (#1861)
Close #1856
Close #1857
4 years ago
Junegunn Choi 02c5e62efe
Fix documentation 4 years ago
Junegunn Choi 446df07b62
[vim] Border style for popup window (rounded | sharp | horizontal) 4 years ago
Junegunn Choi 8583b150c9
Fix inline info truncation 4 years ago
Junegunn Choi a859aa72ee
[vim] Add support for xoffset and yoffset options for popup
Close https://github.com/junegunn/fzf.vim/issues/942
4 years ago
Junegunn Choi 0896036266
[vim] Set &bufhidden=hide before starting terminal buffer 4 years ago
mattn 311b78ae82
[windows] Use native walker since output of DOS command is not UTF-8 encoded (#1847)
Makes scanning 300x faster on Windows
4 years ago
Sergey Bronnikov f5cf4fc8fb
README: OpenBSD package (#1848) 4 years ago
Junegunn Choi 7ceb58b2aa
[vim] Popup window support for both Vim and Neovim
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.
4 years ago
Junegunn Choi 293dd76af1
Update Dockerfile 4 years ago
Shun Sakai 3918c45ced Update copyright year (#1832)
Update copyright year to 2020 and change to multi-year format.
4 years ago
Junegunn Choi 4ec403347c
Update Neovim floating window example to have border 4 years ago
Junegunn Choi e01266ffcb
Period. 4 years ago
Tony Metzidis f246fb2fc2 Show error message when failed to start preview command (#1810)
Fix #1637
4 years ago
Chitoku f7b26b34cb [zsh-completion] Fix quoting/splitting issues (#1820) 4 years ago
Aaron Bieber a1bcdc225e Add pledge(2) support (OpenBSD only) via a 'protector' package. (#1297) 4 years ago
Junegunn Choi 7771241cc0
Fix F1, F2, F3, F4 on rxvt-unicode
Tested on urxvt.
Fix #1799.
4 years ago
Junegunn Choi 6e3af646b2
Draw spinner with Unicode characters 4 years ago
Jack Bates 82bf8c138d [bash] Populate emacs and vi keymaps (#1815)
Enables the right bindings when switching between editing modes.
5 years ago
Jan Edmund Lazo e21b001116 [vim] Use iconv only if +iconv is enabled (#1813) 5 years ago
Junegunn Choi 577024f1e9
Use rounded corners 5 years ago
Junegunn Choi d4ad4a25db
[bash-completion] Fix default alias/variable completion
Fix #1795
5 years ago
Junegunn Choi 30577b0c17
0.20.0 5 years ago
Junegunn Choi 212de25409
Fix incorrect header array mutation 5 years ago
Jan Edmund Lazo 5da8bbf45a [vim] Encode list source to codepage (#1794) 5 years ago
Jan Edmund Lazo aa0e10ead7 [vim] Use cterm colors on Windows (#1793)
Truecolor does not work on default Windows terminal.
It is a problem in neovim GUIs.

https://github.com/sainnhe/edge/issues/5#issuecomment-565748240
5 years ago
msr1k a9906c7c29 Add MSYS2 support as a vim plugin (#1677)
* 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
5 years ago
Junegunn Choi 9fefe08b3f
Revert README as preview-{fg,bg} are only available on master 5 years ago
Junegunn Choi 684bfff713
Update README/CHANGELOG 5 years ago
Junegunn Choi 3db6b88d82
Add preview-fg and preview-bg for --color
Close #1776
5 years ago
Junegunn Choi 8ae96774df Gutter color of 16-color theme should be undefined by default 5 years ago
Junegunn Choi f68017d21e [windows/vim] Encode batchfile in current codepage
Backport https://github.com/junegunn/vim-plug/pull/913
5 years ago
Junegunn Choi 2b725a4db5
Defer resetting multi-selection on reload 5 years ago
Junegunn Choi af1a5f130b
Add clear-query and clear-selection
Close #1787
Related #1364
5 years ago
Junegunn Choi 86e3994e87 Properly clear list when --header-lines not filled on reload 5 years ago
Junegunn Choi 1e6ac5590e 'reload' action should be allowed even where there's no match
If the command template doesn't have any placeholder expressions.

    : | fzf --bind 'space:reload:seq 10'
5 years ago
Henré Botha 5e42b1c9f8 [ssh completion] Skip only aliases matching * (#1788)
This commit fixes a bug where lines that declare multiple hostnames get
omitted from completion entirely if one of the hostnames matches *. For
example:

	Host foo.com bar.dev baz.*
5 years ago
Junegunn Choi 9d842630c9
Mention _fzf_setup_completion helper function for bash 5 years ago
David Gray 77cb906dfe
[completion] Add support for HostName lines in ~/.ssh/config (#1785)
Close #1783
5 years ago
Junegunn Choi a59e846f74
Update installation instruction
Close #1707
Close #1779
5 years ago
infokiller 6e6340a0c9 Ignore `zcompile` output files (*.zwc files) (#1775) 5 years ago
John Purnell 357e82e51b [completion] Ignore hg repos (#1777)
* Update completion.bash
* Update completion.zsh
5 years ago