mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 01:18:30 +09:00
33 lines
680 B
Nix
33 lines
680 B
Nix
{ pkgs, ... }:
|
|
{
|
|
programs.nixvim = {
|
|
extraPlugins = [ pkgs.vimPlugins.snacks-nvim ];
|
|
|
|
extraConfigLua = ''
|
|
require("snacks").setup({
|
|
picker = {
|
|
enabled = true,
|
|
|
|
actions = require("trouble.sources.snacks").actions,
|
|
|
|
win = {
|
|
input = {
|
|
keys = {
|
|
["<C-t>"] = {
|
|
"trouble_open",
|
|
mode = { "n", "i" },
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
|
|
notifier = { enabled = true },
|
|
words = { enabled = true },
|
|
scroll = { enabled = true },
|
|
dim = { enabled = true },
|
|
})
|
|
'';
|
|
};
|
|
}
|