pkg(nixvim): Set leader key and modify some options
This commit is contained in:
parent
96c4fb932d
commit
f764a607c0
1 changed files with 11 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue