Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion] Adding Term mode keys to nvim config by default #405

Open
Archie-2021 opened this issue Sep 25, 2024 · 0 comments
Open

[Suggestion] Adding Term mode keys to nvim config by default #405

Archie-2021 opened this issue Sep 25, 2024 · 0 comments

Comments

@Archie-2021
Copy link

I find this config working very well with this plugin. Since I usually only use Vim Windows to use vim terminal mode anyway. Maybe could be added to default config:

vim.keymap.set( "t", '<C-h>', '<C-\\><C-N><C-w>h', { desc = "Terminal mode Focus Left" })
vim.keymap.set( "t", '<C-j>', '<C-\\><C-N><C-w>j', { desc = "Terminal mode Focus Down" })
vim.keymap.set( "t", '<C-k>', '<C-\\><C-N><C-w>k', { desc = "Terminal mode Focus Up" })
vim.keymap.set( "t", '<C-l>', '<C-\\><C-N><C-w>l', { desc = "Terminal mode Focus Right" })

Thanks for your efforts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant