add yank binding to selection mode
This commit is contained in:
parent
605237703b
commit
3780b89749
|
@ -43,6 +43,7 @@ TEXT SELECTION MODE
|
||||||
* ``^``: beginning-of-line
|
* ``^``: beginning-of-line
|
||||||
* ``g``: jump to start of first row
|
* ``g``: jump to start of first row
|
||||||
* ``G``: jump to start of last row
|
* ``G``: jump to start of last row
|
||||||
|
* ``y``: copy to CLIPBOARD
|
||||||
|
|
||||||
TODO
|
TODO
|
||||||
====
|
====
|
||||||
|
|
|
@ -239,6 +239,9 @@ gboolean key_press_cb(VteTerminal *vte, GdkEventKey *event, search_panel_info *i
|
||||||
case GDK_KEY_Escape:
|
case GDK_KEY_Escape:
|
||||||
end_selection(vte, &info->select);
|
end_selection(vte, &info->select);
|
||||||
break;
|
break;
|
||||||
|
case GDK_KEY_y:
|
||||||
|
vte_terminal_copy_clipboard(vte);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue