tidied
This commit is contained in:
parent
15f9498195
commit
778a6ef099
24 changed files with 213 additions and 190 deletions
57
home/programs/shared/nvim/default.nix
Executable file
57
home/programs/shared/nvim/default.nix
Executable file
|
|
@ -0,0 +1,57 @@
|
|||
{ inputs, ... }: {
|
||||
|
||||
imports = [
|
||||
|
||||
inputs.nixvim.homeManagerModules.nixvim # uses the module channel from `flake.nix`
|
||||
./keymaps.nix # keybinds
|
||||
|
||||
## Neovim plugins
|
||||
./plugins/utils.nix
|
||||
./plugins/ui.nix
|
||||
./plugins/lsp.nix
|
||||
./plugins/markdown.nix
|
||||
./plugins/telescope.nix
|
||||
];
|
||||
|
||||
## Enables nixvim
|
||||
programs = {
|
||||
|
||||
nixvim = {
|
||||
enable = true;
|
||||
globals = { mapleader = " "; };
|
||||
|
||||
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" "noinsert" ];
|
||||
signcolumn = "yes";
|
||||
cursorline = false;
|
||||
scrolloff = 8;
|
||||
mouse = "a";
|
||||
termguicolors = true;
|
||||
showmode = false;
|
||||
wrap = false;
|
||||
swapfile = false;
|
||||
undofile = true;
|
||||
conceallevel = 3;
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue