I often use
vim via terminal wrapper (e.g.
gnome-terminal --disable-factory --command='vim /tmp/firefox12345.txt') to edit a textarea on websites, e.g. when writing this question.
Whenever I put in a block of code I wonder if I can somehow:
- visually select whole indented part of text in the current buffer
- open it in a new one
- edit, write and close it
- have vim "update" all my changes in the original buffer