brobeson / Tools

Scripts written to aid software development.
2 stars 1 forks source link

Vim map to write a file, then open it in the current buffer #33

Open brobeson opened 8 years ago

brobeson commented 8 years ago

I've been bitten by using the command :w new_file, then start making changes thinking that I'm editing "new_file" instead of "old_file". This enhancement is for a vim mapping or command similar the :w command, but which will also switch to the new file.