summaryrefslogtreecommitdiff
path: root/shell/key-bindings.fish
AgeCommit message (Collapse)Author
2020-10-12[fish] Fix parser handling of option-like args (#2208)Andrew Zhou
Fixes error when option-like args are parsed (e.g. "-1").
2020-04-03[fzf-tmux] Add option to start fzf in tmux popup windowJunegunn Choi
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%'
2020-02-28[fish] Ignore empty environment variablesJunegunn Choi
2019-07-13[fish] Remove perl from fish key bindings (#1635)ssjhv
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.
2018-06-27[fish] Use $version instead of $FISH_VERSION (#1100)Oliver Schrenk
$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.
2017-07-15[fish] Fix ctrl-r regression in versions <2.4 (#972)Tom Fitzhenry
Close #966
2017-06-25[fish] Accept starting dir for <M-c> key binding (#944)John Nguyen
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.
2017-06-25[fish] Support multiline commands (#954)Tom Fitzhenry
Fix found by @amosbird at https://github.com/junegunn/fzf/issues/953#issuecomment-310309055 closes #440
2017-06-12[fish] Fix <C-t> completion for current dir search (#946)John Nguyen
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".
2017-06-10[fish] Fix CTRL-T with paths that don't start with ./Junegunn Choi
Close #943
2017-03-03[shell] Enable sorting by default in CTRL-RJunegunn Choi
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.
2017-02-19Exclude sysfs in find commandsJunegunn Choi
2017-02-16[shell] Replace `sed` with `-mindepth 1` and `cut` (#844)Pierre Neidhardt
2017-01-26Use --bind instead of --toggle-sortJunegunn Choi
Related #822
2017-01-25[fish] Add toggle-sort back to CTRL-R (#759)Junegunn Choi
2017-01-17[shell] Do not override --reverse in CTRL-RJunegunn Choi
Close #807
2017-01-15[shell] Make layout configurable via $FZF_DEFAULT_OPTS and $FZF_{KEY}_OPTSJunegunn Choi
2017-01-08Add --height optionJunegunn Choi
2016-12-24[shell] Use '-mindepth 1' to omit root folder in 'find' output (#779)Pierre Neidhardt
This removes the need for the 'sed' call. Faster, cleaner.
2016-12-14Overhaul fish functions (#759)Pierre Neidhardt
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.
2016-11-15[shell] Fix pruning condition of find command for CTRL-T and ALT-CJunegunn Choi
`-fstype dev` is invalid. It's devfs on macOS and devtmpfs on Linux.
2016-10-11key-bindings.fish: Yank commandline in fzf-history-widgetPierre Neidhardt
2016-06-12[shell] Add $FZF_CTRL_T_OPTS and $FZF_ALT_C_OPTSJunegunn Choi
Close #596
2016-04-24[fish] Use consistent function names for key bindings (#546)Junegunn Choi
- fzf-file-widget - fzf-history-widget - fzf-cd-widget
2016-04-24[fish] Fix intermittent errors on CTRL-TJunegunn Choi
Related: 23244bb
2016-03-23Add $FZF_CTRL_R_OPTS for overriding the default options for CTRL-RJunegunn Choi
Close #526
2016-01-14[fish] Fix intermittent errors on CTRL-TJunegunn Choi
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.
2015-11-08[shell] Add FZF_ALT_C_COMMAND for ALT-C (#408)Junegunn Choi
2015-08-30fix fish streamsMichaƂ Kalbarczyk
2015-06-26[shell] Add FZF_CTRL_T_COMMAND for CTRL-TJunegunn Choi
Close #40
2015-04-26Merge pull request #171 from oschrenk/vi-insert-mode-key-bindings-fishJunegunn Choi
Support for vi insert mode in upcoming fish 2.2.0
2015-04-25Support for vi insert mode in upcoming fish 2.2.0Oliver Schrenk
2015-04-22[fish] Remove buffering delay by not using subroutinesJunegunn Choi
Close #169
2015-04-22Fix broken FZF_TMUX switch and update test cases (#203)Junegunn Choi
2015-04-22Apply fzf-tmux to key bindings (#203)Junegunn Choi
Note that CTRL-T on bash is still using the old trick of send-keys.
2015-04-16Prepare for 0.9.9 releaseJunegunn Choi
2015-03-31Implement --toggle-sort option (#173)Junegunn Choi
2015-03-13Make sure to start tmux pane from the current directory (#143)Junegunn Choi
- fzf-tmux - CTRL-T of bash/zsh/fish - fish implementation may not work if the path contains double-quote characters (FIXME)
2015-03-13Refactor shell extensionsJunegunn Choi
- 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