nix/home/file/nvim/module/key/Terminal.lua

6 lines
150 B
Lua

-- Open terminal window.
rekey_normal("<Leader>4", "<cmd>terminal<cr>")
-- Detach from terminal with Esc key.
rekey_terminal("<Esc>", "<C-\\><C-n>")