Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.09 KB

README.md

File metadata and controls

30 lines (22 loc) · 1.09 KB

vim-stackoverflow

A vim plugin that allows you to search Stack Overflow right from vim.

Requires vim compiled with python support. You can check this by running vim --version | grep +python - if something is returned, you're good to go.

Installation

Use your plugin manager of choice.

  • Pathogen
    • git clone https://github.com/mickaobrien/vim-stackoverflow ~/.vim/bundle/vim-stackoverflow
  • Vundle
    • Add Plugin 'mickaobrien/vim-stackoverflow' to .vimrc
    • Run :PluginInstall
  • NeoBundle
    • Add NeoBundle 'https://github.com/mickaobrien/vim-stackoverflow' to .vimrc
    • Run :NeoBundleInstall
  • vim-plug
    • Add Plug 'https://github.com/mickaobrien/vim-stackoverflow' to .vimrc
    • Run :PlugInstall

Usage

The plugin adds one command, :StackOverflow. It can be called as follows

:StackOverflow 'query'

This will open a buffer with relevant Stack Overflow questions. o will toggle the questions open and closed.