diff --git a/README.rst b/README.rst index d09985e..2409dc4 100644 --- a/README.rst +++ b/README.rst @@ -43,6 +43,7 @@ TEXT SELECTION MODE * ``^``: beginning-of-line * ``g``: jump to start of first row * ``G``: jump to start of last row +* ``y``: copy to CLIPBOARD TODO ==== diff --git a/termite.c b/termite.c index 78c4181..fb4e35a 100644 --- a/termite.c +++ b/termite.c @@ -239,6 +239,9 @@ gboolean key_press_cb(VteTerminal *vte, GdkEventKey *event, search_panel_info *i case GDK_KEY_Escape: end_selection(vte, &info->select); break; + case GDK_KEY_y: + vte_terminal_copy_clipboard(vte); + break; } return TRUE; }