minor kakoune and helix tomfoolery

This commit is contained in:
Leonardo Eugênio 2023-01-24 10:10:05 -03:00
parent fd5fcbccee
commit 86bd3f6b86
2 changed files with 6 additions and 3 deletions

View file

@ -1,5 +1,5 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
let inherit (pkgs.uservars) key theme color accent font; let inherit (pkgs.uservars) key theme color accent font editor;
in { in {
config = { config = {
programs.fish = { programs.fish = {
@ -29,7 +29,10 @@ in {
}; };
shellAbbrs = { shellAbbrs = {
off = "shutdown now"; off = "shutdown now";
v = "hx"; v = {
"helix" = "hx";
"kakoune" = "kak";
}.${editor};
ns = "nix develop --command $SHELL"; ns = "nix develop --command $SHELL";
# system # system
sv = "sudo systemct"; sv = "sudo systemct";

View file

@ -128,5 +128,5 @@ rec {
dmenu = "bmenu"; dmenu = "bmenu";
desktop = "sway"; desktop = "sway";
browser = "qutebrowser"; browser = "qutebrowser";
editor = "helix"; editor = "kakoune";
} }