add yank binding to selection mode

This commit is contained in:
Daniel Micay 2012-07-11 02:06:40 -04:00
parent 605237703b
commit 3780b89749
2 changed files with 4 additions and 0 deletions

View File

@ -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
====

View File

@ -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;
}