summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJackson Taylor <jtaylor@classicalconversations.com>2023-05-18 11:02:36 -0400
committerJackson Taylor <jtaylor@classicalconversations.com>2023-05-18 11:02:36 -0400
commit47d1f0047bfa2d6bd916a748bcdd97bc9e9adb18 (patch)
tree07380c19a0d5b687dcd0072f78919a10ebbff555
parent80657c0c6f2c75924be2b89a3df3f6790432caf7 (diff)
Keymaps: change split maps to be more memorable
o for ":only" makes more sense to me than "quit".
-rw-r--r--after/plugin/which-key.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/after/plugin/which-key.lua b/after/plugin/which-key.lua
index a32b5dd..be6392e 100644
--- a/after/plugin/which-key.lua
+++ b/after/plugin/which-key.lua
@@ -108,8 +108,8 @@ function whichkey_setup()
s = {
name = "Splits",
- c = {"<cmd>q<CR>", "Close the current split"},
- q = {"<cmd>only<CR>", "Close all splits"},
+ c = {"<cmd>close<CR>", "Close the current split"},
+ o = {"<cmd>only<CR>", "Close all splits"},
s = {"<cmd>split<CR>", "Create horizontal split"},
v = {"<cmd>vsplit<CR>", "Create vertical split"},
},