fix vi-mode copy and paste

This commit is contained in:
Noah Masur 2020-11-22 23:15:08 -05:00
parent c406979029
commit 87c5cd24be

View File

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