On 04/01/10 11:22, Horacio Sanson wrote:
> Is it possible to create Vim fold like keybindings to expand/collapse
threads in
> mutt?
>
> Example:
>    zo  -   expand thread under the cursor
>    zO  -   expand thread under the cursor and all subthreads recursively
>    zc  -   close thread under the cursor
>    zC  -   close thread under the cursor and all subthreads recursively
>    za  -   toggle thread under the cursor
>    zA  -   toggle thread under the cursor and all subthreads recursively
>
> Being used to vim keybindings using ESC-v is rather uncomfortable for me.
>

well, encoding issue with the ctrl-*, here is a more portable form :

bind pager \cn sidebar-next
bind index \cn sidebar-next

bind pager \cp sidebar-prev
bind index \cp sidebar-prev

bind pager \co sidebar-open
bind index \co sidebar-open

bind pager \cu sidebar-scroll-up
bind index \cu sidebar-scroll-up

bind pager \cd sidebar-scroll-down
bind index \cd sidebar-scroll-down

Reply via email to