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. Dec 12, 2019
  2. Dec 09, 2019
  3. Dec 07, 2019
  4. Dec 06, 2019
  5. Dec 05, 2019
  6. Dec 01, 2019
  7. Nov 29, 2019
  8. Nov 23, 2019
  9. Nov 21, 2019
  10. Nov 16, 2019
  11. Nov 15, 2019
  12. Nov 14, 2019
  13. Nov 13, 2019
  14. Nov 12, 2019
  15. Nov 11, 2019
  16. Nov 10, 2019
    • Junegunn Choi's avatar
    • Junegunn Choi's avatar
      Experimental implementation of "reload" action · 78da9287
      Junegunn Choi authored
        # Reload input list with different sources
        seq 10 | fzf --bind 'ctrl-a:reload(seq 100),ctrl-b:reload(seq 1000)'
      
        # Reload as you type
        seq 10 | fzf --bind 'change:reload:seq {q}' --phony
      
        # Integration with ripgrep
        RG_PREFIX="rg --column --line-number --no-heading --color=always --smart-case "
        INITIAL_QUERY=""
        FZF_DEFAULT_COMMAND="$RG_PREFIX '$INITIAL_QUERY'" \
          fzf --bind "change:reload:$RG_PREFIX {q} || true" \
              --ansi --phony --query "$INITIAL_QUERY"
      
      Close #751
      Close #965
      Close #974
      Close #1736
      Related #1723
      Unverified
      78da9287
    • Junegunn Choi's avatar
      Add --phony option for disabling search · 11962dab
      Junegunn Choi authored
      With --phony, fzf becomes a simply selector interface without its own
      search functionality. The query string is only used for building the
      command for preview or execute action.
      
      Close #1723
      Unverified
      11962dab
  17. Nov 08, 2019
  18. Nov 05, 2019
    • Alexandr's avatar
      Improvements to code quality and readability (#1737) · b4cccf23
      Alexandr authored
      * Remove 1 unused field and 3 unused functions
      
      unused elements fount by running
      golangci-lint run --disable-all --enable unused
      
      src/result.go:19:2: field `index` is unused (unused)
              index  int32
              ^
      src/tui/light.go:716:23: func `(*LightWindow).stderr` is unused (unused)
      func (w *LightWindow) stderr(str string) {
                            ^
      src/terminal.go:1015:6: func `numLinesMax` is unused (unused)
      func numLinesMax(str string, max int) int {
           ^
      src/tui/tui.go:167:20: func `ColorPair.is24` is unused (unused)
      func (p ColorPair) is24() bool {
                         ^
      
      * Address warnings from "gosimple" linter
      
      src/options.go:389:83: S1003: should use strings.Contains(str, ",,,") instead (gosimple)
              if str == "," || strings.HasPrefix(str, ",,") || strings.HasSuffix(str, ",,") || strings.Index(str, ",,,") >= 0 {
                                                                                               ^
      src/options.go:630:18: S1007: should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (gosimple)
              executeRegexp = regexp.MustCompile(
                              ^
      src/terminal.go:29:16: S1007: should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (gosimple)
              placeholder = regexp.MustCompile("\\\\?(?:{[+sf]*[0-9,-.]*}|{q}|{\\+?f?nf?})")
                            ^
      src/terminal_test.go:92:10: S1007: should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (gosimple)
              regex = regexp.MustCompile("\\w+")
                      ^
      
      * Address warnings from "staticcheck" linter
      
      src/algo/algo.go:374:2: SA4006: this value of `offset32` is never used (staticcheck)
              offset32, T := alloc32(offset32, slab, N)
              ^
      src/algo/algo.go:456:2: SA4006: this value of `offset16` is never used (staticcheck)
              offset16, C := alloc16(offset16, slab, width*M)
              ^
      src/tui/tui.go:119:2: SA9004: only the first constant in this group has an explicit type (staticcheck)
              colUndefined Color = -2
              ^
      b4cccf23
Loading