commit 9deebdef86fab56d4aa0ee5c3b0c51af440712e4
parent 48c5d8ae41092614c02f04002a9e27761f065214
Author: vin <vin@vineetk.net>
Date: Thu, 8 May 2025 16:44:18 -0400
demiurge, hastur: change neovim config a bit
Diffstat:
1 file changed, 21 insertions(+), 2 deletions(-)
diff --git a/home.nix b/home.nix
@@ -445,15 +445,20 @@ in
enable = true;
extraLuaConfig = ''
+ -- my better defaults
vim.opt.autoindent = true
vim.opt.autoread = true
vim.opt.backup = false
vim.opt.hlsearch = false
vim.opt.relativenumber = true
+ -- colors
vim.opt.bg = "dark"
vim.opt.colorcolumn = "80"
vim.cmd("colorscheme everblush")
+
+ -- mappings
+ vim.g.mapleader = " "
'';
plugins = with pkgs.vimPlugins; [
@@ -482,8 +487,22 @@ in
'';
}
+ # languages
vim-nix
- ];
+
+ # qol plugins
+ {
+ plugin = which-key-nvim;
+ config = ''
+ lua << END
+ require "which-key".setup {
+ delay = 300
+ }
+ END
+ '';
+ }
+ neogit
+ gitsigns-nvim
# tree-sitter stuff, mainly for better syntax highlighting
nvim-treesitter
@@ -554,7 +573,7 @@ in
viAlias = true;
vimAlias = true;
withNodeJs = false;
- withPython3 = true;
+ withPython3 = false;
withRuby = false;
};