From 59542407ea178e6ce3759ac73400cb72bf91d19e Mon Sep 17 00:00:00 2001 From: Louie Shprung Date: Mon, 10 Oct 2022 13:29:35 -0700 Subject: Organize leader keymaps; create workspace splitting keymaps --- lua/user/keymaps.lua | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lua/user/keymaps.lua b/lua/user/keymaps.lua index 4346211..4da531c 100644 --- a/lua/user/keymaps.lua +++ b/lua/user/keymaps.lua @@ -39,9 +39,6 @@ keymap("n", "", "gt", opts) keymap("n", "", ":bnext", opts) keymap("n", "", ":bprevious", opts) --- Close buffer without closing window -keymap("n", "bd", ":b#:bd#", opts) - -- Open Lexplorer --keymap("n", "e", ":Lex 30", opts) @@ -89,5 +86,12 @@ keymap("t", "", "k", term_opts) keymap("t", "", "l", term_opts) ]] +-- Buffer Options +keymap("n", "bd", ":b#:bd#", opts) --Close buffer without closing window + -- Toggle GUI colors keymap("n", "g", ":set termguicolors!:TSToggle highlight", opts) + +-- Workspace Options +keymap("n", "wsh", ":split", opts) --Horizontal split workspace +keymap("n", "wsv", ":vs", opts) --Vertical split workspace -- cgit