Migrate configuration to nixvim

This commit is contained in:
♥ Minnie ♥ 2024-08-04 21:19:37 +08:00
parent be9fe07ba1
commit 8772a4ca32
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
18 changed files with 759 additions and 0 deletions

18
config/options.nix Normal file
View file

@ -0,0 +1,18 @@
{ ... }:
{
config.opts = {
# General
number = true; # Display line numbers.
showmode = false; # Do not show the mode we're editing in.
swapfile = false; # Disable vim swapfile.
clipboard = "unnamedplus"; # Use the clipboard for all operations.
# Tabs & Spaces
tabstop = 2; # Set the width of a tab character.
softtabstop = 2; # Set the number of columns for a tab.
shiftwidth = 2; # Set the number of spaces for each step of (auto)indent.
expandtab = true; # Convert tabs to spaces.
};
}