diff --git a/user/fish.nix b/user/fish.nix index 48d0999..f661986 100644 --- a/user/fish.nix +++ b/user/fish.nix @@ -1,5 +1,5 @@ { config, pkgs, lib, ... }: -let inherit (pkgs.uservars) key theme color accent font; +let inherit (pkgs.uservars) key theme color accent font editor; in { config = { programs.fish = { @@ -29,7 +29,10 @@ in { }; shellAbbrs = { off = "shutdown now"; - v = "hx"; + v = { + "helix" = "hx"; + "kakoune" = "kak"; + }.${editor}; ns = "nix develop --command $SHELL"; # system sv = "sudo systemct"; diff --git a/user/variables.nix b/user/variables.nix index eb9bf4e..10840db 100644 --- a/user/variables.nix +++ b/user/variables.nix @@ -128,5 +128,5 @@ rec { dmenu = "bmenu"; desktop = "sway"; browser = "qutebrowser"; - editor = "helix"; + editor = "kakoune"; }