1. 20 Oct, 2020 1 commit
  2. 18 Oct, 2020 2 commits
    • Junegunn Choi's avatar
      Implement streaming preview window (#2215) · faf68dbc
      Junegunn Choi authored
      Fix #2212
      
          # Will start rendering after 200ms, update every 100ms
          fzf --preview 'for i in $(seq 100); do echo $i; sleep 0.01; done'
      
          # Should print "Loading .." message after 500ms
          fzf --preview 'sleep 1; for i in $(seq 100); do echo $i; sleep 0.01; done'
      
          # The first line should appear after 200ms
          fzf --preview 'date; sleep 2; date'
      
          # Should not render before enough lines for the scroll offset are ready
          rg --line-number --no-heading --color=always ^ |
            fzf --delimiter : --ansi --preview-window '+{2}-/2' \
                --preview 'sleep 1; bat --style=numbers --color=always --pager=never --highlight-line={2} {1}'
      faf68dbc
    • Junegunn Choi's avatar
  3. 12 Oct, 2020 1 commit
  4. 10 Oct, 2020 2 commits
  5. 09 Oct, 2020 3 commits
  6. 07 Oct, 2020 1 commit
  7. 06 Oct, 2020 4 commits
  8. 05 Oct, 2020 2 commits
  9. 03 Oct, 2020 1 commit
    • Junegunn Choi's avatar
      [zsh] Keep current $BUFFER on ALT-C · 9dfca77c
      Junegunn Choi authored
      Ideally, we could only use `print -sr` to update the command history.
      However, the "cd" command by ALT-C is added to the history only after we
      finalize the current command by pressing an additional enter key.
      
      i.e. The cd command from ALT-C is not visible when you hit Up arrow. But
      it appears once you hit enter key.
      
      So when the current buffer is empty, we use `zle accept-line` so that
      the command history is immediately updated.
      
      Close #2200
      9dfca77c
  10. 02 Oct, 2020 1 commit
  11. 29 Sep, 2020 2 commits
  12. 24 Sep, 2020 1 commit
  13. 12 Sep, 2020 1 commit
    • Junegunn Choi's avatar
      [vim] Change the default layout to use popup window · c60ed175
      Junegunn Choi authored
      The new default is
      
        { 'window' : { 'width': 0.9, 'height': 0.6, 'highlight': 'Normal' } }
      
      The default highlight group for the border of the popup window is
      'Comment', but 'Normal' seems to be a safer choice.
      
      If you prefer the previous default, add this to your Vim configuration file:
      
        let g:fzf_layout = { 'down': '40%' }
      
      (fzf will fall back to this if popup window is not supported)
      c60ed175
  14. 08 Sep, 2020 2 commits
  15. 06 Sep, 2020 1 commit
  16. 02 Sep, 2020 2 commits
  17. 23 Aug, 2020 4 commits
  18. 21 Aug, 2020 1 commit
  19. 02 Aug, 2020 2 commits
  20. 28 Jul, 2020 2 commits
  21. 27 Jul, 2020 1 commit
  22. 26 Jul, 2020 3 commits