mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 11:12:09 +02:00
37
home/programs/nvim/options.nix
Normal file
37
home/programs/nvim/options.nix
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
|
||||
programs.nixvim.globals.mapleader = " ";
|
||||
programs.nixvim.opts = {
|
||||
updatetime = 50; # Faster completion
|
||||
|
||||
number = true;
|
||||
relativenumber = true;
|
||||
|
||||
autoindent = true;
|
||||
clipboard = "unnamed,unnamedplus";
|
||||
|
||||
expandtab = true;
|
||||
tabstop = 2;
|
||||
softtabstop = 2;
|
||||
shiftwidth = 2;
|
||||
smartindent = true;
|
||||
breakindent = true;
|
||||
|
||||
ignorecase = true;
|
||||
incsearch = true;
|
||||
hlsearch = true;
|
||||
smartcase = true;
|
||||
wildmode = "list:longest";
|
||||
completeopt = [ "menuone" "noselect" ];
|
||||
signcolumn = "yes";
|
||||
cursorline = true;
|
||||
scrolloff = 8;
|
||||
mouse = "a";
|
||||
|
||||
wrap = false;
|
||||
|
||||
swapfile = false;
|
||||
undofile = true;
|
||||
conceallevel = 2;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user