14 lines
296 B
Nix
14 lines
296 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>")
|
|
'';
|
|
}
|