Reorganize common configuration
This commit is contained in:
parent
b0435707e4
commit
84dfefcb45
18 changed files with 81 additions and 128 deletions
|
@ -1,31 +0,0 @@
|
|||
{ ... }: {
|
||||
programs.nixvim = {
|
||||
plugins.trouble = {
|
||||
enable = true;
|
||||
settings = {
|
||||
auto_refresh = true;
|
||||
focus = true;
|
||||
follow = false;
|
||||
keys = {
|
||||
"<cr>" = "jump_close";
|
||||
"s" = "jump_vsplit";
|
||||
"S" = "jump_split";
|
||||
};
|
||||
win = {
|
||||
type = "float";
|
||||
border = "rounded";
|
||||
};
|
||||
};
|
||||
};
|
||||
keymaps = [
|
||||
{
|
||||
action = "<cmd>Trouble diagnostics toggle<cr>";
|
||||
key = "<leader>dg";
|
||||
}
|
||||
{
|
||||
action = "<cmd>Trouble symbols toggle auto_close=true focus=true<cr>";
|
||||
key = "<leader>sy";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue