rhysd / reply.vim

REPLs play nicely with :terminal on Vim and Neovim
MIT License
186 stars 7 forks source link

Can't move back to my vim window #16

Closed foreverLoveWisdom closed 4 years ago

foreverLoveWisdom commented 4 years ago

The plugin has been working great for me so far. However, whenever I switch to the Repl window, I can't move back to my current buffer window. I use the normal navigation mappings of Vim C-w + h or C-w + l.

I have tried to check the doc but it doesn't mention anything about navigation between the Repl window and the buffer window.

foreverLoveWisdom commented 4 years ago

Never mind: Turns out that I am looking for a solution at the wrong place. I just need to figure out how to get back to normal mode in the Terminal mode in Vim or Neovim. This works wor me: :tnoremap <Esc> <C-\><C-n>