pappasam / nvim-repl

52 stars 12 forks source link

Add ReplClear command. #1

Closed kevinhalliday closed 4 years ago

kevinhalliday commented 4 years ago

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.

pappasam commented 4 years ago

lgtm!