4 ms·
all 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
by rank0 5y ago
all 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!