nix/module/common/nvim/key/Terminal.lua
2024-03-04 03:04:57 +03:00

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>")