From 511f80a8ed6dd3671d4d54d8144c0003dc9758c5 Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Tue, 14 Mar 2023 21:02:46 +0100 Subject: [PATCH] A few hydra simplifications --- dotfiles/neovim/README.md | 1 - dotfiles/neovim/lua/my/plugins/hydra.lua | 12 ------------ 2 files changed, 13 deletions(-) diff --git a/dotfiles/neovim/README.md b/dotfiles/neovim/README.md index 18dd5f4..2c42b41 100644 --- a/dotfiles/neovim/README.md +++ b/dotfiles/neovim/README.md @@ -179,7 +179,6 @@ Idris keybinds live in the `I` namespace. | v | Split vertically | | o | Close all other | | q | Close window | -| w/Esc | Exit window mode | #### Venn mode diff --git a/dotfiles/neovim/lua/my/plugins/hydra.lua b/dotfiles/neovim/lua/my/plugins/hydra.lua index adae89d..6e310d8 100644 --- a/dotfiles/neovim/lua/my/plugins/hydra.lua +++ b/dotfiles/neovim/lua/my/plugins/hydra.lua @@ -105,22 +105,10 @@ function M.config() end, }, { "=", "=", { desc = "equalize" } }, - { "s", pcmd("split", "E36") }, - { "", pcmd("split", "E36"), { desc = false } }, { "v", pcmd("vsplit", "E36") }, - { "", pcmd("vsplit", "E36"), { desc = false } }, - - { "w", "w", { exit = true, desc = false } }, - { "", "w", { exit = true, desc = false } }, - { "o", "o", { exit = true, desc = "remain only" } }, - { "", "o", { exit = true, desc = false } }, - { "q", pcmd("close", "E444"), { desc = "close window" } }, - { "", pcmd("close", "E444"), { desc = false } }, - - { "", nil, { exit = true, desc = false } }, }, }) end