s1n7ax / nvim-terminal

A Lua-Neovim plugin that toggles a terminal
MIT License
117 stars 6 forks source link

I don't know how to switch from insert mode back to normal mode. #8

Closed whxcode closed 2 years ago

whxcode commented 2 years ago

I use ; after opening the terminal, I press the i key to enter the insert mode, but I want to return to the normal mode, press the ESC key, and cannot switch back, what should I do?

image

s1n7ax commented 2 years ago

You can use ctrl + \ ctrl + n to go to normal mode. Of course you can add a easier keymap

whxcode commented 2 years ago

You can use ctrl + \ ctrl + n to go to normal mode. Of course you can add a easier keymap

Hi s1n7ax,I have tried using ctrl + \ and ctrl + n, but still cannot change the insert mode to normal mode.

whxcode commented 2 years ago

You can use ctrl + \ ctrl + n to go to normal mode. Of course you can add a easier keymap I look in the help documentation of neovim, find a statement, add it to my .vimrc file, and then I can switch between different modes normally, thank you for your help.

image