mirror of
https://github.com/divnix/digga.git
synced 2024-12-27 01:52:21 +03:00
16 lines
380 B
Nix
16 lines
380 B
Nix
|
final: prev: {
|
||
|
kakoune = prev.kakoune.override {
|
||
|
configure.plugins = with final.kakounePlugins; [
|
||
|
(kak-fzf.override { fzf = final.skim; })
|
||
|
kak-auto-pairs
|
||
|
kak-buffers
|
||
|
kak-powerline
|
||
|
];
|
||
|
};
|
||
|
|
||
|
# wrapper to specify config dir
|
||
|
kakoune-config = prev.writeShellScriptBin "k" ''
|
||
|
XDG_CONFIG_HOME=/etc/xdg exec ${final.kakoune}/bin/kak "$@"
|
||
|
'';
|
||
|
}
|