feat: add some options to nixvim
This commit is contained in:
parent
263728f6b6
commit
d53b064c0c
2 changed files with 24 additions and 5 deletions
|
@ -1,10 +1,10 @@
|
|||
# Default graphical programs and personalisation
|
||||
{
|
||||
imports = [
|
||||
./programs/firefox.nix
|
||||
./programs/kitty.nix
|
||||
./programs/hyprland.nix
|
||||
./programs/waybar.nix
|
||||
./programs/dunst.nix
|
||||
./programs/firefox.nix
|
||||
./programs/hyprland.nix
|
||||
./programs/kitty.nix
|
||||
./programs/waybar.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -13,11 +13,30 @@
|
|||
vimdiffAlias = true;
|
||||
|
||||
opts = {
|
||||
# Indentation
|
||||
autoindent = true;
|
||||
smartindent = true;
|
||||
expandtab = true;
|
||||
smarttab = true;
|
||||
wrap = false;
|
||||
shiftwidth = 2;
|
||||
tabstop = 2;
|
||||
|
||||
# Search
|
||||
hlsearch = true;
|
||||
ignorecase = true;
|
||||
incsearch = true;
|
||||
smartcase = true; # case-sensitive if search contains uppercase
|
||||
|
||||
# Visual
|
||||
number = true;
|
||||
relativenumber = true;
|
||||
cursorline = true;
|
||||
visualbell = true;
|
||||
termguicolors = true;
|
||||
wrap = false;
|
||||
|
||||
# Input
|
||||
backspace = "indent,eol,start";
|
||||
};
|
||||
|
||||
clipboard.providers.wl-copy.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue