vi-Style Movement Keys

If you're a heavy vi(,m) user, you may find yourself confused by applications, such as BarnOwl, which require you to leave the home row to move around. Adding these lines to your .owl/startup file will fix that and allow you to navigate normally.

# vi-style movement keybindings for the message list and the popwin
bindkey recv k command recv:prev
bindkey recv j command recv:next
bindkey recv h command recv:shiftleft
bindkey recv l command recv:shiftright
bindkey popless k command popless:scroll-up-line
bindkey popless j command popless:scroll-down-line
bindkey popless h command popless:scroll-left 10
bindkey popless l command popless:scroll-right 10
bindkey popless C-u command popless:scroll-up-page
bindkey popless C-d command popless:scroll-down-page

# rebind the default bindings of those keys
bindkey recv H command help
bindkey recv L command blist
bindkey recv J command start-command jwrite

It you want more complete vim-style behavior, add:

# vim-style behavior
bindkey recv m command recv:mark
bindkey recv ` command recv:swapmark
bindkey recv n command search
bindkey recv N command search -r

alias $ last
alias 0 first

Display a Multi-Line Zsig

Some Zephyr users set multi-line zsigs, but the default style doesn't display them properly. This keybinding pops up a window containing the full zsig.

# display the full zsig of the current message
bindkey recv s command pperl BarnOwl::getcurmsg()->zsig
Last modified 7 years ago Last modified on Jun 26, 2010, 12:24:38 AM