vim plugins
This commit is contained in:
parent
60a72f467d
commit
2f76f79c9f
|
@ -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
|
||||||
# '';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue