0.1.0 • Published 6 years ago

hyper-ctrl-dir-scroll v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

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. e.g.

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

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.