Open mohamadiarch opened 12 months ago
I'm on Linux with nvim v0.9.0 and tried it in my own config.
What is supposed to be happening is while in terminal, you exit to normal mode <C-\\><C-N>
. Then, switch a window in hjkl direction <C-w>l
which doesn't seem to do anything.
In my config I was able to add a sleep in between both actions to fix this issue in a similar scenario. Haven't had luck doing that here (I haven't tried with [[ ]] maybe that would fix this; written differently since [[ ]] strings work differently.)
Notes for example below:
:Vex
(Vertical explorer). In this case, the window switches back to the previous window.vim.keymap.set("n", "<leader>zo", [[:SymbolsOutline<CR><C-w><C-w><CR>]])
vim.keymap.set("n", "<leader>zo", [[:SymbolsOutline<CR>:sl! 100m<CR><C-w><C-w><CR>]])
The file
keymaps.lua
contains these codes:I am using
neovim-qt
in Windows and I think these keymaps are the same and just take me to normal mode and nothing more. Are they related to terminal navigation? I`m confused....