aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Fabian Homborg <FHomborg@gmail.com>2016-06-21 16:19:40 +0200
committerGravatar Fabian Homborg <FHomborg@gmail.com>2016-06-21 16:19:40 +0200
commit7365b6bd0c078b1bbba654deee2cc04692501397 (patch)
tree9198f0b20b2c09aa301152735ce9ded8a5279181
parentd66d51f1011c1ccb5350c83ed7db949d5e66ad22 (diff)
Bind clipboard-copy to \cx, restore yank binding
Fixes #3160.
-rw-r--r--share/functions/fish_default_key_bindings.fish3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/functions/fish_default_key_bindings.fish b/share/functions/fish_default_key_bindings.fish
index 3a3a7f73..64bbbe2e 100644
--- a/share/functions/fish_default_key_bindings.fish
+++ b/share/functions/fish_default_key_bindings.fish
@@ -19,7 +19,8 @@ function fish_default_key_bindings -d "Default (Emacs-like) key bindings for fis
bind $argv \r execute
bind $argv \ck kill-line
- bind $argv \cy fish_clipboard_copy
+ bind $argv \cy yank
+ bind $argv \cx fish_clipboard_copy
bind $argv \cv fish_clipboard_paste
bind $argv \t complete