Better kakoune config
This commit is contained in:
parent
e044bcfe50
commit
e17323dde8
2 changed files with 13 additions and 3 deletions
|
|
@ -7,6 +7,8 @@ let
|
||||||
cargo-watch
|
cargo-watch
|
||||||
clippy
|
clippy
|
||||||
rust-analyzer
|
rust-analyzer
|
||||||
|
rustc
|
||||||
|
rustfmt
|
||||||
];
|
];
|
||||||
cppPlugins = with pkgs; [
|
cppPlugins = with pkgs; [
|
||||||
clang-tools
|
clang-tools
|
||||||
|
|
@ -18,6 +20,9 @@ let
|
||||||
pyls-black
|
pyls-black
|
||||||
python-language-server
|
python-language-server
|
||||||
];
|
];
|
||||||
|
javascriptPlugins = with pkgs; [
|
||||||
|
flow
|
||||||
|
];
|
||||||
nixPlugins = with pkgs; [
|
nixPlugins = with pkgs; [
|
||||||
rnix-lsp
|
rnix-lsp
|
||||||
];
|
];
|
||||||
|
|
@ -29,7 +34,10 @@ let
|
||||||
aspellDicts.it
|
aspellDicts.it
|
||||||
];
|
];
|
||||||
dataFormats = with pkgs; [
|
dataFormats = with pkgs; [
|
||||||
# yaml-language-server
|
yaml-language-server
|
||||||
|
nodePackages.vscode-css-languageserver-bin
|
||||||
|
nodePackages.vscode-html-languageserver-bin
|
||||||
|
nodePackages.vscode-json-languageserver-bin
|
||||||
];
|
];
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
@ -120,13 +128,13 @@ in
|
||||||
broot
|
broot
|
||||||
lf
|
lf
|
||||||
editorconfig-core-c
|
editorconfig-core-c
|
||||||
kakounePlugins.auto-pairs-kak
|
# kakounePlugins.auto-pairs-kak
|
||||||
kakounePlugins.kak-lsp
|
kakounePlugins.kak-lsp
|
||||||
kakounePlugins.powerline-kak
|
kakounePlugins.powerline-kak
|
||||||
kakounePlugins.prelude-kak
|
kakounePlugins.prelude-kak
|
||||||
kakounePlugins.connect-kak
|
kakounePlugins.connect-kak
|
||||||
]
|
]
|
||||||
) ++ rustPlugins ++ cppPlugins ++ pythonPlugins ++ latexPlugins ++ nixPlugins ++ spellingPlugins ++ dataFormats;
|
) ++ rustPlugins ++ cppPlugins ++ pythonPlugins ++ javascriptPlugins ++ latexPlugins ++ nixPlugins ++ spellingPlugins ++ dataFormats;
|
||||||
};
|
};
|
||||||
xdg.configFile."kak/colors/nord.kak".source = ../configs/kak/colors/nord.kak;
|
xdg.configFile."kak/colors/nord.kak".source = ../configs/kak/colors/nord.kak;
|
||||||
xdg.configFile."kak-lsp/kak-lsp.toml".source = ../configs/kak-lsp/kak-lsp.toml;
|
xdg.configFile."kak-lsp/kak-lsp.toml".source = ../configs/kak-lsp/kak-lsp.toml;
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@
|
||||||
nautilus = "${pkgs.gnome.nautilus}/bin/nautilus";
|
nautilus = "${pkgs.gnome.nautilus}/bin/nautilus";
|
||||||
pcmanfm = "${pkgs.pcmanfm}/bin/pcmanfm";
|
pcmanfm = "${pkgs.pcmanfm}/bin/pcmanfm";
|
||||||
update-backgroundCmd = "${pkgs.update-background}";
|
update-backgroundCmd = "${pkgs.update-background}";
|
||||||
|
xbacklight = "${pkgs.xorg.xbacklight}/bin/xbacklight";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -45,6 +46,7 @@
|
||||||
"super + y" = "${bspc} node newest.marked.local -n newest.!automatic.local";
|
"super + y" = "${bspc} node newest.marked.local -n newest.!automatic.local";
|
||||||
"{XF86AudioLowerVolume,XF86AudioMute,XF86AudioRaiseVolume}" = "${pulseaudio-ctl} {down,mute,up}";
|
"{XF86AudioLowerVolume,XF86AudioMute,XF86AudioRaiseVolume}" = "${pulseaudio-ctl} {down,mute,up}";
|
||||||
"XF86Audio{Next,Play,Prev}" = "${playerctl} {next,play-pause,previous}";
|
"XF86Audio{Next,Play,Prev}" = "${playerctl} {next,play-pause,previous}";
|
||||||
|
"XF86MonBrightness{Up,Down}" = "${xbacklight} {+,-}10%";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue