refactor: complete overhaul
Complete overhaul of repo structure based on nvix. See https://github.com/niksingh710/nvix Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
ff2c59724a
commit
61feed4086
75 changed files with 2916 additions and 2314 deletions
64
plugins/ux.nix
Normal file
64
plugins/ux.nix
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
{ pkgs, config, ... }:
|
||||
{
|
||||
extraPlugins = [
|
||||
pkgs.vimPlugins.windows-nvim
|
||||
];
|
||||
|
||||
extraConfigLua = ''
|
||||
vim.o.winwidth = 10
|
||||
vim.o.winminwidth = 10
|
||||
vim.o.equalalways = false
|
||||
require('windows').setup({
|
||||
ignore = {
|
||||
filetype = { "snacks_picker_list", "snacks_layout_box" },
|
||||
},
|
||||
})
|
||||
'';
|
||||
|
||||
plugins = {
|
||||
colorizer = {
|
||||
enable = true;
|
||||
settings = {
|
||||
filetypes = {
|
||||
__unkeyed = "*";
|
||||
};
|
||||
user_default_options = {
|
||||
names = true;
|
||||
RRGGBBAA = true;
|
||||
AARRGGBB = true;
|
||||
rgb_fn = true;
|
||||
hsl_fn = true;
|
||||
css = true;
|
||||
css_fn = true;
|
||||
tailwind = true;
|
||||
mode = "virtualtext";
|
||||
virtualtext = "■";
|
||||
always_update = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
dressing = {
|
||||
enable = true;
|
||||
settings.input.mappings.n = {
|
||||
"q" = "Close";
|
||||
"k" = "HistoryPrev";
|
||||
"j" = "HistoryNext";
|
||||
};
|
||||
};
|
||||
|
||||
fidget = {
|
||||
enable = true;
|
||||
settings = {
|
||||
progress.display.progress_icon = [ "moon" ];
|
||||
notification.window = {
|
||||
relative = "editor";
|
||||
winblend = 0;
|
||||
border = "none";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
lastplace.enable = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue