Skip to content

Commit 57488a6

Browse files
committed
fix(home/fish): use helix OR vi keybinds, both together causes conflict
1 parent b1ee1e4 commit 57488a6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

home/gabriel/features/cli/fish/bindings.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ in
1010
{
1111
programs.fish = {
1212
interactiveShellInit = ''
13-
fish_vi_key_bindings
14-
${lib.optionalString useHelix "fish_helix_key_bindings"}
13+
${if useHelix then "fish_helix_key_bindings" else "fish_vi_key_bindings"}
1514
set fish_cursor_default block blink
1615
set fish_cursor_insert line blink
1716
set fish_cursor_replace_one underscore blink

0 commit comments

Comments
 (0)