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 = {
|
opts = {
|
||||||
autoindent = true;
|
autoindent = true;
|
||||||
autoread = true;
|
autoread = true;
|
||||||
|
|
@ -38,13 +47,14 @@
|
||||||
mouse = "a";
|
mouse = "a";
|
||||||
|
|
||||||
number = true;
|
number = true;
|
||||||
numberwidth = 2;
|
numberwidth = 4;
|
||||||
relativenumber = true;
|
relativenumber = true;
|
||||||
|
|
||||||
scrollback = 100000;
|
scrollback = 100000;
|
||||||
scrolloff = 5;
|
scrolloff = 5;
|
||||||
shiftround = true;
|
shiftround = true;
|
||||||
shiftwidth = 2;
|
shiftwidth = 2;
|
||||||
|
showmode = false;
|
||||||
signcolumn = "auto";
|
signcolumn = "auto";
|
||||||
smoothscroll = true;
|
smoothscroll = true;
|
||||||
splitbelow = true;
|
splitbelow = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue