Age | Commit message (Collapse) | Author |
|
|
|
Add String() methods to types, so they can be printed with %s. Change
some %s format specifiers to %v, when the default string representation
is good enough. In Go 1.10, `go test` triggers a parallel `go vet`. So
this also makes fzf pass `go test`.
Close #1236
Close #1219
|
|
For now, they are respectively bound to preview-up and preview-down
by default (TBD).
Not available on tcell build.
Close #1201
|
|
|
|
|
|
|
|
This reverts commit 2f1edeff78e275662667abc616287e7b9909c1c0.
|
|
|
|
'accept-non-empty' is similar to 'accept' (which is bound to 'enter' and
'double-click' by default) but it prevents fzf from exiting without any
selection.
Close #1162
|
|
replace-query action replaces the query string with the current
selection. If the selection is too long, it will be truncated.
If the line contains meta-characters of fzf search syntax, it is
possible that the line is no longer included in the updated result.
e.g.
echo '!hello' | fzf --bind ctrl-v:replace-query
Close #1137
|
|
Close #1168
|
|
left-click and right-click are respectively bound to "ignore" and
"toggle" (after implicitly moving the cursor) by default.
Close #1130
|
|
In #1061 we changed the default command to retry with a simpler find
command with fewer arguments if the first find command failed. This was
to support stripped-down verions of find that do not support -fstype
argument.
However, this caused an unwanted side-effect of yielding duplicate
entries when the first command failed after producing some lines.
We revert the change in this commit, so the default command will not
work with find without -fstype support. But we now print better error
message in that case so that the user can set up a working
$FZF_DEFAULT_COMMAND.
Close #1120 #1167
|
|
|
|
|
|
|
|
Close #1018
Run the command as is in cmd.exe with no parsing and escaping.
Explicity set cmd.SysProcAttr so execCommand does not escape the command.
Technically, the command should be escaped with ^ for special characters,
including ". This allows cmd.exe commands to be chained together.
See https://github.com/neovim/neovim/pull/7343#issuecomment-333350201
This commit also updates quoteEntry to use strings.Replace instead of
strconv.Quote which escapes more than \ and ".
|
|
- Use bash for `set -o pipefail`
- Fall back to simpler find command when the original command failed
Related: #1061
|
|
Remove code that is no longer relevant after the removal of ncurses
renderer. This commit also fixes background color issue on tcell-based
FullscreenRenderer (Windows).
|
|
This fixes foreground color inside preview window when the text has ANSI
attributes except for foreground color.
Close #1046
|
|
Close #1046
|
|
|
|
|
|
Similarly to --bind or --color.
--expect used to replace the previously specified keys, and
fzf#wrap({'options': '--expect=f1'}) wouldn't work as expected. It
forced us to come up with some ugly hacks like the following:
https://github.com/junegunn/fzf.vim/blob/13b27c45c8bdf6c3a41376bb83e4895edadf8c7e/autoload/fzf/vim.vim#L1086
|
|
|
|
|
|
|
|
|
|
|
|
Calculate the first row of the score matrix during phase 2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Rework of 656963e. Makes --ansi processing around 20% faster on plain
strings without ANSI codes.
|
|
This reverts commit 656963e01805efccc788e7e2d83a4bcfaa01ee7b.
|
|
|
|
|
|
Instead of notifying the event coordinator (EventBox) whenever a new
line is arrived, start a background goroutine that periodically does the
task. Atomic.StoreInt32 is much cheaper than mutex synchronization
that happens during EventBox update.
|
|
|
|
|
|
https://github.com/junegunn/fzf/issues/444#issuecomment-321719604
|
|
|
|
When $ is the leading character in a query, it's probably not meant to
be an anchor.
|
|
|
|
https://github.com/junegunn/fzf/issues/444#issuecomment-321432803
|
|
Close #444
|
|
One can escape meta characters in extended-search mode with backslashes.
Prefixes:
\'
\!
\^
Suffix:
\$
Term separator:
\<SPACE>
To keep things simple, we are not going to support escaping of escaped
sequences (e.g. \\') for matching them literally.
Since this is a breaking change, we will bump the minor version.
Close #444
|