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";
sensibleOnTop = true;
terminal = "tmux-256color";
# extraConfig = ''
# set -g default-terminal "screen-256color"
# '';
extraConfig = ''
set -g focus-events on
'';
};
}

View file

@ -1,4 +1,4 @@
{...}: {
{pkgs, ...}: {
programs.vim = {
enable = true;
settings = {
@ -9,12 +9,23 @@
history = 100;
ignorecase = false;
modeline = true;
mouse = "a";
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
'';
};
}