Adding transient nixvim configs, dwl, dwl patches

This commit is contained in:
2025-09-17 14:02:06 -04:00
parent 8c1552cdde
commit 4b7a2ccd20
10 changed files with 221 additions and 28 deletions

View File

@@ -1,10 +1,12 @@
{ config, pkgs, lib, inputs, ... }:
{
imports = [
../which-key.nix
./which-key.nix
./options.nix
];
programs.nixvim = {
enable = true;
enableMan = true;
colorschemes = {
cyberdream = {
enable = true;
@@ -22,7 +24,7 @@
theme = "dashboard";
};
fzf-lua = {
lazyLoad.enable = true;
enable = true;
settings = {
files = {
color_icons = true;
@@ -31,7 +33,7 @@
__raw = "[[-type f -not -path '*.git/objects*' -not -path '*.env*']]";
};
multiprocess = true;
prompt = "󰆤 ";"
prompt = "󰆤 ";
};
winopts = {
col = 0.3;

View File

@@ -0,0 +1,50 @@
{ config, pkgs, lib, inputs, ... }:
{
programs.nixvim.globalOpts = {
mapleader = " ";
netrw_keepdir = 1;
netrw_winsize = 18;
netrw_banner = 0;
netrw_localcopydircmd = "cp -avr";
netrw_liststyle = 3;
netrw_browse_split = 4;
ranger_map_keys = 0;
ranger_replace_netrw = 1;
cmdheight = 1;
};
programs.nixvim.opts = {
number = true;
relativenumber = true;
cursorline = true;
smartcase = true;
ignorecase = true;
splitright = true;
splitbelow = true;
wrap = false;
tabstop = 2;
shiftwidth = 2;
expandtab = true;
scrolloff = 8;
sidescrolloff = 8;
signcolumn = "yes";
updatetime = 300;
timeoutlen = 500;
mouse = "a";
laststatus = 3;
showmode = true;
foldmethod = "expr";
foldexpr = "nvim_treesitter#foldexpr()";
foldlevelstart = 99;
foldenable = true;
wildmenu = true;
wildoptions = "pum";
termguicolors = true;
winborder = "rounded";
clipboard = "unnamedplus";
completeopt = "menuone";
sessionoptions="blank,buffers,curdir,folds,help,tabpages,winsize,winpos,terminal,localoptions";
undofile = true;
undodir = "${config.home.homeDirectory}/.local/state/nvim/undo";
};
}

View File

@@ -1,7 +1,7 @@
{ config, pkgs, lib, inputs, ... }:
{
programs.nixvim.plugins.which-key = {
lazyLoad.enable = true;
enable = true;
settings = {
delay = 200;
expand = 1;