Neogit: update keymaps

This commit is contained in:
Paul-Henri Froidmont 2024-07-14 13:29:24 +02:00
parent de024aa2bd
commit d3cf892061
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE

View file

@ -160,27 +160,27 @@ in {
{ {
key = "<leader>sh"; key = "<leader>sh";
action = "<CMD>Telescope help_tags<CR>"; action = "<CMD>Telescope help_tags<CR>";
options.desc = "[S]earch [H]elp"; options.desc = "Search help";
} }
{ {
key = "<leader>sk"; key = "<leader>sk";
action = "<CMD>Telescope keymaps<CR>"; action = "<CMD>Telescope keymaps<CR>";
options.desc = "[S]earch [K]eymaps"; options.desc = "Search keymaps";
} }
{ {
key = "<leader>ss"; key = "<leader>ss";
action = "<CMD>Telescope<CR>"; action = "<CMD>Telescope<CR>";
options.desc = "[S]earch [S]elect Telescope"; options.desc = "Search select Telescope";
} }
{ {
key = "<leader>/"; key = "<leader>/";
action = "<CMD>Telescope live_grep layout_strategy=vertical<CR>"; action = "<CMD>Telescope live_grep layout_strategy=vertical<CR>";
options.desc = "Search with rg"; options.desc = "Grep (root dir)";
} }
{ {
key = "<leader>sR"; key = "<leader>sR";
action = "<CMD>Telescope resume<CR>"; action = "<CMD>Telescope resume<CR>";
options.desc = "[S]earch [R]esume"; options.desc = "Search resume";
} }
{ {
key = "<leader>cx"; key = "<leader>cx";
@ -219,6 +219,12 @@ in {
{ {
key = "<leader>bb"; key = "<leader>bb";
action = "<CMD>Telescope buffers layout_strategy=vertical<CR>"; action = "<CMD>Telescope buffers layout_strategy=vertical<CR>";
options.desc = "Switch buffer";
}
{
key = "<leader>,";
action = "<CMD>Telescope buffers layout_strategy=vertical<CR>";
options.desc = "Switch buffer";
} }
{ {
key = "<leader>bn"; key = "<leader>bn";