add: nvim: terminal mode keymaps
This commit is contained in:
parent
6b6da565ee
commit
254be4c8c1
1 changed files with 7 additions and 0 deletions
|
@ -162,6 +162,13 @@ require('catppuccin').setup({
|
|||
})
|
||||
vim.cmd.colorscheme "catppuccin"
|
||||
|
||||
-----------------------------------------------------------
|
||||
-- some terminalmode settings
|
||||
vim.keymap.set('t', '<C-w>h', '<C-\\><C-N><C-w>h', { noremap = true, desc = "Exit terminal-mode and move to left window."})
|
||||
vim.keymap.set('t', '<C-w>j', '<C-\\><C-N><C-w>j', { noremap = true, desc = "Exit terminal-mode and move to down window."})
|
||||
vim.keymap.set('t', '<C-w>k', '<C-\\><C-N><C-w>k', { noremap = true, desc = "Exit terminal-mode and move to up window."})
|
||||
vim.keymap.set('t', '<C-w>l', '<C-\\><C-N><C-w>l', { noremap = true, desc = "Exit terminal-mode and move to right window."})
|
||||
|
||||
-----------------------------------------------------------
|
||||
-- to use PowerShell on Windows
|
||||
-- original code from :h powershell
|
||||
|
|
Loading…
Reference in a new issue