From 87c5cd24be113eb376328c12adc9232c699e0724 Mon Sep 17 00:00:00 2001 From: Noah Masur Date: Sun, 22 Nov 2020 23:15:08 -0500 Subject: [PATCH] fix vi-mode copy and paste --- fish.configlink/config.fish | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fish.configlink/config.fish b/fish.configlink/config.fish index 09ea836..adfb5c4 100644 --- a/fish.configlink/config.fish +++ b/fish.configlink/config.fish @@ -11,6 +11,10 @@ if status --is-interactive # Use `vi` in the shell with cursor shapes fish_vi_key_bindings + bind yy fish_clipboard_copy + bind Y fish_clipboard_copy + bind -M visual y fish_clipboard_copy + bind p fish_clipboard_paste set -g fish_vi_force_cursor set -g fish_cursor_default block set -g fish_cursor_insert line