mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-09 23:30:56 +00:00
Change default --scroll-off to 3
This commit is contained in:
parent
7a97532547
commit
7e9a0fcdbd
@ -30,6 +30,7 @@ CHANGELOG
|
|||||||
fzf --bind 'space:print(space pressed)+accept'
|
fzf --bind 'space:print(space pressed)+accept'
|
||||||
```
|
```
|
||||||
- This is similar to `--expect` but it allows you to queue multiple arbitrary strings
|
- This is similar to `--expect` but it allows you to queue multiple arbitrary strings
|
||||||
|
- Changed the default `--scroll-off` to 3, as we think it's a better default
|
||||||
- [`NO_COLOR`](https://no-color.org/) environment variable is now respected. If the variable is set, fzf defaults to `--no-color` unless otherwise specified.
|
- [`NO_COLOR`](https://no-color.org/) environment variable is now respected. If the variable is set, fzf defaults to `--no-color` unless otherwise specified.
|
||||||
|
|
||||||
0.52.1
|
0.52.1
|
||||||
|
@ -174,7 +174,7 @@ the query string is empty.
|
|||||||
.TP
|
.TP
|
||||||
.BI "--scroll-off=" "LINES"
|
.BI "--scroll-off=" "LINES"
|
||||||
Number of screen lines to keep above or below when scrolling to the top or to
|
Number of screen lines to keep above or below when scrolling to the top or to
|
||||||
the bottom (default: 0).
|
the bottom (default: 3).
|
||||||
.TP
|
.TP
|
||||||
.B "--no-hscroll"
|
.B "--no-hscroll"
|
||||||
Disable horizontal scroll
|
Disable horizontal scroll
|
||||||
|
@ -534,7 +534,7 @@ func defaultOptions() *Options {
|
|||||||
KeepRight: false,
|
KeepRight: false,
|
||||||
Hscroll: true,
|
Hscroll: true,
|
||||||
HscrollOff: 10,
|
HscrollOff: 10,
|
||||||
ScrollOff: 0,
|
ScrollOff: 3,
|
||||||
FileWord: false,
|
FileWord: false,
|
||||||
InfoStyle: infoDefault,
|
InfoStyle: infoDefault,
|
||||||
Separator: nil,
|
Separator: nil,
|
||||||
|
Loading…
Reference in New Issue
Block a user