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:
@@ -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>";
|
||||
|
||||
Reference in New Issue
Block a user