Skip to content

Commit 5cf792f

Browse files
committed
Add doc.
1 parent 3fe454a commit 5cf792f

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,19 @@
44
# better-scroll
55
> Improve user experience when scrolling window.
66
7+
## Usage
8+
9+
```el
10+
(define-key global-map (kbd "<prior>") #better-scroll-down)
11+
(define-key global-map (kbd "<next>") #better-scroll-up)
12+
13+
(define-key global-map (kbd "S-<prior>") #better-scroll-down-other-window)
14+
(define-key global-map (kbd "S-<next>") #better-scroll-up-other-window)
15+
```
16+
717
## Contribution
818

9-
If you would like to contribute to this project, you may either
10-
clone and make pull requests to this repository. Or you can
11-
clone the project and establish your own branch of this tool.
19+
If you would like to contribute to this project, you may either
20+
clone and make pull requests to this repository. Or you can
21+
clone the project and establish your own branch of this tool.
1222
Any methods are welcome!

0 commit comments

Comments
 (0)