nix/home/file/nvim/module/key/Trouble.nix

12 lines
285 B
Nix

{ ... }: let
focus = true;
in {
text = ''
-- Toggle diagnostics window.
rekey_normal("<Leader>2", "<cmd>Trouble diagnostics toggle focus=${toString focus}<cr>")
-- Toggle To-do window.
rekey_normal("<Leader>3", "<cmd>Trouble todo toggle focus=${toString focus}<cr>")
'';
}