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
|
||||
clippy
|
||||
rust-analyzer
|
||||
rustc
|
||||
rustfmt
|
||||
];
|
||||
cppPlugins = with pkgs; [
|
||||
clang-tools
|
||||
|
|
@ -18,6 +20,9 @@ let
|
|||
pyls-black
|
||||
python-language-server
|
||||
];
|
||||
javascriptPlugins = with pkgs; [
|
||||
flow
|
||||
];
|
||||
nixPlugins = with pkgs; [
|
||||
rnix-lsp
|
||||
];
|
||||
|
|
@ -29,7 +34,10 @@ let
|
|||
aspellDicts.it
|
||||
];
|
||||
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
|
||||
|
|
@ -120,13 +128,13 @@ in
|
|||
broot
|
||||
lf
|
||||
editorconfig-core-c
|
||||
kakounePlugins.auto-pairs-kak
|
||||
# kakounePlugins.auto-pairs-kak
|
||||
kakounePlugins.kak-lsp
|
||||
kakounePlugins.powerline-kak
|
||||
kakounePlugins.prelude-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-lsp/kak-lsp.toml".source = ../configs/kak-lsp/kak-lsp.toml;
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@
|
|||
nautilus = "${pkgs.gnome.nautilus}/bin/nautilus";
|
||||
pcmanfm = "${pkgs.pcmanfm}/bin/pcmanfm";
|
||||
update-backgroundCmd = "${pkgs.update-background}";
|
||||
xbacklight = "${pkgs.xorg.xbacklight}/bin/xbacklight";
|
||||
in
|
||||
{
|
||||
enable = true;
|
||||
|
|
@ -45,6 +46,7 @@
|
|||
"super + y" = "${bspc} node newest.marked.local -n newest.!automatic.local";
|
||||
"{XF86AudioLowerVolume,XF86AudioMute,XF86AudioRaiseVolume}" = "${pulseaudio-ctl} {down,mute,up}";
|
||||
"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