preview-vim
preview-vim copied to clipboard
vim bindings for macOS Preview.app via Karabiner
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
- Install Karabiner.
- Copy
preview-vim.json
to~/.config/karabiner/assets/complex_modifications
- 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