Commit Graph

1694 Commits (f7b26b34cbaf5a385bca8b6dd14eb5981e42d133)
 

Author SHA1 Message Date
Chitoku f7b26b34cb [zsh-completion] Fix quoting/splitting issues (#1820) 5 years ago
Aaron Bieber a1bcdc225e Add pledge(2) support (OpenBSD only) via a 'protector' package. (#1297) 5 years ago
Junegunn Choi 7771241cc0
Fix F1, F2, F3, F4 on rxvt-unicode
Tested on urxvt.
Fix #1799.
5 years ago
Junegunn Choi 6e3af646b2
Draw spinner with Unicode characters 5 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
Junegunn Choi 394d8cfd18
Remove immediate flickering on reload action 5 years ago
Junegunn Choi ef80bd401f
Update installation instruction using Linux package managers
Added NixOS instruction. Close #1731
5 years ago
midchildan f51d61d57a [zsh] Prevent the current directory from appearing as `~dir` in prompts (#1774)
The zsh version of the cd widget sets the variable `dir` to the path of
the target directory before invoking `cd`. This causes zsh to treat the
target directory as a named directory, which has the effect of zsh
substituting '%~' with '~dir' instead of the proper path when it
performs prompt expansion.

This commit will cause the widget to unset `dir` before redrawing the
prompt to fix this issue.

Details of zsh prompt expansion can be found in:
http://zsh.sourceforge.net/Doc/Release/Prompt-Expansion.html
5 years ago
Junegunn Choi 1dd256a68a
Update README-VIM 5 years ago
Junegunn Choi 85644aa3fb
Revamp README-VIM.md 5 years ago
Junegunn Choi effbc258bb Update CHANGELOG 5 years ago
Junegunn Choi e615600ff1 Allow action composition over multiple --bind
# Note + prefix in the second bind expression
  fzf --bind u:up --bind u:+up
  fzf --bind u:up+up
5 years ago
Junegunn Choi 60465c4664 Fix parse error of --bind expression 5 years ago
Jan Edmund Lazo c03c058bd5 [install] Support busybox uname on Windows (#1758) 5 years ago
Junegunn Choi 7238c8944d
Update CHANGELOG 5 years ago
Junegunn Choi 9a41fd5327
0.19.0 5 years ago
Junegunn Choi b471042037
Merge branch 'devel' 5 years ago
Junegunn Choi 2886f06977
Fix --preview-window noborder with non-default background color 5 years ago
Junegunn Choi d630484eeb
Update error message for --preview-window 5 years ago
Junegunn Choi e24299239e
Add `--preview-window noborder` option to disable preview border
Close #1699
5 years ago
Junegunn Choi d2fa470165
Add --info=STYLE [default|inline|hidden]
Close #1738
5 years ago
Junegunn Choi 168453da71
More key chords for --bind
Close #1752
5 years ago
Junegunn Choi 23a06d63ac
Update CHANGELOG and man pages 5 years ago
Junegunn Choi 751aa1944a
Remove trailing whitespaces when using --with-nth 5 years ago
Junegunn Choi 05b5f3f845
'reload' action should reset multi-selection 5 years ago
Marco Hinz 16fc6862a8 [nvim] Handle SIGHUP in exit handler (#1749)
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".
5 years ago
Junegunn Choi 7e1c0f39e7
'reload' action should reset --header-lines 5 years ago