mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 11:12:09 +02:00
change nixvim config
This commit is contained in:
@@ -7,13 +7,12 @@
|
||||
icons = { };
|
||||
# TODO: Learn how to use this
|
||||
bracketed = { };
|
||||
tabline = { };
|
||||
statusline = { };
|
||||
git = { };
|
||||
diff = { };
|
||||
starter = { };
|
||||
pairs = { };
|
||||
notify = { lsp_progress.enable = false; };
|
||||
indentscope = { };
|
||||
git = { };
|
||||
cursorword = { };
|
||||
comment = { };
|
||||
starter = { };
|
||||
|
||||
@@ -1,5 +1,21 @@
|
||||
{
|
||||
{ config, ... }: {
|
||||
programs.nixvim = {
|
||||
highlightOverride = {
|
||||
SnacksPicker = {
|
||||
bg = "none";
|
||||
nocombine = true;
|
||||
};
|
||||
SnacksPickerBorder = {
|
||||
bg = "none";
|
||||
fg = "#${config.lib.stylix.colors.base0D}";
|
||||
};
|
||||
SnacksPickerTree = { bg = "#${config.lib.stylix.colors.base00}"; };
|
||||
FloatBorder = {
|
||||
bg = "#${config.lib.stylix.colors.base00}";
|
||||
fg = "#${config.lib.stylix.colors.base0D}";
|
||||
};
|
||||
NormalFloat = { bg = "#${config.lib.stylix.colors.base00}"; };
|
||||
};
|
||||
plugins = {
|
||||
snacks.settings = {
|
||||
picker.enable = true;
|
||||
@@ -133,6 +149,11 @@
|
||||
action = "<cmd>lua Snacks.picker.lines()<cr>";
|
||||
options.desc = "Buffer Lines";
|
||||
}
|
||||
{
|
||||
key = "<leader>st";
|
||||
action = "<cmd>TodoLocList<cr>";
|
||||
options.desc = "Todos";
|
||||
}
|
||||
{
|
||||
key = "<leader>sB";
|
||||
action = "<cmd>lua Snacks.picker.grep_buffers()<cr>";
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
quickfile.enable = true;
|
||||
statuscolumn.enable = true;
|
||||
zen.enable = true;
|
||||
bufdelete.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -29,6 +30,11 @@
|
||||
action = "<cmd>lua Snacks.dim.disable()<cr>";
|
||||
options.desc = "Undim";
|
||||
}
|
||||
{
|
||||
key = "<leader>wc";
|
||||
action = "<cmd>lua Snacks.bufdelete.all()<cr>";
|
||||
options.desc = "Close all buffers";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,13 +2,15 @@
|
||||
programs.nixvim = {
|
||||
nixpkgs.config.allowUnfree = true; # For copilot
|
||||
highlightOverride = {
|
||||
FloatBorder.fg = "#${config.lib.stylix.colors.base0D}";
|
||||
WhichKeySeparator.bg = "#${config.lib.stylix.colors.base00}";
|
||||
};
|
||||
plugins = {
|
||||
bufferline.enable = true;
|
||||
copilot-vim.enable = true;
|
||||
flash.enable = true;
|
||||
tmux-navigator.enable = true;
|
||||
todo-comments.enable = true;
|
||||
lualine = { enable = true; };
|
||||
treesitter = {
|
||||
enable = true;
|
||||
nixGrammars = true;
|
||||
|
||||
Reference in New Issue
Block a user