I use vim for bash scripting. the thing is sometimes I don't want to create a new file, make it executable, execute it and then remove it. I mean the scripts which are going to be used only once.
For instance I open vim and type this:
#!/bin/bash ll | while read line do echo $line done
I did not save this file, I just use vim to simplify bash-scripting. I know I can execute a bash command via
! in vim. But what about executing everything that is in the buffer?