T26: on Windows Ctrl-V pastes too, as in Windows Terminal, where shells take it so; on Linux it stays the program's
This commit is contained in:
6 files changed
+10
-5
No files matched your search
@@ -47,6 +47,10 @@ pub fn bind_keys(cx: &mut App) {
|
||||
["tab", "shift-tab", "f6", "shift-f6"]
|
||||
.map(|key| KeyBinding::new(key, NoAction, Some(CONTEXT))),
|
||||
);
|
||||
// Windows pastes on Ctrl-V too, as Windows Terminal does.
|
||||
if cfg!(windows) {
|
||||
cx.bind_keys([KeyBinding::new("ctrl-v", Paste, Some(CONTEXT))]);
|
||||
}
|
||||
}
|
||||
|
||||
impl TerminalView {
|
||||
|
||||
Reference in new issue
Block a user