add mapping for escaping terminal
This commit is contained in:
parent
0369a8ad77
commit
ef27ad4f2d
2 changed files with 16 additions and 9 deletions
|
@ -225,8 +225,5 @@ M.misc_mappings = function()
|
|||
map("", "k", 'v:count || mode(1)[0:1] == "no" ? "k" : "gk"', { expr = true })
|
||||
map("", "<Down>", 'v:count || mode(1)[0:1] == "no" ? "j" : "gj"', { expr = true })
|
||||
map("", "<Up>", 'v:count || mode(1)[0:1] == "no" ? "k" : "gk"', { expr = true })
|
||||
|
||||
-- esscape from terminal mode
|
||||
map("t", "jk", "<C-\\><C-n>")
|
||||
end
|
||||
return M
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue