Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/junegunn/fzf. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
  1. Oct 11, 2016
  2. Sep 25, 2016
    • Maverick Woo's avatar
      Fix #668 · 2c8479a7
      Maverick Woo authored
      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`.
      2c8479a7
  3. Aug 29, 2016
    • Tobias Frilling's avatar
      Split default zsh binding at the correct place · 639de4c2
      Tobias Frilling authored
      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.
      639de4c2
  4. Jul 15, 2016
  5. Jul 11, 2016
  6. Jul 10, 2016
  7. Jul 09, 2016
  8. Jul 07, 2016
  9. Jul 05, 2016
    • Sebastian Reuße's avatar
      [zsh] Re-initialize zle when widgets finish · fed5e5d5
      Sebastian Reuße authored
      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
      fed5e5d5
  10. Jun 17, 2016
    • Daniel Hahler's avatar
      zsh: pass through exit code from widgets · 38a2076b
      Daniel Hahler authored
      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.
      38a2076b
  11. Jun 12, 2016
  12. Jun 08, 2016
  13. Jun 02, 2016
  14. May 29, 2016
  15. May 25, 2016
  16. Apr 25, 2016
  17. Apr 24, 2016
  18. Apr 23, 2016
    • Gene Pavlovsky's avatar
      Update key-bindings.bash · 63dbf485
      Gene Pavlovsky authored
      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.
      63dbf485
    • Gene Pavlovsky's avatar
      Update completion.bash · e2401350
      Gene Pavlovsky authored
      Fixes #548. Avoid using a subshell in _fzf_defc().
      e2401350
  19. Apr 15, 2016
    • William Chargin's avatar
      12230f80
    • William Chargin's avatar
      Fix Bash+vimode pre-launch delay · 0c8de1ca
      William Chargin authored
      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.
      0c8de1ca
  20. Apr 12, 2016
  21. Mar 23, 2016
  22. Mar 02, 2016
  23. Feb 16, 2016
  24. Feb 07, 2016
  25. Jan 29, 2016
  26. Jan 20, 2016
    • Junegunn Choi's avatar
      Make fuzzy completion customizable with _fzf_compgen_{path,dir} · 96176476
      Junegunn Choi authored
      Notes:
      - You can now override _fzf_compgen_path and _fzf_compgen_dir functions
        to use custom commands such as ag instead of find for listing
        completion candidates.
          - The first argument is the base path to start traversal
      - Removed file-only completion in bash, i.e. _fzf_file_completion.
        Maintaining a list of commands that only expect files, not
        directories, is cumbersome (there are too many) and error-prone.
      
      TBD:
      - Added $FZF_COMPLETION_DIR_COMMANDS to customize the list of commands
        which use directory-only completion. The default is "cd pushd rmdir".
        Not sure if it's the best approach to address the requirement, I'll
        leave it as an undocumented feature.
      
      Related: #406 (@thomcom), #456 (@frizinak)
      96176476
  27. Jan 14, 2016
    • Junegunn Choi's avatar
      [fish] Fix intermittent errors on CTRL-T · 23244bb4
      Junegunn Choi authored
      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.
      23244bb4
  28. Dec 29, 2015
  29. Dec 28, 2015
  30. Dec 26, 2015
  31. Dec 12, 2015
  32. Dec 11, 2015
Loading