Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Re your edit: they explain it pastes the output of the command directly into your buffer, rather than temporarily showing you a shell with the output.


You can just do `:r !ls` to do that. Using <C-R>=system('ls') is way overkill.

That said I do agree that the expression register is amazing.


Oh, I missed that! Thanks for pointing that out :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: