Mercurial > ~mikael > mcabber > hg
diff mcabber/mcabberrc.example @ 2304:fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
If the new vi_mode option is set to 1, let MCabber's non-chat mode
accept a few commands loosely based on those available in vi(1)'s normal
mode, e.g.:
A Call "/roster unread_first".
a Call "/roster unread_next".
F Call "/roster group_prev".
f Call "/roster group_next".
G Call "/roster bottom".
gg Call "/roster top".
i Enter chat mode.
[<n>]j Call "/roster down [<n>]".
[<n>]k Call "/roster up [<n>]".
n Repeat the previous search (if any).
O Call "/roster unread_first" and open chat window.
o Call "/roster unread_next" and open chat window.
ZZ Call "/quit".
zM Call "/group fold" for all groups.
zR Call "/group unfold" for all groups.
<Space> Call "/group toggle" for the current group.
'' Call "/roster alternate".
! Toggle attention flag for current buddy.
# Toggle unread messages flag for current buddy.
/<str> Call "/roster search <str>".
:q Call "/quit".
:wq Call "/quit".
:x Call "/quit".
:<n> Jump to line <n> in the roster.
:<cmd> Call "/<cmd>" (unless <cmd> matches one of the above commands).
author | Holger Weiß <holger@zedat.fu-berlin.de> |
---|---|
date | Wed, 22 Jul 2015 19:25:22 +0200 |
parents | d3e9118c2795 |
children | 4ddd6f5c3ffc |
line wrap: on
line diff
--- a/mcabber/mcabberrc.example Mon Jan 30 18:46:15 2017 +0100 +++ b/mcabber/mcabberrc.example Wed Jul 22 19:25:22 2015 +0200 @@ -142,6 +142,10 @@ # (default: 0, unlimited). set cmdhistory_lines = 250 +# Let MCabber accept some vi(1)-like "normal mode" commands by setting the +# option 'vi_mode' to 1 (default: 0). +#set vi_mode = 1 + # You can set up a mask to filter buddies and display them according to # their status. The mask should contain the shortcut letters of the # status you want to see ([o]nline, [f]ree_for_chat, [d]o_not_disturb,