Skip to content

xrisk/preview-vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

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

About

vim bindings for macOS Preview.app via Karabiner

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published