add cosmetic changes to comments and keybindings

This commit is contained in:
Michael Flossmann 2024-08-22 09:55:21 +02:00 committed by prunebutt
parent 55008ce528
commit 7e67b345e9
8 changed files with 68 additions and 33 deletions

View file

@ -104,7 +104,7 @@
}
{
desc = "Find words";
key = "<leader>fg";
key = "<leader>fw";
fn = "live_grep";
}
{
@ -147,15 +147,31 @@
key = "<leader>fC";
fn = "commands";
}
{
desc = "Find man";
key = "<leader>fm";
fn = "man_pages";
}
{
desc = "Find words in all files";
key = "<leader>fm";
fn = "live_grep";
args.additional_args.__raw = ''function(args) return vim.list_extend(args, { "--hidden", "--no-ignore" }) end'';
}
{
desc = "Find themes";
key = "<leader>ft";
fn = "colortheme";
fn = "colorscheme";
args = {
enable_preview = true;
ignore_builtins = true;
};
}
{
desc = "Search diagnostics";
key = "<leader>lD";
fn = "diagnostics";
}
];
};
}