From 6f17b6afc70717942c3c9622145c3b52cf6ead92 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Tue, 26 Oct 2021 09:08:52 -0400 Subject: [PATCH] add vim profile --- flake.nix | 1 + users/profiles/vim.nix | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 users/profiles/vim.nix diff --git a/flake.nix b/flake.nix index cca3766..0119578 100644 --- a/flake.nix +++ b/flake.nix @@ -232,6 +232,7 @@ git emacs kitty + vim # Terminal starship diff --git a/users/profiles/vim.nix b/users/profiles/vim.nix new file mode 100644 index 0000000..02790b9 --- /dev/null +++ b/users/profiles/vim.nix @@ -0,0 +1,20 @@ +{ ... }: { + programs.vim = { + enable = true; + settings = { + background = "dark"; + directory = [ + "." + "~/.local/share/vim/swap//" + ]; + expandtab = true; + history = 50; + ignorecase = true; + smartcase = true; + mouse = "a"; + number = true; + tabstop = 4; + shiftwidth = 4; + }; + }; +}