Commit Graph

1886 Commits (722d66e85abde02518214edd1ab186d321c0170c)
 

Author SHA1 Message Date
Junegunn Choi 722d66e85a
0.24.3 4 years ago
Junegunn Choi f6269f0193
Add --padding option
Close #2241
4 years ago
Junegunn Choi 520eae817a
Remove print statement for debugging 4 years ago
Junegunn Choi d099941360
[vim] Fix double path separator issue on Windows
Fix https://github.com/junegunn/fzf.vim/issues/1141
4 years ago
Junegunn Choi e3e76fa8c5
0.24.2 4 years ago
Junegunn Choi 2553806e79
Allow preview window height shorter than 3
Fix #2231
4 years ago
Junegunn Choi 1bcbc5a353
Fix regression where lines are skipped in the preview window
Fix #2239
4 years ago
Junegunn Choi 15d351b0f0
Use default bg color when fg is set to -1 with reverse attribute 4 years ago
Junegunn Choi c144c95cda
[vim] Set maxwidth and maxheight when creating a popup
For me, this fixes invalid popup size problem on Windows GVim
4 years ago
Junegunn Choi f08f4fd87d
[vim] Remove dead code 4 years ago
Junegunn Choi f8aaeef218
Revert "Prefer LightRenderer on Windows if it's available"
This reverts commit 7915e365b3
due to https://github.com/junegunn/fzf.vim/issues/1152#issuecomment-719696495.
4 years ago
Junegunn Choi 7915e365b3
Prefer LightRenderer on Windows if it's available
Fix #1766
4 years ago
Junegunn Choi 1c68f81c37
[vim] See the last line of "fzf --version" output
The output may contain some unexpected warning messages from the shell
if it's not properly configured. While such extra messages should be
properly addressed by the user, we can ignore them by checking the
last line of the output instead of the first line.

Related: bd3a021ec1
4 years ago
Junegunn Choi d4c9db0a27
0.24.1 4 years ago
Junegunn Choi b5e0e29ec6
Assign default number version (without patch version)
So that you can still build and use fzf even when the precise version
number is not injected via -ldflags.
4 years ago
Junegunn Choi 569be4c6c9
[vim] Allow 'border': 'no' to be consistent with --color=no 4 years ago
Junegunn Choi e7ca237b07
Fix nil error on --color=bw
Fix #2229
4 years ago
Junegunn Choi a7d3b72117
Make build flags consistent 4 years ago
Junegunn Choi 3ba7b5cf2d
Make Makefile fail when git information is not available 4 years ago
Junegunn Choi 254e9765fe
[install] Pass version number to go get command
Related: https://github.com/junegunn/fzf.vim/issues/1150#issuecomment-717735149
4 years ago
Junegunn Choi 3304f284a5
Panic when fzf was built without version information
So that the package maintainers would immediately know that the build is
incorrect. But is there a way to make build simply fail?

Related: https://github.com/junegunn/fzf.vim/issues/1150
4 years ago
Junegunn Choi 0d5f862daf
0.24.0 4 years ago
Junegunn Choi 51dfacd542
Merge branch 'devel' into master 4 years ago
Junegunn Choi c691d52fa7
Fix: barbled multibyte text(exe. Japanese). (#2224)
* Fix: barbled multibyte text(exe. Japanese).

* fixup

Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
4 years ago
Junegunn Choi de3d09fe79
fixup 4 years ago
Junegunn Choi eaa413c566
Fix error when preview command failed to start 4 years ago
nekowasabi 407205e52b
Fix: barbled multibyte text(exe. Japanese). 4 years ago
Junegunn Choi 552414978e
0.24.0-rc1 4 years ago
Junegunn Choi 607081bbaa
[vim] Download latest binary to meet version requirement 4 years ago
Junegunn Choi e73383fbbb
[vim] Add 'none' option for popup border 4 years ago
Junegunn Choi 2e8e63fb0b
Add more --border options
Instead of drawing the window border in Vim using an extra window,
extend the --border option so that we do can it natively.

Close #2223
Fix #2184
4 years ago
Junegunn Choi 874f7dd416
Update --color example in CHANGELOG
New color name: input
4 years ago
Junegunn Choi 8b0e3b1624
Update --color docs 4 years ago
Junegunn Choi 9b946f2b7a
Fix preview window of tcell renderer 4 years ago
Junegunn Choi 11841f688b
Add support for text styling using --color
Close #1663
4 years ago
Junegunn Choi 03c4f04246
Use 64-bit integer for preview version 4 years ago
Junegunn Choi a1f06ae27f
Fix regression where empty preview content is not displayed 4 years ago
Junegunn Choi 69dffd78a6
Do not assume that each character takes at least 1 column
Fixes #2163, though this is not a proper fix to the problem.
4 years ago
Junegunn Choi 2750e19657
Update go-runewidth 4 years ago
Junegunn Choi b0987f727b
Clarify that additional installation steps may be required
Close #2211
4 years ago
Junegunn Choi a4d9b0b468
Support ANSI escape sequence for clearing display in preview window
fzf --preview 'for i in $(seq 100000); do
    (( i % 200 == 0 )) && printf "\033[2J"
    echo "$i"
    sleep 0.01
  done'
4 years ago
Junegunn Choi e2b87e0d74
Fix Travis CI build 4 years ago
Junegunn Choi 2166b4ca17
Fix test cases
We were not properly waiting for truthy-ness in until blocks.

Need Minitest with 21d9e804b6
4 years ago
Junegunn Choi d2d4d68585
Always show the number of selected entries to indicate if --multi is enabled
Close #2217

  seq 100 | fzf
    # 100/100
  seq 100 | fzf --multi
    # 100/100 (0)
  seq 100 | fzf --multi 5
    # 100/100 (0/5)
4 years ago
Junegunn Choi faf68dbc5c
Implement streaming preview window (#2215)
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}'
4 years ago
Junegunn Choi 305896fcb3
README-VIM: g:fzf_action doesn't work with custom sink
Fix https://github.com/junegunn/fzf.vim/issues/1131
4 years ago
Andrew Zhou 6c9adea0d3
[fish] Fix parser handling of option-like args (#2208)
Fixes error when option-like args are parsed (e.g. "-1").
4 years ago
Junegunn Choi fc7630a66d
0.23.1 4 years ago
Junegunn Choi 3248153d9f
Add --preview-window=default for resetting the options 4 years ago
Junegunn Choi 246b9f3130
Simplify fzf-tmux script
# Should properly escape arguments
    FZF_DEFAULT_OPTS='--prompt "\$a`b\"c"' fzf-tmux --header $'$a\nb"c`d'
4 years ago