From 6f0cd4da417d5561775c36d1ccfa3ab081d63b8c Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Mon, 16 Sep 2024 13:07:58 +0800 Subject: [PATCH] home/fish: use vim keybinds --- home/applications/fish/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/home/applications/fish/default.nix b/home/applications/fish/default.nix index 2b593a0..3d9be01 100644 --- a/home/applications/fish/default.nix +++ b/home/applications/fish/default.nix @@ -5,6 +5,18 @@ interactiveShellInit = '' set fish_greeting + + set fish_cursor_default block + set fish_cursor_insert line + set fish_cursor_replace_one underscore + set fish_cursor_replace underscore + set fish_cursor_external line + set fish_cursor_visual block + + function fish_user_key_bindings + fish_default_key_bindings -M insert + fish_vi_key_bindings --no-erase insert + end ''; plugins = [