sponsor Vim development Vim logo Vim Book Ad

vim-stackoverflow : A tiny plugin for searching Stackoverflow from VIM editor

 script karma  Rating 11/5, Downloaded by 986  Comments, bugs, improvements  Vim wiki

created by
Hien Vuong
 
script type
utility
 
description
vim-stackoverflow is a tiny plugin that allows you to perform a quick Stackoverflow search directly from Vim.

It opens a new browser window with results.

With inspiration from vim-g

To lookup a word (or words) in Stackoverflow use SO command:

:SO ruby
SO command can use a word under the cursor. Just move the cursor to the word and type the same command in the command line:

:SO
Additionally, you can select words in the visual mode exactly in the same way. Just select words and type :SO. You can also prepend your selection with more clues:

:SO function
:SO ruby
There is also a special command named SOf to prepend the current file type automatically:

:SOf
:SOf function
 
install details
Vundle

Add to your .vimrc

Plugin 'hienvd/vim-stackoverflow'

then open VIM, install

:PluginInstall
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
stackoverflow.vim 1.0 2016-05-07 7.0 Hien Vuong Initial upload
ip used for rating: 18.97.14.85

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github