It's All Text! achieves pretty much that by letting you write any text in your editor of choice (which can be gvim).
Similar extensions exist for Chrome, but they require running a server in the background since Chrome doesn't let them execute external processes.