summaryrefslogtreecommitdiffstats
path: root/src/options_test.go
AgeCommit message (Collapse)Author
2023-07-16Fix deprecations of ioutil (#3370)Bart
2023-01-21Action argument in enclosed form should allow new linesJunegunn Choi
Close #3138
2022-12-23Fix bind spec parserJunegunn Choi
2022-12-21Fix parse error of actions with argumentsJunegunn Choi
2022-12-21Add --listen=HTTP_PORT option to receive actionsJunegunn Choi
Supersedes #2019 See also: * #1728 * https://github.com/junegunn/fzf.vim/pull/1044
2022-12-10Rename previous-history to prev-historyJunegunn Choi
previous-history is still supported for backward compatibility
2022-07-21Lift unicode.IsGraphic constraint for pointer, marker, and ellipsisJunegunn Choi
Use at your own risk. Close #2709 Close #2055
2022-07-21Fix delimiter regex to properly support caret (^)Junegunn Choi
Fix #2861
2021-04-06Change --preview-window delimiter from : to , for consistencyJunegunn Choi
Delimiter : was chosen when --preview-option only supported position and size attributes. e.g. up:50%
2021-03-13Advanced preview scroll offset expression to better support fixed headerJunegunn Choi
2021-02-28Check gofmt in `make test`Junegunn Choi
2020-12-31Fix alt-, for --expectJunegunn Choi
2020-12-30Extend support for alt key chordsJunegunn Choi
"alt-" with any case-sensitive character is allowed
2020-12-30Add "last" action to move the cursor to the last matchJunegunn Choi
This is the opposite of "first" (previously known as "top").
2020-10-25Add support for text styling using --colorJunegunn Choi
Close #1663
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-06Fix preview window size calculationJunegunn Choi
2020-02-17Make pointer and multi-select marker customizable (#1844)Hiroki Konishi
Add --pointer and --marker option which can provide additional context to the user
2019-11-21Allow action composition over multiple --bindJunegunn Choi
# Note + prefix in the second bind expression fzf --bind u:up --bind u:+up fzf --bind u:up+up
2019-11-21Fix parse error of --bind expressionJunegunn Choi
2018-03-13Make fzf pass go vetRyan Boehning
Add String() methods to types, so they can be printed with %s. Change some %s format specifiers to %v, when the default string representation is good enough. In Go 1.10, `go test` triggers a parallel `go vet`. So this also makes fzf pass `go test`. Close #1236 Close #1219
2017-08-27Make --expect additiveJunegunn Choi
Similarly to --bind or --color. --expect used to replace the previously specified keys, and fzf#wrap({'options': '--expect=f1'}) wouldn't work as expected. It forced us to come up with some ugly hacks like the following: https://github.com/junegunn/fzf.vim/blob/13b27c45c8bdf6c3a41376bb83e4895edadf8c7e/autoload/fzf/vim.vim#L1086
2017-07-20Avoid unconditionally storsing input as runesJunegunn Choi
When --with-nth is used, fzf used to preprocess each line and store the result as rune array, which was wasteful if the line only contains ascii characters.
2017-04-28Add support for ctrl-alt-[a-z] key chordsJunegunn Choi
Close #906
2017-01-22Composable actions in --bindJunegunn Choi
Close #816
2016-12-05Truncate long lines in preview windowJunegunn Choi
Add `:wrap` to --preview-window to wrap lines instead Close #756
2016-11-07Implement tcell-based rendererMichael Kelley
2016-11-07Prepare for termbox/windows buildJunegunn Choi
`TAGS=termbox make` (or `go build -tags termbox`)
2016-10-21Set foreground color without affecting backgroundJunegunn Choi
Close #712
2016-09-21Fix temp directory in a test caseJunegunn Choi
2016-08-14[perf] Avoid allocating rune array for ascii stringJunegunn Choi
In the best case (all ascii), this reduces the memory footprint by 60% and the response time by 15% to 20%. In the worst case (every line has non-ascii characters), 3 to 4% overhead is observed.
2016-08-12:hidden property of previous --preview-window should be clearedJunegunn Choi
Fix #636. Patch suggested by @edi9999.
2016-05-13Allow alt-enter and alt-space for --bind (#571)Junegunn Choi
2016-02-18Minor refactoringJunegunn Choi
- Slightly more efficient processing of Options - Do not return reference type arguments that are mutated inside the function - Use util.Constrain function when appropriate
2015-11-03Make --extended defaultJunegunn Choi
Close #400
2015-10-09Fix #370 - Panic when trying to set colors when colors are disabledJunegunn Choi
2015-08-11Fix --with-nth performance; use simpler regular expressionJunegunn Choi
Related #317
2015-08-10Fix --with-nth performance; avoid regex if possibleJunegunn Choi
Close #317
2015-07-16Fix #292 - Allow binding of colon and commaJunegunn Choi
2015-06-19Improve handling of key namesJunegunn Choi
Remember the exact string given as the key name so that it's possible to correctly handle synonyms and print the original string.
2015-06-15Change alternative notation for execute action (#265)Junegunn Choi
e.g. fzf --bind "ctrl-m:execute:COMMAND..." --bind ctrl-j:accept
2015-06-15Fix `.` to match newlines as well (#265)Junegunn Choi
2015-06-15Add alternative execute notation that does not require closing charJunegunn Choi
This can be used to avoid parse errors that can happen when the command contains the closing character. Since the command does not finish at a certain character, the key binding should be the last one in the group. Suggested by @tiziano88. (#265) e.g. fzf --bind "ctrl-m:execute=COMMAND..." --bind ctrl-j:accept
2015-06-15Add synonyms for some keys to be used with --bind and --toggle-sortJunegunn Choi
enter (return), space, tab, btab, esc, up, down, left, right
2015-06-14More alternative notations for execute actionJunegunn Choi
execute(...) execute[...] execute~...~ execute!...! execute@...@ execute#...# execute$...$ execute%...% execute^...^ execute&...& execute*...* execute:...: execute;...; execute/.../ execute|...|
2015-06-14Add bind action for executing arbitrary command (#265)Junegunn Choi
e.g. fzf --bind "ctrl-m:execute(less {})" fzf --bind "ctrl-t:execute[tmux new-window -d 'vim {}']"
2015-06-03Color customization (#245)Junegunn Choi
2015-05-21Custom key binding support (#238)Junegunn Choi