open output from command in vim code example Example: pipe shell output to vim ls -la | vim - or vim <(ls -la)