Whenever I type a shell command, like:


Neovim will display it at the bottom of my screen. I'd like it to, instead, clear the whole window, and display it at the top. Is that possible?

  • Does this plugin work for Neovim? github.com/AndrewRadev/bufferize.vim
    – Heptite
    Commented Jun 7 at 0:14
  • 1
    Do you still have something open in your question? How can we help you further? Otherwise maybe could you accept one of the answers using the v button next to the arrow voting buttons. It allow the question to rest :-) Commented Jun 8 at 5:59
  • @VivianDeSmedt sorry for the delay, I didn't get the notifications, thanks for pinging me.
    – MaiaVictor
    Commented Jun 8 at 21:12

1 Answer 1


I would do:

:terminal ls

Or its short form:

:te ls

This start a terminal buffer and run the ls command in it.

Since it is a terminal buffer you can switch to:

  • Terminal mode using a (or i or A or even I)
  • Normal mode using Ctrl \Ctrl n

In Normal mode you can navigate into the buffer using Neovim buffer functionalities.

  • The full command is :terminal.
    – D. Ben Knoble
    Commented Jun 7 at 15:57
  • Thanks, this does work, but it is still not clear how to go back. These commands don't work on my setup, so I've done tnoremap <Esc> <C-\><C-n>, but pressing Esc does nothing. So I can't go back to the original screen at all. Am I missing something?
    – MaiaVictor
    Commented Jun 8 at 21:11
  • 1
    Thanks the feedback :-) To go back to the original screen you can close this terminal buffer with the :bd command. Commented Jun 8 at 22:48
  • The :bd command just exists neovim entirely here?
    – MaiaVictor
    Commented Jun 23 at 19:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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