Dup Ver Goto 📝

External-commands

PT2/editor/vim does not exist
To
16 lines, 116 words, 624 chars Page 'External-commands' does not exist.
:!ls          # run ls
:r! ls        # run ls and paste output into buffer
:w !pc        # pipe buffer into command pc
:'<,'>w !pc   # pipe vis-selected lines into pc
:4,6w !pc     # pipe lines 4..6 into pc

now these all give a Press ENTER message. To avoid this,

:silent w !pc
:silent '<,'>w !pc

this latter one is annoying, so hopefully I can write a function and key-combo to do this, as I use pc and pp as platform-agnostic commands to read and write from the system clipboard, and get X and put X to store stuff in files in a ~/.jstore/ directory as a means of having a persistent clipboard.