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

10 lines
187 B
Nix

{ ... }: {
text = ''
-- Open terminal window.
rekey_normal("<Leader>4", "<cmd>terminal<cr>")
-- Detach from terminal with Esc key.
rekey_terminal("<Esc>", "<C-\\><C-n>")
'';
}