Re:Neovim now has builtin terminal emulation via libvterm
by bch on Monday March 02, 2015 @03:56PM
(#9134267)
Not neovim tested (I'm an nvi user), but:
[editeditedit]; # <--- on an empty line
<command-mode on your crafted line> 0"ay$ ;# go to start of line, in a buffer named "a" yank to EOL
@a ;# <-- execute the buffer "a"
Example line:
:r!ls -ld <splat>^M
^-- enter ed mode, read contents of command "ls -ld <splat>"[enter]
Is that close (or adaptable?) to what you're thinking of?
EDIT: Test in vim (it works) and change the "[shift 8]" to <splat> (HN html renderer was swallowing the "[shift 8]")
Is there a mode (planned) that would have local line editing? Something like having a buffer where you can compose your line and then send it to running program. Or can you do that already?