update nvim: add back from terminal shortcut
This commit is contained in:
parent
fd46cc290a
commit
00807fc9e7
@ -39,6 +39,9 @@ return {
|
|||||||
|
|
||||||
-- 添加第二個快捷鍵映射
|
-- 添加第二個快捷鍵映射
|
||||||
vim.api.nvim_set_keymap('n', '<C-`>', '<cmd>ToggleTerm<CR>', { noremap = true, silent = true })
|
vim.api.nvim_set_keymap('n', '<C-`>', '<cmd>ToggleTerm<CR>', { noremap = true, silent = true })
|
||||||
|
|
||||||
|
-- 添加Alt+Esc鍵離開終端模式,回到Normal Mode
|
||||||
|
vim.api.nvim_set_keymap('t', '<A-Esc>', [[<C-\><C-n>]], { noremap = true, silent = true })
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user