2025-01-16 20:22:18 +01:00
|
|
|
{ ... }:
|
|
|
|
{
|
2024-12-10 07:38:15 +01:00
|
|
|
keymaps = [
|
|
|
|
{
|
|
|
|
# Focus file tree
|
|
|
|
key = "<leader>v";
|
|
|
|
action = "<cmd>CHADopen --always-focus<cr>";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
# Toggle file tree
|
|
|
|
key = "<leader>e";
|
|
|
|
action = "<cmd>CHADopen<cr>";
|
|
|
|
}
|
2025-01-16 20:22:18 +01:00
|
|
|
{
|
|
|
|
# format current document
|
|
|
|
mode = "n";
|
|
|
|
key = "<leader>bf";
|
|
|
|
action = "<cmd>lua require('conform').format()<cr>";
|
|
|
|
options = {
|
|
|
|
silent = true;
|
|
|
|
desc = "Format Buffer";
|
|
|
|
};
|
|
|
|
}
|
2024-12-10 07:38:15 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
}
|