diff --git a/lua/keymap/tool.lua b/lua/keymap/tool.lua index 11a29b68f..d28a07db1 100644 --- a/lua/keymap/tool.lua +++ b/lua/keymap/tool.lua @@ -23,7 +23,10 @@ local plug_map = { -- Plugin: toggleterm ["t|"] = map_cmd([[]]):with_noremap():with_silent(), -- switch to normal mode in terminal. ["t|jk"] = map_cmd([[]]):with_noremap():with_silent(), -- switch to normal mode in terminal. - ["n|"] = map_cr("ToggleTerm"):with_noremap():with_silent():with_desc("terminal: Toggle horizontal"), + ["n|"] = map_cr("ToggleTerm direction=horizontal") + :with_noremap() + :with_silent() + :with_desc("terminal: Toggle horizontal"), ["i|"] = map_cmd("ToggleTerm") :with_noremap() :with_silent()