nix-config/users/tacocat/programs/vim.nix
2024-02-02 11:08:59 -05:00

32 lines
602 B
Nix

{pkgs, ...}: {
programs.vim = {
enable = true;
settings = {
background = "dark";
copyindent = true;
expandtab = false;
hidden = true;
history = 100;
ignorecase = false;
modeline = true;
mousefocus = false;
number = true;
relativenumber = true;
shiftwidth = 2;
tabstop = 2;
};
plugins = with pkgs.vimPlugins; [
onedark-vim
everforest
terminus
vim-fugitive
vim-gitgutter
];
extraConfig = ''
set scrolloff=5
set hlsearch
colorscheme everforest
'';
};
}