summaryrefslogtreecommitdiff
path: root/lua/maps
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2024-05-30 19:37:38 +0200
committerHampusM <hampus@hampusmat.com>2024-05-30 19:56:48 +0200
commit397231322ba179218eb89b2b9c6470387f99e221 (patch)
tree4d325be504069cf20b1802c18cff4ad3a1d6432e /lua/maps
parentf8fed2b7e64c95df81a400400e44460e6c951aa3 (diff)
remove terminal toggling in insert mode
Diffstat (limited to 'lua/maps')
-rw-r--r--lua/maps/terminal.lua7
1 files changed, 0 insertions, 7 deletions
diff --git a/lua/maps/terminal.lua b/lua/maps/terminal.lua
index cf6f999..c3dc804 100644
--- a/lua/maps/terminal.lua
+++ b/lua/maps/terminal.lua
@@ -6,13 +6,6 @@ vim.api.nvim_set_keymap(
)
vim.api.nvim_set_keymap(
- "i",
- "<leader>t",
- "<Esc>:lua toggle_terminal(vim.g.terminal_height)<CR>",
- {silent = true, noremap = true}
-)
-
-vim.api.nvim_set_keymap(
"t",
"<leader>t",
"<C-\\><C-n>:lua toggle_terminal(vim.g.terminal_height)<CR>",