Go to file
Daniel Micay 6d4f833f03 clamp cursor_row between first/last rows 2012-07-09 19:29:22 -04:00
.gitignore Add a .gitignore 2012-06-08 15:07:11 -04:00
Makefile clamp cursor_row between first/last rows 2012-07-09 19:29:22 -04:00
README.rst another README update 2012-07-08 01:08:21 -04:00
expose_select_text.patch support visual block mode 2012-07-06 22:46:00 -04:00
termite.c clamp cursor_row between first/last rows 2012-07-09 19:29:22 -04:00
termite.cfg expose option for wrapping scrollback search 2012-07-04 23:41:53 -04:00
termite.terminfo termite.terminfo: proper support for setting title 2012-06-25 23:19:58 -04:00
termite.vim add termite.vim to work around hardcoding in vim 2012-06-27 00:39:17 -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 currently 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-shift-f``: start forward search
* ``ctrl-shift-b``: start reverse search
* ``ctrl-shift-j``: start forward url search
* ``ctrl-shift-k``: start reverse url search
* ``ctrl-shift-n``: jump to next search match
* ``ctrl-shift-p``: jump to previous search match
* ``ctrl-tab``: start scrollback completion
* ``ctrl-shift-space``: start selection mode

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 cycle through
completions, escape closes the widget and enter accepts the input.

TEXT SELECTION MODE
-------------------

* ``escape``: deactivate selection mode
* ``v``: visual mode
* ``V``: visual line mode
* ``ctrl-v``: visual block mode
* ``h``/``j``/``k``/``l`` or arrow keys: move cursor left/down/up/right
* ``$``: end-of-line
* ``^``: beginning-of-line

TODO
====

* tab and shift-tab bindings for completion
* better url matching regex
* hint mode overlay for urls (like elinks/vimperator/pentadactyl)
* scrollback search needs to be improved upstream [1]_
* expose keybindings in ``termite.cfg``
* text selection needs to be extended with more bindings

.. [1] https://bugzilla.gnome.org/show_bug.cgi?id=627886