diff --git a/dotfiles/neovim/init.lua b/dotfiles/neovim/init.lua index 9e97ab9..7d140a3 100644 --- a/dotfiles/neovim/init.lua +++ b/dotfiles/neovim/init.lua @@ -162,6 +162,13 @@ require('catppuccin').setup({ }) vim.cmd.colorscheme "catppuccin" +----------------------------------------------------------- +-- some terminalmode settings +vim.keymap.set('t', 'h', 'h', { noremap = true, desc = "Exit terminal-mode and move to left window."}) +vim.keymap.set('t', 'j', 'j', { noremap = true, desc = "Exit terminal-mode and move to down window."}) +vim.keymap.set('t', 'k', 'k', { noremap = true, desc = "Exit terminal-mode and move to up window."}) +vim.keymap.set('t', 'l', 'l', { noremap = true, desc = "Exit terminal-mode and move to right window."}) + ----------------------------------------------------------- -- to use PowerShell on Windows -- original code from :h powershell