• Wincent
    Menu
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search

Insert the output of a command into a buffer in VimEdit

Created 2011-11-08, updated 2017-05-18

:read !ls

Relatedly, you can insert the contents of a file with:

:read path/to/file
  • vim
  • wiki
Site
  • About
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search
External
  • GitHub
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
Colophon

Made by Greg Hurrell with Rust (with help from Git and Neovim).