diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2023-10-10 18:58:22 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2023-10-11 09:42:12 +0900 |
commit | 391aa148451b6c0a5e17ec2453f35afaba046f1f (patch) | |
tree | d993649a5856240e37d9ecaec3612f241e5224c8 /CHANGELOG.md | |
parent | a0d61b4c373f6b977314f7ebe53f6236798151e9 (diff) |
Add mouse events for --bind
Close #3473
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index e2c51a4a..60a4710b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -39,6 +39,22 @@ CHANGELOG curl localhost:6266 -H "x-api-key: $FZF_API_KEY" -d 'change-query(yo)' ``` - Added `toggle-header` action +- Added mouse events for `--bind` + - `scroll-up` (bound to `up`) + - `scroll-down` (bound to `down`) + - `shift-scroll-up` (bound to `toggle+up`) + - `shift-scroll-down` (bound to `toggle+down`) + - `shift-left-click` (bound to `toggle`) + - `shift-right-click` (bound to `toggle`) + - `preview-scroll-up` (bound to `preview-up`) + - `preview-scroll-down` (bound to `preview-down`) + ```sh + # Twice faster scrolling both in the main window and the preview window + fzf --bind 'scroll-up:up+up,scroll-down:down+down' \ + --bind 'preview-scroll-up:preview-up+preview-up' \ + --bind 'preview-scroll-down:preview-down+preview-down' \ + --preview 'cat {}' + ``` - Shell extensions - bash key bindings no longer requires perl; it will use awk or mawk instead if perl is not found |