vim plugins

This commit is contained in:
Aria Nolan 2024-02-02 11:08:59 -05:00
parent 60a72f467d
commit 2f76f79c9f
2 changed files with 16 additions and 5 deletions

View file

@ -8,8 +8,8 @@
shell = "${pkgs.fish}/bin/fish"; shell = "${pkgs.fish}/bin/fish";
sensibleOnTop = true; sensibleOnTop = true;
terminal = "tmux-256color"; terminal = "tmux-256color";
# extraConfig = '' extraConfig = ''
# set -g default-terminal "screen-256color" set -g focus-events on
# ''; '';
}; };
} }

View file

@ -1,4 +1,4 @@
{...}: { {pkgs, ...}: {
programs.vim = { programs.vim = {
enable = true; enable = true;
settings = { settings = {
@ -9,12 +9,23 @@
history = 100; history = 100;
ignorecase = false; ignorecase = false;
modeline = true; modeline = true;
mouse = "a";
mousefocus = false; mousefocus = false;
number = true; number = true;
relativenumber = true; relativenumber = true;
shiftwidth = 2; shiftwidth = 2;
tabstop = 2; tabstop = 2;
}; };
plugins = with pkgs.vimPlugins; [
onedark-vim
everforest
terminus
vim-fugitive
vim-gitgutter
];
extraConfig = ''
set scrolloff=5
set hlsearch
colorscheme everforest
'';
}; };
} }