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. 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
  2. Jul 04, 2016
  3. Jun 18, 2016
  4. 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
  5. Jun 16, 2016
  6. Jun 15, 2016
  7. Jun 14, 2016
  8. Jun 12, 2016
  9. Jun 11, 2016
  10. Jun 10, 2016
  11. Jun 08, 2016
  12. Jun 07, 2016
  13. Jun 03, 2016
  14. Jun 02, 2016
  15. Jun 01, 2016
  16. May 29, 2016
  17. May 25, 2016
  18. May 19, 2016
  19. May 18, 2016
Loading