Hacker News new | ask | show | jobs
by icc97 2902 days ago
Well if nothing else Vim is very nice for modifying text strings. So for example I might be writing some markdown for a Stack Overflow answer / GitHub issue, if I can quickly open a tab in my browser format all the text nicely - e.g. indenting all the code 4 spaces in for SO and then yank and paste it back into SO. You don't ever need to leave the context of the browser and you get some added text formatting properties.

It's probably not a huge benefit, but in the same way you can often SSH into somewhere open up Vim make a change and then leave, I can see it being a nice 'clipboard' for my web text. It's not a lot different just to switching to Vim running on your desktop, but I often keep Vim in a separate virtual desktop. I could then also potentially optimise by browser Vim for formatting Markdown / JSON.

It also shows some of the lovely flexibility of Vim.

1 comments

May as well use a browser with native vim bindings/behaviors (i.e. qutebrowser)
That doesn't give you a nice scratch pad / clipboard though.

Plus the browser bindings are never quite right. Although this implementation is a bit buggy, it's actual Vim. So where as it might not have things like multiple buffers, just being able to edit a single buffer in a familiar environment is a really nice feature to have.

I'm certainly going to give this a shot when I next add an answer to SO.