add fish module + reformat

This commit is contained in:
2022-08-10 22:00:35 +02:00
parent bd3691da7b
commit 0ce043d852
6 changed files with 81 additions and 141 deletions
+1
View File
@@ -5,6 +5,7 @@
./audio.nix
./emacs.nix
./firefox.nix
./fish.nix
./flatpak.nix
./gaming.nix
./kitty.nix
+2
View File
@@ -22,6 +22,7 @@ in {
name = "Victor Mono SemiBold";
size = 12;
};
settings = {
editor = (if cfgnv.enable then "nvim" else "nano");
scrollback_lines = 10000;
@@ -51,6 +52,7 @@ in {
# color14 = "#ccab53";
# color15 = "#d2b3ff";
};
keybindings = {
"kitty_mod+j" = "next_window";
"kitty_mod+k" = "previous_window";
+3 -1
View File
@@ -13,9 +13,9 @@ in {
};
config = mkIf cfg.enable {
programs.neovim = {
enable = true;
extraConfig = ''
set incsearch
set hlsearch
@@ -39,6 +39,7 @@ in {
let printencoding='utf-8'
set encoding=utf-8
'';
plugins = with pkgs.vimPlugins; [
# vim-nix
surround-nvim
@@ -77,6 +78,7 @@ in {
'';
}
];
viAlias = cfg.alias;
vimAlias = cfg.alias;
};