diff options
author | Louie Shprung <lshprung@scu.edu> | 2022-10-10 13:29:35 -0700 |
---|---|---|
committer | Louie Shprung <lshprung@scu.edu> | 2022-10-10 13:29:35 -0700 |
commit | 59542407ea178e6ce3759ac73400cb72bf91d19e (patch) | |
tree | de78d3b650e5bb6f746a410be5ea63cd7cafc91f /lua/user | |
parent | 9b3ff364b91f8e481904669c082821d1792bd3b1 (diff) |
Organize leader keymaps; create workspace splitting keymaps
Diffstat (limited to 'lua/user')
-rw-r--r-- | lua/user/keymaps.lua | 10 |
1 files 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", "<S-Right>", "gt", opts) keymap("n", "<S-Down>", ":bnext<CR>", opts) keymap("n", "<S-Up>", ":bprevious<CR>", opts) --- Close buffer without closing window -keymap("n", "<leader>bd", ":b#<CR>:bd#<CR>", opts) - -- Open Lexplorer --keymap("n", "<leader>e", ":Lex 30<cr>", opts) @@ -89,5 +86,12 @@ keymap("t", "<C-k>", "<C-\\><C-N><C-w>k", term_opts) keymap("t", "<C-l>", "<C-\\><C-N><C-w>l", term_opts) ]] +-- Buffer Options +keymap("n", "<leader>bd", ":b#<CR>:bd#<CR>", opts) --Close buffer without closing window + -- Toggle GUI colors keymap("n", "<leader>g", ":set termguicolors!<CR>:TSToggle highlight<CR>", opts) + +-- Workspace Options +keymap("n", "<leader>wsh", ":split<CR>", opts) --Horizontal split workspace +keymap("n", "<leader>wsv", ":vs<CR>", opts) --Vertical split workspace |