3 ms·
> when focused a new mode is entered where all keys are passed directly to the program. The <c-g><esc> combination will return to normal mode. Is there a mode
by zokier 12y ago
> when focused a new mode is entered where all keys are passed directly to the program. The <c-g><esc> combination will return to normal mode.
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?
- bch 12y agoNot 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]")