From 60a72f467d6c688e230f404af39a8e9a2767010f Mon Sep 17 00:00:00 2001 From: Aria Nolan Date: Thu, 1 Feb 2024 15:45:19 -0500 Subject: [PATCH] vim --- users/tacocat/programs/default.nix | 1 + users/tacocat/programs/vim.nix | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 users/tacocat/programs/vim.nix diff --git a/users/tacocat/programs/default.nix b/users/tacocat/programs/default.nix index db2bc7a..30aab2b 100644 --- a/users/tacocat/programs/default.nix +++ b/users/tacocat/programs/default.nix @@ -8,6 +8,7 @@ ./fzf.nix ./tmux.nix ./tiny.nix + ./vim.nix ]; programs.eza = { diff --git a/users/tacocat/programs/vim.nix b/users/tacocat/programs/vim.nix new file mode 100644 index 0000000..6f2dc1a --- /dev/null +++ b/users/tacocat/programs/vim.nix @@ -0,0 +1,20 @@ +{...}: { + programs.vim = { + enable = true; + settings = { + background = "dark"; + copyindent = true; + expandtab = false; + hidden = true; + history = 100; + ignorecase = false; + modeline = true; + mouse = "a"; + mousefocus = false; + number = true; + relativenumber = true; + shiftwidth = 2; + tabstop = 2; + }; + }; +}