2011-11-02 19:21:09 +00:00
|
|
|
|
Keys
|
|
|
|
|
====
|
|
|
|
|
|
|
|
|
|
This file describes the default keys of poezio and explains how to
|
|
|
|
|
configure them.
|
|
|
|
|
|
|
|
|
|
By default, most keys manipulating the input (where you type your
|
|
|
|
|
messages and commands) behave like emacs does.
|
|
|
|
|
|
2011-11-08 18:43:12 +00:00
|
|
|
|
NOTE: keys are case sensitive. Ctrl-X is not the same than Ctrl-x
|
|
|
|
|
|
2011-11-02 19:21:09 +00:00
|
|
|
|
|
|
|
|
|
Key bindings listing
|
|
|
|
|
--------------------
|
|
|
|
|
Some key bindings are available only in some tabs, others are global.
|
|
|
|
|
|
2011-11-08 18:43:12 +00:00
|
|
|
|
|
2011-11-02 19:21:09 +00:00
|
|
|
|
Global keys
|
|
|
|
|
~~~~~~~~~~~
|
|
|
|
|
These keys work in *any* tab.
|
|
|
|
|
|
|
|
|
|
*Ctrl-n*:: Go to the next tab.
|
|
|
|
|
|
|
|
|
|
*Ctrl-p*:: Go to the previous tab.
|
|
|
|
|
|
2011-11-08 18:43:12 +00:00
|
|
|
|
*Alt-number*:: Go to the tab with that number.
|
2011-11-02 19:21:09 +00:00
|
|
|
|
|
|
|
|
|
*Alt-j*:: Waits for you to type a two-digits number. Go to tab number xx.
|
|
|
|
|
|
2011-11-08 18:43:12 +00:00
|
|
|
|
*Alt-e*:: Go to the tab with a higher priority (private message >
|
|
|
|
|
highlight > message > non-empty input).
|
2011-11-08 10:26:49 +00:00
|
|
|
|
|
2011-11-08 18:43:12 +00:00
|
|
|
|
*Alt-z*:: Go to the previously selected tab.
|
2011-11-08 10:26:49 +00:00
|
|
|
|
|
2011-11-08 18:43:12 +00:00
|
|
|
|
*Alt-r*:: Go to the roster tab.
|
2011-11-08 10:26:49 +00:00
|
|
|
|
|
|
|
|
|
*F7*:: Shrink the information buffer.
|
|
|
|
|
|
|
|
|
|
*F8*:: Grow the information buffer.
|
|
|
|
|
|
|
|
|
|
*Ctrl-l*:: Refresh the screen.
|
|
|
|
|
|
2011-11-24 19:35:59 +00:00
|
|
|
|
*Alt-d*:: Scroll the information buffer up.
|
|
|
|
|
|
|
|
|
|
*Alt-c*:: Scroll the information buffer down.
|
2011-11-08 18:43:12 +00:00
|
|
|
|
|
2011-11-02 19:21:09 +00:00
|
|
|
|
Input keys
|
|
|
|
|
~~~~~~~~~~
|
|
|
|
|
These keys concern only the inputs.
|
|
|
|
|
|
2011-11-08 18:43:12 +00:00
|
|
|
|
NOTE: The clipboard is common to all inputs. This lets you cut a text
|
|
|
|
|
from one input to paste it into an other one.
|
|
|
|
|
|
2011-11-02 19:21:09 +00:00
|
|
|
|
*Ctrl-a*:: Move the cursor to the beginning of line.
|
|
|
|
|
|
|
|
|
|
*Ctrl-e*:: Move the cursor to the end of line.
|
|
|
|
|
|
2011-11-08 18:43:12 +00:00
|
|
|
|
*Ctrl-u*:: Delete the text from the start of the input until the cursor
|
|
|
|
|
and save it to the clipboard.
|
|
|
|
|
|
|
|
|
|
*Ctrl-k*:: Delete the text from the cursor until the end of the input
|
|
|
|
|
and save it to the clipboard.
|
|
|
|
|
|
|
|
|
|
*Ctrl-y*:: Insert the content of the clipboard at the cursor position.
|
|
|
|
|
|
2011-11-23 18:53:54 +00:00
|
|
|
|
*Ctrl-Enter*:: Insert a line break. Since the input is only one line,
|
|
|
|
|
the line break is represented by the character _|_ in it but will be
|
|
|
|
|
sent as the real _\n_ character.
|
|
|
|
|
|
2011-11-08 18:43:12 +00:00
|
|
|
|
|
2011-11-02 19:21:09 +00:00
|
|
|
|
Chat tab input keys
|
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~
|
2011-11-08 18:43:12 +00:00
|
|
|
|
These keys work in any conversation tab (MultiUserChat, Private or
|
|
|
|
|
Conversation tabs).
|
2011-11-02 19:21:09 +00:00
|
|
|
|
|
|
|
|
|
*Key Up*:: Use the previous message from the message history.
|
|
|
|
|
|
|
|
|
|
*Key Down*:: Use the next message from the message history.
|
|
|
|
|
|
2011-11-08 18:43:12 +00:00
|
|
|
|
*Page Up*:: Scroll up in the conversation by x lines, where x is the
|
|
|
|
|
height of the conversation window - 1.
|
2011-11-02 19:21:09 +00:00
|
|
|
|
|
2011-11-08 18:43:12 +00:00
|
|
|
|
*Page Down*:: Like Page Up, but down.
|
2011-11-02 19:21:09 +00:00
|
|
|
|
|
2012-02-15 23:04:59 +00:00
|
|
|
|
*Ctrl-b*:: Go one line up in the buffer.
|
|
|
|
|
|
|
|
|
|
*Ctrl-f*:: Go one line down in the buffer.
|
|
|
|
|
|
2012-02-19 21:29:40 +00:00
|
|
|
|
*Ctrl-s*:: Go half a screen up in the buffer.
|
2012-02-15 23:24:18 +00:00
|
|
|
|
|
|
|
|
|
*Ctrl-d*:: Go half a screen down in the buffer.
|
|
|
|
|
|
2011-11-08 18:43:12 +00:00
|
|
|
|
*Alt-/*:: Complete what you’re typing using the "recent" words from the
|
|
|
|
|
current conversation, if any.
|
2011-11-02 19:21:09 +00:00
|
|
|
|
|
2011-11-08 10:26:49 +00:00
|
|
|
|
*Alt-v*:: Move the separator at the bottom of the tab.
|
|
|
|
|
|
2011-11-08 11:45:05 +00:00
|
|
|
|
|
2011-11-08 10:26:49 +00:00
|
|
|
|
MultiUserChat tab input keys
|
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
|
|
These keys work only in the MultiUserChat tab.
|
|
|
|
|
|
|
|
|
|
*Alt-u*:: Scroll the user list down.
|
|
|
|
|
|
|
|
|
|
*Alt-y*:: Scroll the user list up.
|
|
|
|
|
|
|
|
|
|
*tabulation*:: Complete a nick.
|
|
|
|
|
|
2011-11-08 18:49:38 +00:00
|
|
|
|
*Ctrl-c*:: Insert xhtml formatting. You have to press Ctrl-c then a character
|
|
|
|
|
listed below:
|
|
|
|
|
- 1: Red
|
|
|
|
|
- 2: Green
|
|
|
|
|
- 3: Yellow/Orange
|
|
|
|
|
- 4: Blue
|
|
|
|
|
- 5: Pink
|
|
|
|
|
- 6: Turquoise
|
|
|
|
|
- b: Bold
|
|
|
|
|
- o: Stop formatting
|
|
|
|
|
|
2011-11-08 18:43:12 +00:00
|
|
|
|
|
2011-11-08 10:26:49 +00:00
|
|
|
|
MultiUserChat List tab input keys
|
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
These keys work only in the MultiUserChat List tab (obtained with /list <server>).
|
|
|
|
|
|
|
|
|
|
*Up*:: Go up one row.
|
|
|
|
|
|
|
|
|
|
*Down*:: Go down one row.
|
|
|
|
|
|
|
|
|
|
*j*:: Join the MultiUserChat currently selected.
|
|
|
|
|
|
|
|
|
|
*J*:: Join the MultiUserChat currently selected, without giving focus to iuts tab.
|
|
|
|
|
|
|
|
|
|
*Ctrl-M*:: Join the MultiUserChat currently selected (same as "j").
|
|
|
|
|
|
2011-11-08 11:45:05 +00:00
|
|
|
|
*PageUp*:: Scroll a page of chats up.
|
|
|
|
|
|
|
|
|
|
*PageDown*:: Scroll a page of messages down.
|
2011-11-08 10:26:49 +00:00
|
|
|
|
|
2011-11-08 18:43:12 +00:00
|
|
|
|
|
2011-11-08 10:26:49 +00:00
|
|
|
|
Roster tab input keys
|
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
|
|
These keys work only in the Roster tab (the tab number 0).
|
|
|
|
|
|
|
|
|
|
*/*:: Open a prompt for commands.
|
|
|
|
|
|
|
|
|
|
*s*:: Start a search on the contacts.
|
|
|
|
|
|
2011-11-08 18:43:12 +00:00
|
|
|
|
*S*:: Start a (slow) search with approximation on the contacts.
|
|
|
|
|
|
2011-11-08 10:26:49 +00:00
|
|
|
|
*Alt-u*:: Move the cursor to the next group.
|
|
|
|
|
|
|
|
|
|
*Alt-y*:: Move the cursor to the previous group.
|
|
|
|
|
|
2011-11-08 18:43:12 +00:00
|
|
|
|
*Ctrl-c*:: Cancel the input (search or command)
|
|
|
|
|
|
|
|
|
|
NOTE: The following will not work if you can still write things in the
|
|
|
|
|
input (meaning you previously typed _s_ or _/_):
|
2011-11-08 10:26:49 +00:00
|
|
|
|
|
|
|
|
|
*Space*:: Fold/Unfold the current item.
|
|
|
|
|
|
|
|
|
|
*Up*:: Move the cursor down one contact.
|
|
|
|
|
|
|
|
|
|
*Down*:: Move the cursor up one contact.
|
|
|
|
|
|
|
|
|
|
*o*:: Show the offline contacts.
|
|
|
|
|
|
2011-11-08 11:45:05 +00:00
|
|
|
|
*PageUp*:: Scroll a page of contacts up.
|
|
|
|
|
|
|
|
|
|
*PageDown*:: Scroll a page of contacts down.
|
|
|
|
|
|
|
|
|
|
|
2011-11-08 18:43:12 +00:00
|
|
|
|
Data Forms tab keys
|
|
|
|
|
~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
*Ctrl+y*:: Validate the form, send it and close the tab.
|
|
|
|
|
|
|
|
|
|
*Ctrl+g*:: Cancel that form (do not send your changes) and close the
|
|
|
|
|
tab.
|
|
|
|
|
|
|
|
|
|
*Up*:: Select the next field.
|
|
|
|
|
|
|
|
|
|
*Down*:: Select the previous field.
|
|
|
|
|
|
|
|
|
|
*Right/Left*:: Switch between possible values, in a jid-multi,
|
|
|
|
|
list-multi, list-single or text-multi field.
|
|
|
|
|
|
|
|
|
|
*Space*:: Select that option
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MultiUserChat List tab input keys
|
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
These keys work only in the MultiUserChat List tab (obtained with /list
|
|
|
|
|
<server>).
|
|
|
|
|
|
|
|
|
|
*Up*:: Go up one row.
|
|
|
|
|
|
|
|
|
|
*Down*:: Go down one row.
|
|
|
|
|
|
|
|
|
|
*j*:: Join the MultiUserChat currently selected.
|
|
|
|
|
|
|
|
|
|
*J*:: Join the MultiUserChat currently selected, without giving focus to
|
|
|
|
|
iuts tab.
|
|
|
|
|
|
|
|
|
|
*Ctrl-M*:: Join the MultiUserChat currently selected (same as _j_).
|
|
|
|
|
|
|
|
|
|
|
2012-02-25 01:58:29 +00:00
|
|
|
|
XML tab input keys
|
|
|
|
|
~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
|
|
These keys only work in the XML tab (obtained with /xml_tab)
|
|
|
|
|
|
|
|
|
|
*Ctrl+k*:: Freeze or un-freeze the display in order to have a clear view of
|
|
|
|
|
the stanzas.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-11-02 19:21:09 +00:00
|
|
|
|
Key configuration
|
|
|
|
|
-----------------
|
|
|
|
|
Bindings are keyboard shortcut aliases. You can use them
|
|
|
|
|
to define your own keys to replace the default ones.
|
2011-11-08 18:43:12 +00:00
|
|
|
|
where _^x_ means _Control + x_
|
|
|
|
|
and _M-x_ means _Alt + x_
|
2011-11-02 19:24:23 +00:00
|
|
|
|
|
|
|
|
|
To know exactly what the code of a key is, just run
|
2011-11-02 19:21:09 +00:00
|
|
|
|
==================
|
2011-11-02 19:24:23 +00:00
|
|
|
|
python3 src/keyboard.py
|
2011-11-02 19:21:09 +00:00
|
|
|
|
==================
|
2011-11-08 18:43:12 +00:00
|
|
|
|
And enter any key.
|
2011-11-02 19:21:09 +00:00
|
|
|
|
|
2011-11-02 19:24:23 +00:00
|
|
|
|
.Turn Alt-i into a tab key (completion, etc)
|
|
|
|
|
==================
|
|
|
|
|
M-i = ^I
|
|
|
|
|
==================
|
2012-05-08 17:09:26 +00:00
|
|
|
|
|
|
|
|
|
Actions
|
|
|
|
|
-------
|
|
|
|
|
|
|
|
|
|
Mapping actions on keys
|
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
|
|
One may want to add keyboard shortcuts on actions that were not mapped already
|
|
|
|
|
in poezio. To this effect, you can map the keys on actions using the _Key
|
|
|
|
|
configuration_ seen in the previous section.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The actions are pseudo-keystrokes, and have to be treated the same way.
|
|
|
|
|
They all begin with an underscore to prevent any possible collision with things
|
|
|
|
|
already defined.
|
|
|
|
|
|
|
|
|
|
Actions list
|
|
|
|
|
~~~~~~~~~~~
|
|
|
|
|
|
|
|
|
|
NOTE: Even if some of these actions are labelled as similar to other
|
|
|
|
|
keystrokes, remapping the keystrokes will not remap the actions defined here.
|
|
|
|
|
|
|
|
|
|
[horizontal]
|
2012-05-09 23:07:59 +00:00
|
|
|
|
*_bookmark*:: Bookmarks the current room.
|
|
|
|
|
|
|
|
|
|
Similar to /bookmark.
|
|
|
|
|
|
|
|
|
|
*_bookmark_local*:: Bookmarks the current room, locally.
|
|
|
|
|
|
|
|
|
|
Similar to /bookmark_local
|
|
|
|
|
|
2012-05-08 17:09:26 +00:00
|
|
|
|
*_close_tab*:: Closes the current tab.
|
|
|
|
|
|
|
|
|
|
This is the same as /close. The first tab (the roster) can not be closed.
|
|
|
|
|
|
|
|
|
|
*_disconnect*:: Disconnects poezio from the server.
|
|
|
|
|
|
|
|
|
|
*_quit*:: Exits poezio.
|
|
|
|
|
|
|
|
|
|
Similar to /quit.
|
|
|
|
|
|
|
|
|
|
*_reconnect*:: Disconnects then reconnects poezio, if possible.
|
|
|
|
|
|
|
|
|
|
This is similar to /connect.
|
|
|
|
|
|
|
|
|
|
*_redraw_screen*:: Redraws the screen.
|
|
|
|
|
|
|
|
|
|
This isn’t normally useful, similar to Ctrl-l.
|
|
|
|
|
|
|
|
|
|
*_reload_theme*:: Reloads the theme.
|
|
|
|
|
|
|
|
|
|
Similar to /theme.
|
|
|
|
|
|
2012-05-09 23:07:59 +00:00
|
|
|
|
*_remove_bookmark*:: Removes the bookmark on the current room.
|
|
|
|
|
|
|
|
|
|
Similar to /remove_bookmark.
|
|
|
|
|
|
2012-05-08 17:09:26 +00:00
|
|
|
|
*_room_left*:: Goes to the room on the left.
|
|
|
|
|
|
|
|
|
|
Similar to Ctrl-p.
|
|
|
|
|
|
|
|
|
|
*_room_right*:: Goes to the room on the right.
|
|
|
|
|
|
|
|
|
|
Similar to Ctrl-n.
|
|
|
|
|
|
|
|
|
|
*_show_roster*:: Goes to the roster.
|
|
|
|
|
|
|
|
|
|
Similar to Alt-r.
|
|
|
|
|
|
|
|
|
|
*_scroll_down*:: Scrolls down in the current buffer.
|
|
|
|
|
|
|
|
|
|
Similar to PAGEDOWN.
|
|
|
|
|
|
|
|
|
|
*_scroll_up*:: Scrolls up in the current buffer.
|
|
|
|
|
|
|
|
|
|
Similar to PAGEUP.
|
|
|
|
|
|
|
|
|
|
*_scroll_info_down*:: Scrolls down in the info buffer.
|
|
|
|
|
|
|
|
|
|
Similar to Alt-c.
|
|
|
|
|
|
|
|
|
|
*_scroll_info_up*:: Scrolls up in the info buffer.
|
|
|
|
|
|
|
|
|
|
Similar to Alt-d.
|
|
|
|
|
|
|
|
|
|
*_server_cycle*:: Cycles in the current MUC server.
|
|
|
|
|
|
|
|
|
|
Similar to /server_cycle in a MUC. If you are not in a MUC, you will get
|
|
|
|
|
an error.
|
|
|
|
|
|
|
|
|
|
*_show_bookmarks*:: Shows the current bookmarks.
|
|
|
|
|
|
|
|
|
|
Similar to /bookmarks.
|
|
|
|
|
|
|
|
|
|
*_show_important_room*:: Goes to the most important room.
|
|
|
|
|
|
|
|
|
|
Similar to Alt-e.
|
|
|
|
|
|
|
|
|
|
*_show_invitations*:: Shows all the pending MUC invitations.
|
|
|
|
|
|
|
|
|
|
Similar to /invitations.
|
|
|
|
|
|
|
|
|
|
*_show_plugins*:: Shows the currently loaded plugins.
|
|
|
|
|
|
|
|
|
|
Similar to /plugins.
|
|
|
|
|
|
|
|
|
|
*_show_xmltab*:: Opens an XML tab.
|
|
|
|
|
|
|
|
|
|
Similar to /xml_tab.
|
|
|
|
|
|
|
|
|
|
*_toggle_pane*:: Toggles the left pane.
|
|
|
|
|
|
|
|
|
|
Similar to F4.
|
|
|
|
|
|
2012-05-09 23:07:59 +00:00
|
|
|
|
Status actions
|
|
|
|
|
~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
|
|
[horizontal]
|
|
|
|
|
*_available*:: Sets the status to _available_.
|
|
|
|
|
|
|
|
|
|
Similar to /status available.
|
|
|
|
|
|
|
|
|
|
*_away*:: Sets the status to _away_.
|
|
|
|
|
|
|
|
|
|
Similar to /status away.
|
|
|
|
|
|
|
|
|
|
*_chat*:: Sets the status to _chat_.
|
|
|
|
|
|
|
|
|
|
Similar to /status chat.
|
|
|
|
|
|
|
|
|
|
*_dnd*:: Sets the status to _dnd_.
|
|
|
|
|
|
|
|
|
|
Similar to /status dnd.
|
|
|
|
|
|
|
|
|
|
*_xa*:: Sets the status to _xa_.
|
|
|
|
|
|
|
|
|
|
Similar to /status xa.
|
2012-05-08 17:09:26 +00:00
|
|
|
|
|
|
|
|
|
Example
|
|
|
|
|
~~~~~~~
|
|
|
|
|
|
|
|
|
|
.Config with user-defined actions
|
|
|
|
|
=================================
|
|
|
|
|
[source,conf]
|
|
|
|
|
-------------
|
|
|
|
|
[bindings]
|
|
|
|
|
^W = _close_tab
|
|
|
|
|
M-x = _show_xmltab
|
|
|
|
|
M-i = _show_important_room
|
|
|
|
|
M-p = _toggle_pane
|
|
|
|
|
-------------
|
|
|
|
|
=================================
|