From 914cd10148fd229df90689487bb9a52d3cadc702 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Wed, 18 Sep 2024 01:26:14 -0700 Subject: [PATCH] feat: add persistent undofile --- config/init.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/init.nix b/config/init.nix index ac24af2..c81652c 100644 --- a/config/init.nix +++ b/config/init.nix @@ -3,11 +3,17 @@ colorschemes.rose-pine.enable = true; opts = { + # Global status/cmdline laststatus = 3; + relativenumber = true; number = true; + # sane defaults for tab/space shiftwidth = 2; tabstop = 4; + # Crank up fold level so tree-sitter doesn't fold everything foldlevel = 15; + # Persistent undos across sessions + undofile = true; }; }