1
Fork 0

A few hydra simplifications

This commit is contained in:
Matei Adriel 2023-03-14 21:02:46 +01:00
parent d4bb15e222
commit 511f80a8ed
No known key found for this signature in database
2 changed files with 0 additions and 13 deletions

View file

@ -179,7 +179,6 @@ Idris keybinds live in the `<leader>I` namespace.
| v | Split vertically |
| o | Close all other |
| q | Close window |
| w/Esc | Exit window mode |
#### Venn mode

View file

@ -105,22 +105,10 @@ function M.config()
end,
},
{ "=", "<C-w>=", { desc = "equalize" } },
{ "s", pcmd("split", "E36") },
{ "<C-s>", pcmd("split", "E36"), { desc = false } },
{ "v", pcmd("vsplit", "E36") },
{ "<C-v>", pcmd("vsplit", "E36"), { desc = false } },
{ "w", "<C-w>w", { exit = true, desc = false } },
{ "<C-w>", "<C-w>w", { exit = true, desc = false } },
{ "o", "<C-w>o", { exit = true, desc = "remain only" } },
{ "<C-o>", "<C-w>o", { exit = true, desc = false } },
{ "q", pcmd("close", "E444"), { desc = "close window" } },
{ "<C-q>", pcmd("close", "E444"), { desc = false } },
{ "<Esc>", nil, { exit = true, desc = false } },
},
})
end