| Age | Commit message (Collapse) | Author |
|
Fixes error when option-like args are parsed (e.g. "-1").
|
|
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%'
|
|
|
|
Perl was used to remove the trailing newline character, but fzf already
has --print0 to use null character as terminators, and fish read -z is
expecting null character as terminators. There is no reason to depend on
perl if --print0 is passed to fzf invocation.
|
|
$FISH_VERSION is dropped in 2.7, but every version has $version
- https://github.com/fish-shell/fish-shell/issues/4414
- https://github.com/fish-shell/fish-shell/commit/fb8ae04f80c3a129f789e7b718464d014508315f
Comment from @faho in #1316:
Unfortunately, $FISH_VERSION was only ever a thing from fish 2.0 to fish 2.7.1.
All fish versions from the very beginning though used a variable called simply "$version" to store their version, so that is the one that should be used.
|
|
Close #966
|
|
This also modifies <C-t> behaviour.
The longest file path in the input is used as root directory for `find`
command. The remainder of the input is passed to fzf's --query as a
initial search parameters.
|
|
Fix found by @amosbird at https://github.com/junegunn/fzf/issues/953#issuecomment-310309055
closes #440
|
|
If "." is given as the argument to begin <C-t> completion, the leading
"." is not correctly removed. In general, if user selects a fzf
completion, the current token should be "consumed".
|
|
Close #943
|
|
CTRL-R binding used to start with --no-sort to list the matched commands
in chronological order. However, it has been a constant source of
confusion. Let's enable it by default from now on. The sorted result
shouldn't be too confusing as we use --tiebreak=index.
|
|
|
|
|
|
Related #822
|
|
|
|
Close #807
|
|
|
|
|
|
This removes the need for the 'sed' call. Faster, cleaner.
|
|
Replace the "temp file" workaround with the "read" function: it's
simpler and faster.
Use proper escaping, remove the custom function.
The "file" widget uses last token as root for the "find" command.
This replaces the equivalent of '**' completion in bash/zsh.
The "$dir" non-expanded variable can be used in FZF_CTRL_T_COMMAND to
set the root.
|
|
`-fstype dev` is invalid. It's devfs on macOS and devtmpfs on Linux.
|
|
|
|
Close #596
|
|
- fzf-file-widget
- fzf-history-widget
- fzf-cd-widget
|
|
Related: 23244bb
|
|
Close #526
|
|
This seems like a bug of fish, but sometimes when you select an item
fish complains:
"insertion mode switches can not be used when not in insertion mode"
This only happens when using tmux pane. Injecting a dummy command
somehow fixes the issue.
|
|
|
|
|
|
Close #40
|
|
Support for vi insert mode in upcoming fish 2.2.0
|
|
|
|
Close #169
|
|
|
|
Note that CTRL-T on bash is still using the old trick of send-keys.
|
|
|
|
|
|
- fzf-tmux
- CTRL-T of bash/zsh/fish
- fish implementation may not work if the path contains
double-quote characters (FIXME)
|
|
- Use symlinks instead of generating the full content
- Update fish_user_paths and remove ~/.config/fish/functions/fzf.fish
- Create wrapper script for fzf when Ruby version and use it instead of
exported function not to break fzf-tmux
|