move kakoune config

This commit is contained in:
Leonardo Eugênio 2022-08-04 23:12:25 -03:00
parent 4153759a74
commit 7a9c0ce6f4
7 changed files with 18 additions and 6 deletions

View file

@ -283,9 +283,7 @@ in {
# ".config/sway/config".source = ./sway; # ".config/sway/config".source = ./sway;
".config/fish/conf.d/prompt.fish".source = ./fish_prompt.fish; ".config/fish/conf.d/prompt.fish".source = ./fish_prompt.fish;
".local/share/backgrounds".source = ./backgrounds; ".local/share/backgrounds".source = ./backgrounds;
".config/kak/rc".source = ./kak/rc; ".config/kak/kakrc".text = let
".config/kak/kakrc".source = ./kak/kakrc;
".config/kak/colors.kak".text =let
colors = lib.mapAttrs (_: lib.replaceStrings ["#"] ["rgb:"]) { colors = lib.mapAttrs (_: lib.replaceStrings ["#"] ["rgb:"]) {
accent_fg = accent.fg ; accent_fg = accent.fg ;
accent_color = accent.color ; accent_color = accent.color ;
@ -295,7 +293,21 @@ in {
orange = color.normal.orange ; orange = color.normal.orange ;
brown = color.normal.brown ; brown = color.normal.brown ;
}; };
in with colors; '' in with colors;
lib.concatStringsSep "\n" (map (lib.readFile) [
./kak/filetypes.kak
./kak/hooks.kak
./kak/indent.kak
./kak/keys.kak
./kak/plug.kak
./kak/usermode.kak
]) +''
set global scrolloff 10,20
set global autoreload yes
set global startup_info_version 20200901
'' + ''
face global crosshairs_line default,${ bg_dark } face global crosshairs_line default,${ bg_dark }
face global crosshairs_column default+b face global crosshairs_column default+b