add vim profile

This commit is contained in:
Infinidoge 2021-10-26 09:08:52 -04:00
parent 61c60d4450
commit 6f17b6afc7
2 changed files with 21 additions and 0 deletions

View file

@ -232,6 +232,7 @@
git git
emacs emacs
kitty kitty
vim
# Terminal # Terminal
starship starship

20
users/profiles/vim.nix Normal file
View file

@ -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;
};
};
}