Moved kakoune to its own file

This commit is contained in:
vorboyvo 2024-03-12 14:33:00 -04:00
parent e2f3f3e7fb
commit 2ef8a5bd7d
2 changed files with 1 additions and 24 deletions

View file

@ -105,28 +105,7 @@ in
programs.neovim = import ./programs/neovim.nix;
# trying out kakoune
programs.kakoune = {
enable = true;
config = {
numberLines = {
enable = true;
highlightCursor = true;
};
hooks = [
{
name = "BufSetOption";
option = "filetype=latex";
commands = ''
set-option buffer makecmd latexmk -pvc -pdf -e '$pdf_previewer="xdg-open %S"' -e '$pdflatex="pdflatex -interaction=nonstopmode -synctex=1 %O %S"' %opt{documentsrc}
'';
}
];
};
extraConfig = ''
eval %sh{kak-lsp --kakoune -s $kak_session}
lsp-enable
'';
};
programs.kakoune = import ./programs/kakoune.nix;
xdg.configFile."kak-lsp/kak-lsp.toml".source = ./programs/kakoune/kak-lsp.toml;

2
todo
View file

@ -2,8 +2,6 @@
set up a keyring and store networkmanager wifi passwords in there instead of plain text
media player daemon
dmenu files
notifications timeout and other assorted settings
add pandoc support for markdown rendering
configure click behaviour dunst
configure per-display workspaces (swaysome?)
timewarrior for time tracking