2

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?

1
2

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.

1
  • 2
    Also <C-\><C-n>, which i find easier to type.
    – D. Ben Knoble
    Jul 17 '19 at 12:45

Not the answer you're looking for? Browse other questions tagged or ask your own question.