Google search a word before adding it to a Vim spell file
Sometimes I'm working in Vim with spell-checking turned on and type a word Vim does not recognize. At that point I tend to second-guess myself about whether I've spelled it correctly.
With the vim-g plugin, I can easily Google search the word under the cursor to double-check myself with the :G
command:
Confidence restored, I can add the word to the spell file with the zg
command so Vim will recognize it in the future.
Caveat: this plugin does not work on Windows as of this writing. I have filed an issue on its GitHub page. Update: I submitted a pull request to support Windows, which has been merged.
Written by Keith Pinson
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#