summaryrefslogtreecommitdiff
path: root/modules/hm/editors/nixvim.nix
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2025-12-20 03:14:45 +0100
committeradikro <adikro@disroot.org>2025-12-20 03:14:45 +0100
commit791bc419b6dac7c70951981ef6b34cdf85828470 (patch)
tree56d0962fdf829ae942feb1344763e54dbc3c89a3 /modules/hm/editors/nixvim.nix
parente60410393cea222b16743a1a87f29c06b9b3543b (diff)
absolutely massive rewrite, made (almost) everything modular with changes to come
Diffstat (limited to 'modules/hm/editors/nixvim.nix')
-rw-r--r--modules/hm/editors/nixvim.nix98
1 files changed, 0 insertions, 98 deletions
diff --git a/modules/hm/editors/nixvim.nix b/modules/hm/editors/nixvim.nix
deleted file mode 100644
index b8a4e5a..0000000
--- a/modules/hm/editors/nixvim.nix
+++ /dev/null
@@ -1,98 +0,0 @@
-{ pkgs, inputs, ... }:
-{
- imports = [ inputs.nixvim.homeModules.nixvim ];
- programs.nixvim = {
- enable = true;
- package = inputs.neovim-nightly-overlay.packages.${pkgs.stdenv.hostPlatform.system}.default;
-
- viAlias = true;
- vimAlias = true;
- defaultEditor = true;
- waylandSupport = true;
- colorschemes.gruvbox.enable = true;
-
- plugins = {
- lualine.enable = true;
- oil.enable = true;
- lazygit.enable = true;
- persistence.enable = true;
- nvim-autopairs.enable = true;
- neoscroll.enable = true;
- bufferline.enable = true;
- web-devicons.enable = true;
-
- treesitter = {
- enable = true;
- settings = {
- indent.enable = true;
- };
- };
-
- telescope = {
- enable = true;
- extensions = {
- fzf-native = {
- enable = true;
- };
- };
- };
-
- notify = {
- enable = true;
- settings = {
- backgroundColour = "#1e1e2e";
- fps = 60;
- render = "default";
- timeout = 500;
- topDown = true;
- };
- };
-
- hardtime = {
- # enable = true;
- settings = {
- # disableMouse = true;
- # enabled = false;
- restrictionMode = "hint";
- hint = true;
- maxCount = 40;
- maxTime = 1000;
- };
- };
-
- nix.enable = true;
- lsp = {
- enable = true;
- servers = {
- nil_ls.enable = true;
- clangd.enable = true;
- };
- };
- };
-
- opts = {
- number = true;
- relativenumber = true;
- termguicolors = true;
- # mouse = "a";
- ignorecase = true;
- smartcase = true;
- expandtab = true;
- shiftwidth = 2;
- encoding = "utf-8";
- fileencoding = "utf-8";
- undofile = true;
- swapfile = true;
- backup = false;
- autoread = true;
- cursorline = true;
- ruler = true;
- gdefault = true;
- scrolloff = 5;
- clipboard = {
- providers.wl-copy.enable = true;
- register = "unnamedplus";
- };
- };
- };
-}