From 59476285dfa1934af57902070711703deb765d8e Mon Sep 17 00:00:00 2001 From: blake Date: Mon, 13 Oct 2025 15:17:04 -0500 Subject: [PATCH] update vim config --- users/blake/dots/neovim/default.nix | 35 +++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/users/blake/dots/neovim/default.nix b/users/blake/dots/neovim/default.nix index a383264..3e16764 100644 --- a/users/blake/dots/neovim/default.nix +++ b/users/blake/dots/neovim/default.nix @@ -19,6 +19,41 @@ enable = true; }; + options = { + clipboard = "unnamedplus"; + + # line numbers + number = true; + numberwidth = 2; + relativenumber = true; + + # tabs and indentation + tabstop = 2; + shiftwidth = 2; + softtabstop = -1; + expandtab = true; + smarttab = true; + autoindent = true; + + # search + ignorecase = true; + smartcase = true; + + # files and backups + backup = false; + writebackup = false; + undofile = true; + swapfile = true; + + # wrapping + wrap = true; + linebreak = true; + breakindent = true; + + termguicolors = true; + autoread = true; + }; + languages = { enableTreesitter = true;