init
This commit is contained in:
commit
6eae514dab
15 changed files with 500 additions and 0 deletions
28
plugins/options.nix
Normal file
28
plugins/options.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{lib, ...}: {
|
||||
vim = {
|
||||
globals.mapleader = ",";
|
||||
|
||||
lineNumberMode = "relNumber";
|
||||
hideSearchHighlight = true;
|
||||
searchCase = "smart";
|
||||
undoFile.enable = true;
|
||||
|
||||
clipboard = {
|
||||
enable = true;
|
||||
registers = "unnamedplus";
|
||||
};
|
||||
|
||||
luaConfigRC.options = lib.nvim.dag.entryAfter ["globalsScript"] ''
|
||||
vim.opt.tabstop = 2
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.expandtab = true
|
||||
vim.opt.autoindent = true
|
||||
vim.opt.signcolumn = "yes"
|
||||
vim.opt.splitright = true
|
||||
vim.opt.splitbelow = true
|
||||
vim.opt.laststatus = 3
|
||||
vim.opt.sessionoptions = "curdir,folds,globals,help,tabpages,terminal,winsize"
|
||||
vim.opt.timeoutlen = 300
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue