2013-01-02 07:53:49 +01:00
|
|
|
A keyboard-centric VTE-based terminal, aimed at use within a window manager
|
|
|
|
with tiling and/or tabbing support.
|
2012-05-22 09:33:36 +02:00
|
|
|
|
2013-01-07 01:11:19 +01:00
|
|
|
Termite looks for the configuration file in the following order:
|
|
|
|
``$XDG_CONFIG_HOME/termite/config``, ``~/.config/termite/config``,
|
|
|
|
``$XDG_CONFIG_DIRS/termite/config``, ``/etc/xdg/termite.cfg``.
|
2012-05-23 11:34:02 +02:00
|
|
|
|
2012-12-13 05:16:09 +01:00
|
|
|
Termite's exit status is 1 on a failure, including a termination of the child
|
|
|
|
process from an uncaught signal. Otherwise the exit status is that of the child
|
|
|
|
process.
|
|
|
|
|
2012-05-23 10:31:25 +02:00
|
|
|
DEPENDENCIES
|
|
|
|
============
|
|
|
|
|
2012-10-22 00:32:49 +02:00
|
|
|
A vte version >= ``0.34``. A patch is required to expose the functions needed
|
|
|
|
for keyboard selection.
|
2012-05-23 10:31:25 +02:00
|
|
|
|
2013-06-02 14:38:05 +02:00
|
|
|
BUILDING
|
|
|
|
========
|
2013-06-02 18:20:26 +02:00
|
|
|
::
|
2013-06-02 14:38:05 +02:00
|
|
|
|
2013-06-02 18:20:26 +02:00
|
|
|
git clone --recursive https://github.com/thestinger/termite.git
|
|
|
|
cd termite && make
|
2013-06-02 14:38:05 +02:00
|
|
|
|
2012-05-22 10:59:57 +02:00
|
|
|
KEYBINDINGS
|
|
|
|
===========
|
2012-09-08 08:36:11 +02:00
|
|
|
|
2012-09-29 13:44:07 +02:00
|
|
|
INSERT MODE
|
|
|
|
-----------
|
|
|
|
|
2012-11-16 20:55:56 +01:00
|
|
|
+----------------------+---------------------------------------------+
|
|
|
|
| ``ctrl-shift-x`` | activate url hints mode |
|
2012-11-16 20:31:31 +01:00
|
|
|
+----------------------+---------------------------------------------+
|
|
|
|
| ``ctrl-shift-r`` | 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 |
|
|
|
|
+----------------------+---------------------------------------------+
|
|
|
|
| ``ctrl-shift-t`` | open terminal in the current directory [1]_ |
|
|
|
|
+----------------------+---------------------------------------------+
|
2012-11-16 20:52:29 +01:00
|
|
|
| ``ctrl-shift-up`` | scroll up a line |
|
|
|
|
+----------------------+---------------------------------------------+
|
|
|
|
| ``ctrl-shift-down`` | scroll down a line |
|
|
|
|
+----------------------+---------------------------------------------+
|
|
|
|
| ``shift-pageup`` | scroll up a page |
|
|
|
|
+----------------------+---------------------------------------------+
|
|
|
|
| ``shift-pagedown`` | scroll down a page |
|
|
|
|
+----------------------+---------------------------------------------+
|
2012-10-22 00:32:49 +02:00
|
|
|
|
|
|
|
.. [1] The directory can be set by a process running in the terminal. For
|
|
|
|
example, with zsh:
|
|
|
|
|
|
|
|
.. code:: sh
|
|
|
|
|
|
|
|
if [[ $TERM == xterm-termite ]]; then
|
|
|
|
. /etc/profile.d/vte.sh
|
2013-06-14 22:19:34 +02:00
|
|
|
__vte_osc7
|
2012-10-22 00:32:49 +02:00
|
|
|
fi
|
2013-03-07 14:54:37 +01:00
|
|
|
::
|
|
|
|
|
|
|
|
For example, with bash:
|
|
|
|
|
|
|
|
.. code:: sh
|
|
|
|
|
|
|
|
if [[ $TERM == xterm-termite ]]; then
|
|
|
|
. /etc/profile.d/vte.sh
|
2013-06-14 22:19:34 +02:00
|
|
|
__vte_prompt_command
|
2013-03-07 14:54:37 +01:00
|
|
|
fi
|
2012-10-22 00:32:49 +02:00
|
|
|
|
2012-07-11 09:46:27 +02:00
|
|
|
COMMAND MODE
|
2012-08-24 16:59:57 +02:00
|
|
|
------------
|
2012-07-05 08:40:48 +02:00
|
|
|
|
2012-12-13 04:20:30 +01:00
|
|
|
+--------------------------+-----------------------------------------------------------+
|
2013-07-15 18:30:30 +02:00
|
|
|
| ``escape`` or ``ctrl-[`` | deactivate command mode |
|
2012-12-13 04:20:30 +01:00
|
|
|
+--------------------------+-----------------------------------------------------------+
|
|
|
|
| ``x`` | activate url hints mode |
|
|
|
|
+--------------------------+-----------------------------------------------------------+
|
|
|
|
| ``v`` | visual mode |
|
|
|
|
+--------------------------+-----------------------------------------------------------+
|
|
|
|
| ``V`` | visual line mode |
|
|
|
|
+--------------------------+-----------------------------------------------------------+
|
|
|
|
| ``ctrl-v`` | visual block mode |
|
|
|
|
+--------------------------+-----------------------------------------------------------+
|
|
|
|
| ``hjkl`` or arrow keys | move cursor left/down/up/right |
|
|
|
|
+--------------------------+-----------------------------------------------------------+
|
|
|
|
| ``w`` or ``shift-right`` | forward word |
|
|
|
|
+--------------------------+-----------------------------------------------------------+
|
|
|
|
| ``b`` or ``shift-left`` | backward word |
|
|
|
|
+--------------------------+-----------------------------------------------------------+
|
|
|
|
| ``W`` or ``ctrl-right`` | forward WORD (non-whitespace) |
|
|
|
|
+--------------------------+-----------------------------------------------------------+
|
|
|
|
| ``B`` or ``ctrl-left`` | backward WORD (non-whitespace) |
|
|
|
|
+--------------------------+-----------------------------------------------------------+
|
|
|
|
| ``0`` | move cursor to the first column in the row |
|
|
|
|
+--------------------------+-----------------------------------------------------------+
|
|
|
|
| ``^`` | beginning-of-line (first non-blank character) |
|
|
|
|
+--------------------------+-----------------------------------------------------------+
|
|
|
|
| ``$`` | end-of-line |
|
|
|
|
+--------------------------+-----------------------------------------------------------+
|
|
|
|
| ``g`` | jump to start of first row |
|
|
|
|
+--------------------------+-----------------------------------------------------------+
|
|
|
|
| ``G`` | jump to start of last row |
|
|
|
|
+--------------------------+-----------------------------------------------------------+
|
|
|
|
| ``ctrl-u`` | move cursor half a screen up |
|
|
|
|
+--------------------------+-----------------------------------------------------------+
|
|
|
|
| ``ctrl-d`` | move cursor half a screen down |
|
|
|
|
+--------------------------+-----------------------------------------------------------+
|
|
|
|
| ``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 |
|
|
|
|
+--------------------------+-----------------------------------------------------------+
|
|
|
|
| ``+`` | increase font size |
|
|
|
|
+--------------------------+-----------------------------------------------------------+
|
|
|
|
| ``-`` | decrease font size |
|
|
|
|
+--------------------------+-----------------------------------------------------------+
|
2012-07-05 08:40:48 +02:00
|
|
|
|
2012-07-11 09:46:27 +02:00
|
|
|
During scrollback search, the current selection is changed to the search match
|
|
|
|
and copied to the PRIMARY clipboard buffer.
|
|
|
|
|
2012-09-29 13:48:21 +02:00
|
|
|
With the text input widget focused, up/down (or tab/shift-tab) cycle through
|
|
|
|
completions, escape closes the widget and enter accepts the input.
|
2012-09-29 13:44:07 +02:00
|
|
|
|
2013-02-20 09:39:13 +01:00
|
|
|
In hints mode, the input will be accepted as soon as termite considers it a
|
|
|
|
unique match.
|