{ pkgs, ... }: let nixvim = import (builtins.fetchGit { url = "https://github.com/nix-community/nixvim"; # If you are not running an unstable channel of nixpkgs, select the corresponding branch of nixvim. rev = "1c5c991fda4519db56c30c9d75ba29ba7097af83"; }); in { imports = [ nixvim.homeManagerModules.nixvim ]; programs.nixvim = { enable = false; extraConfigLua = '' vim.cmd("colorscheme zenbones") ''; globals.mapleader = " "; opts = { number = true; # Show absolute line numbers relativenumber = true; # Show relative line numbers (cursor line = 0) }; extraPlugins = [pkgs.vimPlugins."lush-nvim" pkgs.vimPlugins."zenbones-nvim" ]; # colorschemes.monokai-pro = { # enable = true; # settings = { # background_clear = [ "telescope" ]; ## day_night = { ## enable = true; ## day_filter = "pro"; ## } # }; # luaConfig.post ='' # require("monokai-pro").setup({ # -- ... # override = function() # return { # Normal = { fg = "#119C1F", bg = "#EBF2EF" }; # Comment = { fg = "#dddddd" }; # Constant = { fg = "#D2F229" }; # Functions = { fg = "#11466B" }; # String = { fg = "#AD1818" }; # Identifier = { fg = "#B30909" }; # Operator = { fg = "#000000" }; # Character = { fg = "#2AE896" }; # Number = { fg = "#BF2EC9" }; # Cursor = { fg = "#EBFF69" } # # } # end # -- ... # }) # ''; #}; #colorschemes.gruvbox.enable = false; #colorschemes.catppuccin.enable = false; #colorschemes.kanagawa-paper.enable = true; plugins.harpoon = { enable = true; enableTelescope = true; }; plugins.web-devicons.enable = true; plugins.neo-tree.enable = true; plugins.telescope.enable = true; plugins.hardtime.enable = true; plugins.image.enable = true; plugins.snacks = { enable = true; # settings = { # image = { # enabled = true; # }; # }; }; plugins.neogit.enable = true; plugins.yazi.enable = true; plugins.vimtex.enable = true; # texlivePackage commented out 06.09.2026 along with # hosts/tnix/localServices/packages.nix's texliveFull -- see that # file's comment for why. # plugins.vimtex.texlivePackage = pkgs.texliveFull; plugins.vimtex.settings = { view_method = "zathura"; #compilerMethod = "latexrun"; #compilerOpts = [ "-lualatex" ]; #compilerOpts = [ "-pdf" "-pdflatex=lualatex" "-interaction=nonstopmode" ]; }; keymaps = [ #yanking to clipboard { mode = "t"; key = ""; action = ''''; options = { noremap = true; silent = true; desc = "Exit terminal mode"; }; } { mode = "v"; key = "y"; action = ''"+y''; options = { desc = "Yank visual selection to system clipboard"; }; } { mode = "n"; key = "Y"; action = ''"+yy''; options = { desc = "Yank current line to system clipboard"; }; } { mode = [ "i" "x" "n" "s" ]; key = ""; action = "w"; options = { desc = "Save File"; }; } { key = ""; action = ":tabnew +term"; } { key = ""; action = "Yazi"; } { action = "Neotree toggle"; key = "e"; } # this doesnt do anything i guess { mode = "n"; key = "ut"; action = "UndotreeToggle"; options = { desc = "Undotree"; }; } { key = "g"; action = ":Neogit"; mode = "n"; options.desc = "open neogit"; } { action = "Telescope find_files"; key = "ff"; } { key = "fr"; action = " Telescope oldfiles "; mode = "n"; options.desc = "Find recents"; } ]; }; }