summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-11-25Fix unit testsJunegunn Choi
2020-11-25Support ANSI code for clearing the rest of the line (ESC[0K)Junegunn Choi
Some programs use it to set the background color for the whole line. fzf --preview "printf 'normal \x1b[42mgreen\x1b[0K \x1b[43myellow\x1b[m\nnormal again'" fzf --preview 'delta <(echo foo) <(echo bar) < /dev/tty' Fix #2249
2020-11-24Fix handling of arrow keys with alt and/or shift modifierJunegunn Choi
Fix #2254 - Properly handle extra chars in the buffer. Patch suggested by @mckelly2833. - Support alt-arrow sequences in \e[1;3A format - Support shift-alt-arrow sequences in \e[1;10A format
2020-11-24Improve trim function to handle longer stringsJunegunn Choi
Fix #2258
2020-11-09Add --padding optionJunegunn Choi
Close #2241
2020-11-09Remove print statement for debuggingJunegunn Choi
2020-11-03Allow preview window height shorter than 3Junegunn Choi
Fix #2231
2020-11-03Fix regression where lines are skipped in the preview windowJunegunn Choi
Fix #2239
2020-11-03Use default bg color when fg is set to -1 with reverse attributeJunegunn Choi
2020-10-31Revert "Prefer LightRenderer on Windows if it's available"Junegunn Choi
This reverts commit 7915e365b364af4c4287e35f4697f6e3cfe33284 due to https://github.com/junegunn/fzf.vim/issues/1152#issuecomment-719696495.
2020-10-31Prefer LightRenderer on Windows if it's availableJunegunn Choi
Fix #1766
2020-10-29Fix nil error on --color=bwJunegunn Choi
Fix #2229
2020-10-27Fix error when preview command failed to startJunegunn Choi
2020-10-270.24.0-rc1Junegunn Choi
2020-10-27[vim] Download latest binary to meet version requirementJunegunn Choi
2020-10-26Add more --border optionsJunegunn Choi
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
2020-10-25Fix preview window of tcell rendererJunegunn Choi
2020-10-25Add support for text styling using --colorJunegunn Choi
Close #1663
2020-10-24Use 64-bit integer for preview versionJunegunn Choi
2020-10-23Fix regression where empty preview content is not displayedJunegunn Choi
2020-10-23Do not assume that each character takes at least 1 columnJunegunn Choi
Fixes #2163, though this is not a proper fix to the problem.
2020-10-23Support ANSI escape sequence for clearing display in preview windowJunegunn Choi
fzf --preview 'for i in $(seq 100000); do (( i % 200 == 0 )) && printf "\033[2J" echo "$i" sleep 0.01 done'
2020-10-20Always show the number of selected entries to indicate if --multi is enabledJunegunn Choi
Close #2217 seq 100 | fzf # 100/100 seq 100 | fzf --multi # 100/100 (0) seq 100 | fzf --multi 5 # 100/100 (0/5)
2020-10-18Implement streaming preview window (#2215)Junegunn Choi
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}'
2020-10-110.23.1Junegunn Choi
2020-10-11Add --preview-window=default for resetting the optionsJunegunn Choi
2020-10-09Add nowrap, nocycle, nohidden for --preview-windowJunegunn Choi
Close #2203
2020-10-09Reset preview window flags that are not style-relatedJunegunn Choi
Fix #2203
2020-10-070.23.0Junegunn Choi
2020-10-06Fix preview window size calculationJunegunn Choi
2020-10-06Allow splitting preview-window optionsJunegunn Choi
e.g. --preview-window sharp --preview-window cycle
2020-10-06Add --preview-window option for cyclic scrollingJunegunn Choi
Close #2182
2020-10-05Add preview-half-page-down and preview-half-page-up (#2145)Tinmarino
2020-09-29Always allow preview/execute commands with no placeholder expressionsJunegunn Choi
Fix #2017
2020-09-24Fix items width limit (#2190)Wenxuan
2020-09-02Add truecolor support for Windows, if available (#2156)Michael Kelley
- Update to latest tcell which has 24 bit Windows support - light renderer under Windows defaults to Dark256, if possible - Respect TCELL_TRUECOLOR - Remove tcell 1.3 references
2020-08-23Revert horizontal padding around preview window on "noborder"Junegunn Choi
Use 2-space horizontal padding so that the preview content is aligned with the candidate list when the position of the preview window is `up` or `down`.
2020-08-23Revert 1ab4289: Preview window of size 0 is allowedJunegunn Choi
2020-08-23Add more preview window options and reduce vertical padding on noborderJunegunn Choi
Fix #2138 Fix #2029
2020-08-23Support preview scroll offset relative to window heightJunegunn Choi
Related: https://github.com/junegunn/fzf.vim/issues/1092
2020-08-21Disallow preview-window size of zeroJunegunn Choi
2020-08-020.22.0Junegunn Choi
2020-08-02Ignore punctuation characters before and after preview offset columnJunegunn Choi
This is to allow line numbers in a ctags output (e.g. 123;")
2020-07-28Smart match of accented charactersJunegunn Choi
Fix #1618
2020-07-28Fix handling of unicode characters in query stringJunegunn Choi
2020-07-27Allow negative field index in preview-window scroll offsetJunegunn Choi
2020-07-27Add preview window option for setting the initial scroll offsetJunegunn Choi
Close #1057 Close #2120 # Initial scroll offset is set to the line number of each line of # git grep output *minus* 5 lines git grep --line-number '' | fzf --delimiter : --preview 'nl {1}' --preview-window +{2}-5
2020-07-05Support ANSI colors in --prompt stringJunegunn Choi
Close #2086
2020-07-03Ignore cursor position reportJunegunn Choi
Close #2081
2020-07-03Use rune characters instaed of numbers in codeJunegunn Choi