laurentgoudet / Vim Howdoi
Licence: wtfpl
A Vim frontend for howdoi, the awesome command line tool that lets you ask what you need and grabs the snippet of code from SO.
Stars: ✭ 96
Labels
Projects that are alternatives of or similar to Vim Howdoi
Vim Jst
A vim plugin for highlighting and indenting JST/EJS syntax
Stars: ✭ 92 (-4.17%)
Mutual labels: viml
Vip
DEPRECATED - Switch to https://github.com/tobyS/pdv and https://github.com/tobyS/vip instead!
Stars: ✭ 94 (-2.08%)
Mutual labels: viml
Netrw.vim
Network oriented reading, writing, and browsing (keywords: netrw ftp scp)
Stars: ✭ 86 (-10.42%)
Mutual labels: viml
Vim config
My vim configuration; packaged to be other-user-friendly
Stars: ✭ 92 (-4.17%)
Mutual labels: viml
Bash Support.vim
BASH IDE -- Write and run BASH-scripts using menus and hotkeys.
Stars: ✭ 86 (-10.42%)
Mutual labels: viml
vim-howdoi
A Vim frontend for howdoi, the awesome command line tool that lets you ask what you need and grabs the snippet of code from SO.
Features
- Type your query and enter
<CTRL-H>
to get the code! - You can also use the plugin's menu entry under GUI
- Overwrite the default mapping with
map <WhatYouWant> <Plug>Howdoi
Requirements
Install howdoi if you haven't:
pip install howdoi
You must also have vim compiled with +python support. You can check that using the command:
vim --version | grep +python
Vim package in Ubuntu and it's derivatives comes with +python support.
Installation
Pathogen
Clone this repository in your ~/.vim/bundle
directory:
git clone https://github.com/laurentgoudet/vim-howdoi.git
Using vundle
Add this to your ~/.vimrc
file:
Bundle 'laurentgoudet/vim-howdoi.git'
Then, from the command line, run:
vim +BundleInstall +qall
Manually
Clone the plugin into a seperate directory:
cd ~/.vim
git clone https://github.com/laurentgoudet/vim-howdoi.git bundle/vim-howdoi
Add to your ~/.vimrc
:
set runtimepath^=~/.vim/bundle/vim-howdoi
Usage
- Write what your are looking for
- Press
<CTRL-H>
to get the code!
Troubleshooting
You'll maybe need LXML2 apt-get install python-lxml
if howdoi compilation fails.
License
This plugin is released under the WTFPLv2 License.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].