xpdfでviライクなkeybind
man xpdf すれば情報はあるわけですが.
man なんて長くて読んでられっか.ってことですよ.
~/.xpdfrcに以下を追加する.
# vi-like keybind bind h any scrollLeft(32) bind l any scrollRight(32) bind k any scrollUp(32) bind j any scrollDown(32)
括弧の中の数字(上では32)は移動量みたです.
つまり,たくさん動いてほしければ,大きくして,移動量を減らしたければ,小さくする.
ちなみに, man の記述
Previous versions of xpdf included a "viKeys" X resource. It is no longer available, but the following bindings
are equivalent:
bind h any scrollLeft(16)
bind l any scrollRight(16)
bind k any scrollUp(16)
bind j any scrollDown(16)昔は, .Xresourceに書けばよかったと.