In tmux there is a command which clears any additional history that may have shown up in the buffer.

Does vim have a similar function for clearing out a vim terminal?

  • 1
    There is no command or vimscript function for that. The closest you can get with Vim's own stuff is adjusting :help 'termwinscroll' and that's not super close. This looks like something that could be added.
    – romainl
    Apr 11 at 8:00


Your Answer

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

Browse other questions tagged or ask your own question.