remove kterm mappings

This commit is contained in:
krolyxon 2023-05-22 13:37:49 +05:30
parent 0fa9909871
commit ad74108660
1 changed files with 30 additions and 30 deletions

View File

@ -5,10 +5,10 @@ M.general = {
["<ESC>"] = { "<cmd> noh <CR>", "no highlight" },
-- switch between windows
["<C-h>"] = { "<C-w>h", "window left" },
["<C-l>"] = { "<C-w>l", "window right" },
["<C-j>"] = { "<C-w>j", "window down" },
["<C-k>"] = { "<C-w>k", "window up" },
-- ["<C-h>"] = { "<C-w>h", "window left" },
-- ["<C-l>"] = { "<C-w>l", "window right" },
-- ["<C-j>"] = { "<C-w>j", "window down" },
-- ["<C-k>"] = { "<C-w>k", "window up" },
-- cycleling through buffers
["tk"] = { "<cmd> bnext <CR>", "Next buffer" },
@ -74,19 +74,19 @@ M.kterm = {
"toggle floating term",
},
["<A-h>"] = {
function()
require("kterm.terminal").toggle "horizontal"
end,
"toggle horizontal term",
},
["<A-v>"] = {
function()
require("kterm.terminal").toggle "vertical"
end,
"toggle vertical term",
},
-- ["<A-h>"] = {
-- function()
-- require("kterm.terminal").toggle "horizontal"
-- end,
-- "toggle horizontal term",
-- },
--
-- ["<A-v>"] = {
-- function()
-- require("kterm.terminal").toggle "vertical"
-- end,
-- "toggle vertical term",
-- },
},
n = {
@ -98,19 +98,19 @@ M.kterm = {
"toggle floating term",
},
["<A-h>"] = {
function()
require("kterm.terminal").toggle "horizontal"
end,
"toggle horizontal term",
},
["<A-v>"] = {
function()
require("kterm.terminal").toggle "vertical"
end,
"toggle vertical term",
},
-- ["<A-h>"] = {
-- function()
-- require("kterm.terminal").toggle "horizontal"
-- end,
-- "toggle horizontal term",
-- },
--
-- ["<A-v>"] = {
-- function()
-- require("kterm.terminal").toggle "vertical"
-- end,
-- "toggle vertical term",
-- },
},
}