Christoph Wegscheider:
> Markus Moebs <markus.moebs@xxxxxx> wrote:
> > bind index \CJ sidebar-next
>
> The trival truth is that \cj is the same as <enter>, I faced the same
> problem in my irssi keybindings.
That explains why <enter> was bound to sidebar-next. Obviously
this does not apply when interactively binding \CJ.
I adopted your binding. I, too, usually prefer pressing single
keys over combos (feels too much like emacs), but I could not come
up with such a neat solution as you did. Thanks! Well, that is
what I made of it so far, if anybody cares:
macro index h "<enter-command>bind index j
sidebar-next<enter><enter-command>bind index k sidebar-prev<enter>"
macro index l "<enter-command>bind index j
next-undeleted<enter><enter-command>bind index k previous-undeleted<enter>"
macro index <space> "<enter-command>exec sidebar-open<enter><enter-command>bind
index j next-undeleted<enter><enter-command>bind index k
previous-undeleted<enter>"
I played around with "color indicator" to get some visual feedback
on where the "focus" is, but color changes take effect on the next
user interaction and since this usually is moving the indicator,
this already tells me where i am.
By the way I think muttng sucks mainly because you cannot wrap
lines in muttngrc... ;-)
Danke & Tschoe
|