Send text to terminal window
- Run terminal in split:
:vsplit | terminal
- Focus window with:
<leader>!
- Select Command to run:
Shift+V
- To dispatch command to terminal: Press
g
# Works with any shell
ls
echo "hello world"
# Can work with any console
irb
# Finish
exit
# It Works
message = ["hello", "world"].join(" ")
message.split(" ").first