https://github.com/olsonpm/hyper-ctrl-dir-scroll
https://github.com/olsonpm/hyper-ctrl-dir-scroll
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/olsonpm/hyper-ctrl-dir-scroll
- Owner: olsonpm
- Created: 2018-02-23T18:35:13.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-26T05:39:19.000Z (over 8 years ago)
- Last Synced: 2025-06-20T11:16:57.268Z (12 months ago)
- Language: JavaScript
- Size: 25.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## Control Direction Scroll
Allows you to scroll by a single line using the default keys `ctrl-up` and `ctrl-down`.
You can override the keys via your [keymap settings](https://hyper.is/#keymaps). e.g.
```sh
keymaps: {
'ctrl-dir-scroll:scroll-line-up': 'ctrl+shift+up',
'ctrl-dir-scroll:scroll-line-down': 'ctrl+shift+down'
}
```
Please file a github issue with questions or bugs.
### Install
hpm install hyper-ctrl-dir-scroll
### Hack on this plugin locally
*If you're on windows and the below doesn't work for you, figure it out :P*
```sh
hub clone olsonpm/hyper-ctrl-dir-scroll
npm install --no-save
cd hyper-ctrl-dir-scroll
./build.sh
./create-symlink.sh
# add 'hyper-ctrl-dir-scroll' to your localPlugins inside ~/.hyper.js
# open hyper
```
I don't currently have a script to watch for changes and build accordingly. Feel free to add one.