The ReplClear commands clears the current repl via the repl#clear
function. This function sends CTRL-l to the current repl, which should
clear most repls. Some mapping of filetype to repl clear command could
be useful in handling non standard repls.
I wanted this functionality, got something working locally, so thought I would share. But not sure if this is the best approach.
The ReplClear commands clears the current repl via the repl#clear function. This function sends CTRL-l to the current repl, which should clear most repls. Some mapping of filetype to repl clear command could be useful in handling non standard repls.
I wanted this functionality, got something working locally, so thought I would share. But not sure if this is the best approach.