added kakoune
This commit is contained in:
parent
80a61d8f99
commit
34f4ec9415
27
home.nix
27
home.nix
|
|
@ -38,10 +38,11 @@ in
|
||||||
[ bitwarden-cli ] ++ # Personalized selection of command-line (CLI/TUI) apps
|
[ bitwarden-cli ] ++ # Personalized selection of command-line (CLI/TUI) apps
|
||||||
[ terminal ] ++ # Terminal emulator
|
[ terminal ] ++ # Terminal emulator
|
||||||
[ firefox cinnamon.nemo gnome.file-roller cinnamon.nemo-fileroller imv vlc pavucontrol ] ++ # Basic graphical apps
|
[ firefox cinnamon.nemo gnome.file-roller cinnamon.nemo-fileroller imv vlc pavucontrol ] ++ # Basic graphical apps
|
||||||
[ libreoffice signal-desktop element-desktop prismlauncher mumble gimp inkscape ] ++ # Personalized selection of graphical apps
|
[ libreoffice signal-desktop element-desktop prismlauncher mumble gimp inkscape deluge-gtk ] ++ # Personalized selection of graphical apps
|
||||||
[ (callPackage ./pkgs/mons/mons.nix {}) ] ++ # Games
|
[ (callPackage ./pkgs/mons/mons.nix {}) ] ++ # Games
|
||||||
[ swaybg bemenu j4-dmenu-desktop fcitx5-with-addons ] ++ # Sway- and Wayland-related packages
|
[ swaybg bemenu j4-dmenu-desktop fcitx5-with-addons ] ++ # Sway- and Wayland-related packages
|
||||||
[ noto-fonts redhat-official-fonts overpass ibm-plex font-awesome ] ++ # Fonts
|
[ noto-fonts redhat-official-fonts overpass ibm-plex font-awesome ] ++ # Fonts
|
||||||
|
[ kak-lsp ] ++
|
||||||
# [ papirus-icon-theme ] ++ # Icons
|
# [ papirus-icon-theme ] ++ # Icons
|
||||||
# [ vanilla-dmz ] ++ # Cursor
|
# [ vanilla-dmz ] ++ # Cursor
|
||||||
[ ] ++ # Temp
|
[ ] ++ # Temp
|
||||||
|
|
@ -102,6 +103,30 @@ in
|
||||||
|
|
||||||
programs.neovim = import ./programs/neovim.nix;
|
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.zathura = {
|
programs.zathura = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue