I’ve recently begun using Vim/tmux. I would like to be able to clear the scrollback history in various panes when they get full, and have done a fair amount of searching online about this. It seems that the command
:clear-history is supposed to do the trick, something equivalent to
Cmd-K in a normal terminal. (For example, see articles here and here.) Unfortunately, when I enter this command from within tmux, it has no effect whatsoever.
It is commonly suggested to map the
Ctrl-K key combo to the
:clear-history command, but I can’t do that very well since I have done the Vim motion setup for navigating panes as explained on the Thoughbot blog. (I’ve tried alternate key bindings to no effect.) However, my understanding is that just entering the
:clear-history by itself should work.
Here’s some info on my setup:
Thank you in advance for any help!