hyper-ctrl-dir-scroll

0.1.0 • Public • Published

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.

/hyper-ctrl-dir-scroll/

    Package Sidebar

    Install

    npm i hyper-ctrl-dir-scroll

    Weekly Downloads

    3

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    8.79 kB

    Total Files

    3

    Last publish

    Collaborators

    • olsonpm