summaryrefslogtreecommitdiffstats
path: root/shell
AgeCommit message (Collapse)Author
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-21[zsh] Workaround trailing esacped space bug in go-shellwordsJunegunn Choi
https://github.com/mattn/go-shellwords/issues/3 Close #812
2017-01-17[shell] Do not override --reverse in CTRL-RJunegunn Choi
Close #807
2017-01-17[bash/zsh] Remove unused --reverse in CTRL-R bindingJunegunn Choi
Related #807
2017-01-15[completion] Restore --height option for kill completionJunegunn Choi
2017-01-15[shell] Make layout configurable via $FZF_DEFAULT_OPTS and $FZF_{KEY}_OPTSJunegunn Choi
2017-01-15[completion] Add preview window to kill completionJunegunn Choi
2017-01-15Replace --normalize with --literal and enable normalization by defaultJunegunn Choi
Ref #790
2017-01-14Fix $FZF_COMPLETION_OPTS evaluationJunegunn Choi
Close #799
2017-01-08Add --height optionJunegunn Choi
2017-01-07[bash/zsh-completion] Filter ~/.ssh/known_hostsJunegunn Choi
Close #791
2017-01-01[bash] Addendum fix for #580Junegunn Choi
2016-12-31[bash-completion] Always backup existing completion definitionsJunegunn Choi
_fzf_completion_loaded is no longer checked. This change increases the load time by a few milliseconds, but I can't think of a better way to handle the issue. Close #783.
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-13Use `command` to ignore shell functionNiraj Thapaliya
2016-10-13Gnu `[` evaluates both sides of a -o condition regardlessNiraj Thapaliya
It doesn't short circuit like we expect, causing trouble when $dir is empty Use shell builtin instead
2016-10-11key-bindings.fish: Yank commandline in fzf-history-widgetPierre Neidhardt
2016-09-24Fix #668Maverick Woo
Handle uppercase letters in program names. This also deals with `-` and `.`, both of which are quite common in program names, e.g., `xdg-open` and `foo.sh`.
2016-08-28Split default zsh binding at the correct placeTobias Frilling
The command substitution and following word splitting to determine the default zle widget for ^I formerly only works if the IFS parameter contains a space. Now it specifically splits at spaces, regardless of IFS.
2016-07-15[zsh-completion] setopt localoptions noksh_arraysJunegunn Choi
Close #607
2016-07-11[zsh] Suppress error message when pipefail is not supportedJunegunn Choi
Close #615
2016-07-10[bash] Fall back to send-keys if named paste buffer is not supportedJunegunn Choi
Related: #616
2016-07-09use tmux buffers for sending output to preserve character encodingSean
2016-07-07[shell] Suppress alias/function expansionJunegunn Choi
Close #611
2016-07-05[zsh] Re-initialize zle when widgets finishSebastian Reuße
zle automatically calls zle-line-init when it starts to read a new line. Many Zsh setups use this hook to set the terminal into application mode, since this will then allow defining keybinds based on the $terminfo variable (the escape codes in said variable are only valid in application mode). However, fzf resets the terminal into raw mode, rendering $terminfo values invalid once the widget has finished. Accordingly, keyboard bindings defined via $terminfo won’t work anymore. This fixes the issue by calling zle-line-init when widgets finish. Care is taken to not call this widget when it is undefined. Fixes #279
2016-06-16zsh: pass through exit code from widgetsDaniel Hahler
This allows to have a custom widget like the following, which would additionally accept the line, but only in case of entries being selected: fzf-file-widget-with-accept() { zle fzf-file-widget if [[ "$?" == 0 ]] && (( $#BUFFER )); then zle accept-line fi } zle -N fzf-file-widget-with-accept bindkey '\e^T' fzf-file-widget-with-accept With this `<C-a>t` will launch fzf, and simulate the pressing of "Enter" afterwards.
2016-06-12[shell] Add $FZF_CTRL_T_OPTS and $FZF_ALT_C_OPTSJunegunn Choi
Close #596
2016-06-11optimize fzf_default_completion bindingAleks Kamko
2016-06-08[bash/zsh] Fix $FZF_CTRL_R_OPTS with option values with spacesJunegunn Choi
2016-06-02[zsh] Fix indentationJunegunn Choi
2016-06-02[bash/zsh] Take SSH completion hints from known_hostsJim Howell
Signed-off-by: Junegunn Choi <junegunn.c@gmail.com>
2016-05-29[bash] Use backticks to avoid delay with blink-matching-parenJunegunn Choi
Close #580
2016-05-26[zsh] Fix #579 - Locally unset globsubstJunegunn Choi
2016-04-25[zsh] Fix issues with unicode charactersJunegunn Choi
2016-04-24[bash] Export fzf-file-widget function for bash 4+ (#546)Junegunn Choi
e.g. Remapping fzf-file-widget to CTRL-X CTRL-T intead of CTRL-T bind -x '"\C-x\C-t": fzf-file-widget' bind '"\C-t": transpose-chars'
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-04-23[bash] Update completion.bashJunegunn Choi
[bash] Update completion.bash
2016-04-23Update key-bindings.bashGene Pavlovsky
Faster startup. Use internal bash globbing instead of external grep binary (adapter from Gentoo's `/etc/bash/bashrc` TERM checking). Insignificant on Linux, but on Cygwin this cuts startup time by 40 ms on my Core i7 laptop.
2016-04-23Update completion.bashGene Pavlovsky
Fixes #548. Avoid using a subshell in _fzf_defc().
2016-04-14Fix bash-vimode normal-mode cd completionWilliam Chargin
2016-04-14Fix Bash+vimode pre-launch delayWilliam Chargin
Summary: Fix adapted from [@adamheins: fzf, vi-mode, and fixing delays][1]. [1]: https://adamheins.com/blog/fzf-vi-mode-and-fixing-delays The basic problem is that fzf presses <Esc> to enter vi-movement-mode (as opposed to insert mode) and then presses a bunch of keys to set up the buffer. But the <Esc> keypress is also the prefix for a bunch of other commands, so Bash will dutifully wait an excruciating half-second before actually executing this command. Instead, we bind <C-x><C-a>, which is unused by default and seems reasonably unlikely to be custom-bound, to be another way to enter vi-movement-mode; this binding is unambiguous, so fzf can use it without delay. This change was made by just `:s/\\e/\\C-x\\C-a/gc` in the relevant section, after adding the actual binding and comment at the top.
2016-04-12[zsh] Remove unnecessary evalsJunegunn Choi
2016-03-23Fix FZF_CTRL_R_OPTS for zsh (#526)Junegunn Choi
2016-03-23Add $FZF_CTRL_R_OPTS for overriding the default options for CTRL-RJunegunn Choi
Close #526
2016-03-02[bash] Fix shellcheck warningsJunegunn Choi
Close #516
2016-02-16Minor code cleanupJunegunn Choi