feat: add some options to nixvim

This commit is contained in:
Mohammad Rafiq 2025-03-09 19:12:37 +08:00
parent 263728f6b6
commit d53b064c0c
2 changed files with 24 additions and 5 deletions

View file

@ -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;