From 03f44f7dc5c60bffc7aec006353b2393aa01392a Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Sun, 14 Mar 2021 15:47:45 -0700 Subject: [PATCH] vim note --- 96fc3093.md | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 96fc3093.md diff --git a/96fc3093.md b/96fc3093.md new file mode 100644 index 0000000..e676066 --- /dev/null +++ b/96fc3093.md @@ -0,0 +1,39 @@ +--- +date: 2021-03-14T15:23 +tags: + - vim +--- + +# `:read` allows piping shell stdout into a buffer + +```vim +:read !ls +``` + +for example: + +``` +041a1acc.md +56653cb1.md +73dcbcc7.md +82ded935.md +9227847e.md +92598822.md +96fc3093.md +9b74f625.md +9db45ab6.md +aab45963.md +acc60422.md +b364352b.md +b926d9bd.md +c4e96daf.md +d2e178e0.md +da69e0f5.md +dc879f80.md +ec21e3f5.md +ec672cb5.md +fa6a31b4.md +index.md +neuron.dhall +static +```