vim bindings for macOS Preview.app via Karabiner
Find a file
2021-01-24 11:56:43 +05:30
LICENSE Initial commit 2020-06-24 09:37:15 +05:30
preview-vim.json Make rule descriptions clearer 2021-01-24 11:56:43 +05:30
README.md Readme spacing fix 2021-01-23 18:24:22 +05:30

vim bindings for macOS Preview.app

This is a Karabiner rule that binds vim movement keys in Preview, so you can scroll using the keyboard.

Why

Zathura looks like shit.

How to use

  1. Install Karabiner.
  2. Copy preview-vim.json to ~/.config/karabiner/assets/complex_modifications
  3. Enable the rule from the complex modifications pane.

Keybindings

Movements:

  • Left => h
  • Right => l
  • Down => j
  • Up => k
  • Previous position => H
  • Next position => L
  • Previous page => K
  • Next page => J
  • First page => g
  • Last page => G

Zoom:

  • Zoom In => =
  • Zoom Out => -
  • Actual size => 0
  • Zoom to fit => 9

Contributors

Thanks to Daniel Rivas for contributing substantial functionality!

Todo

  • make more zathura-like