Age | Commit message (Collapse) | Author |
|
|
|
Close #1057
Close #2120
# Initial scroll offset is set to the line number of each line of
# git grep output *minus* 5 lines
git grep --line-number '' |
fzf --delimiter : --preview 'nl {1}' --preview-window +{2}-5
|
|
|
|
Fix #2010
Fix #1638
|
|
|
|
|
|
|
|
Requires latest tmux built from source (e.g. brew install tmux --HEAD)
Examples:
# 50%/50% width and height on the center of the screen
fzf-tmux -p
# 80%/80%
fzf-tmux -p80%
# 80%/40%
fzf-tmux -p80%,40%
# Separate -w and -h
fzf-tmux -w80% -h40%
# 80%/40% at position (0, 0)
fzf-tmux -w80% -h40% -x0 -y0
You can configure key bindings and fuzzy completion to open in tmux
popup window like so:
FZF_TMUX_OPTS='-p 80%'
|
|
|
|
Close #1652
|
|
Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
|
|
--border option now takes an optional argument that defines the style
- rounded (new default)
- sharp
- horizontal (previous default)
|
|
'backward-delete-char/eof' will either abort if query is
empty or delete one character backwards.
|
|
Close #1744
|
|
Add --pointer and --marker option which can provide additional context to the user
|
|
Update copyright year to 2020 and change to multi-year format.
|
|
Close #1776
|
|
Close #1787
Related #1364
|
|
Close #1699
|
|
Close #1738
|
|
Close #1752
|
|
|
|
|
|
Close ##1533
|
|
fzf --color gutter:-1
Close #1529
Close #1468
|
|
fzf will still override LINES and COLUMNS as before but they may not
hold the correct values depending on the default shell.
Close #1314
|
|
Close #1482
|
|
|
|
Close #1379
|
|
|
|
|
|
- Update preview window even if there is no match for the query string
if any of the placeholder expressions evaluates to a non-empty string.
- Also, if the command template contains {q}, preview window will be
updated if the query string changes even though the focus remains on
the same item.
An example:
git log --oneline --color=always |
fzf --reverse --ansi --preview \
'[ -n {1} ] && git show --color=always {1} || git show --color=always {q}'
Close #1307
|
|
Close #1234
|
|
|
|
|
|
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
|
|
|
|
|
|
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
|
|
|
|
Close #1003
|
|
|