4 ms·
>> I can run a shell command from nvim and have its output automatically pasted into my current vim buffer at the cursors location. Do you have a tutorial/reso
by artificialLimbs 5y ago
>> I can run a shell command from nvim and have its output automatically pasted into my current vim buffer at the cursors location.
Do you have a tutorial/resource on learning this?
- rank0 5y agoall you gotta do is: > :read !{command} so ":read !pwd" will paste your current directory into your open buffer. Another cool thing...you can pipe cli output directly to nvim: > curl example.com | nvim - will open a new nvim instance with a buffer containing the nice, pretty printed html of that site!