Go to file
Simon Gomizelj 21d15c0cb6 selecting a url should exit command mode 2012-09-27 12:26:16 -04:00
.gitignore Add a .gitignore 2012-06-08 15:07:11 -04:00
Makefile Makefile: update deps 2012-09-21 16:45:25 -04:00
README.rst document the existence of url hints 2012-09-18 05:37:36 -04:00
TODO.rst document the existence of url hints 2012-09-18 05:37:36 -04:00
expose_select_text.patch no longer need to set cursor visibility 2012-08-30 04:32:03 -04:00
termite.cc selecting a url should exit command mode 2012-09-27 12:26:16 -04:00
termite.cfg add pseudo-transparency support 2012-09-22 19:46:33 -04:00
termite.terminfo vte has no blink support at the moment 2012-09-02 21:04:28 -04:00
url_regex.hh url_regex.hh: rfc 2396 adds tilde to unreserved 2012-09-24 04:51:42 -04:00

README.rst

A simple VTE-based terminal.

Termite looks for ``termite.cfg`` in ``$XDG_CONFIG_HOME`` (or ``~/.config`` if
unset) and then falls back to ``$XDG_CONFIG_DIRS``.

DEPENDENCIES
============

A vte version >= 0.30. A patch is required to expose the functions needed for
keyboard selection.

KEYBINDINGS
===========

+-----------------------+--------------------------------------+
| ``ctrl-shift-escape`` | reload configuration file            |
+-----------------------+--------------------------------------+
| ``ctrl-shift-c``      | copy to CLIPBOARD                    |
+-----------------------+--------------------------------------+
| ``ctrl-shift-v``      | paste from CLIPBOARD                 |
+-----------------------+--------------------------------------+
| ``ctrl-shift-u``      | unicode input (standard GTK binding) |
+-----------------------+--------------------------------------+
| ``ctrl-tab``          | start scrollback completion          |
+-----------------------+--------------------------------------+
| ``ctrl-shift-space``  | start command mode                   |
+-----------------------+--------------------------------------+

COMMAND MODE
------------

+------------------------+-----------------------------------------------------------+
| ``escape``             | deactivate command mode                                   |
+------------------------+-----------------------------------------------------------+
| ``x``                  | activate url hint mode                                    |
+------------------------+-----------------------------------------------------------+
| ``v``                  | visual mode                                               |
+------------------------+-----------------------------------------------------------+
| ``V``                  | visual line mode                                          |
+------------------------+-----------------------------------------------------------+
| ``ctrl-v``             | visual block mode                                         |
+------------------------+-----------------------------------------------------------+
| ``hjkl`` or arrow keys | move cursor left/down/up/right                            |
+------------------------+-----------------------------------------------------------+
| ``w``/``b``            | forward/backward word                                     |
+------------------------+-----------------------------------------------------------+
| ``W``/``B``            | forward/backward WORD (non-whitespace)                    |
+------------------------+-----------------------------------------------------------+
| ``$``                  | end-of-line                                               |
+------------------------+-----------------------------------------------------------+
| ``^``                  | beginning-of-line                                         |
+------------------------+-----------------------------------------------------------+
| ``g``                  | jump to start of first row                                |
+------------------------+-----------------------------------------------------------+
| ``G``                  | jump to start of last row                                 |
+------------------------+-----------------------------------------------------------+
| ``y``                  | copy to CLIPBOARD                                         |
+------------------------+-----------------------------------------------------------+
| ``/``                  | forward search                                            |
+------------------------+-----------------------------------------------------------+
| ``?``                  | reverse search                                            |
+------------------------+-----------------------------------------------------------+
| ``u``                  | forward url search                                        |
+------------------------+-----------------------------------------------------------+
| ``U``                  | reverse url search                                        |
+------------------------+-----------------------------------------------------------+
| ``o``                  | open the current selection as a url                       |
+------------------------+-----------------------------------------------------------+
| ``Return``             | open the current selection as a url and exit command mode |
+------------------------+-----------------------------------------------------------+
| ``n``                  | next search match                                         |
+------------------------+-----------------------------------------------------------+
| ``N``                  | previous search match                                     |
+------------------------+-----------------------------------------------------------+

During scrollback search, the current selection is changed to the search match
and copied to the PRIMARY clipboard buffer.

With the scrollback search/completion widget open, up/down (or tab/shift-tab)
cycle through completions, escape closes the widget and enter accepts the
input.