pkg(nixvim): Set leader key and modify some options

This commit is contained in:
ulic-youthlic 2025-07-13 06:04:55 +08:00
parent 96c4fb932d
commit f764a607c0
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721

View file

@ -1,4 +1,13 @@
{...}: {
globals = {
mapleader = {
__raw =
#lua
''
vim.keycode("<Space>")
'';
};
};
opts = {
autoindent = true;
autoread = true;
@ -38,13 +47,14 @@
mouse = "a";
number = true;
numberwidth = 2;
numberwidth = 4;
relativenumber = true;
scrollback = 100000;
scrolloff = 5;
shiftround = true;
shiftwidth = 2;
showmode = false;
signcolumn = "auto";
smoothscroll = true;
splitbelow = true;