5

Recently I found out that vim has added the :terminal command which opens a terminal buffer within vim, however I see no way to enter normal mode so that I can move around and copy things. Neovim has it as \n. Is there an equivalent in vim which lets me switch to normal mode?

ivan
  • 263
  • 2
  • 8

1 Answers1

5

You can use Ctrl-W N to enter normal mode from the terminal. (That's Ctrl-W Shift+N, for an uppercase N).

It is also possible to use Ctrl-\ Ctrl-N, which might be easier to type (thanks @D.BenKnoble for the comment.)

Thanks @ChristianBrabandt for the tip on :help terminal-use.

filbranden
  • 28,785
  • 3
  • 26
  • 71
ivan
  • 263
  • 2
  • 8