Quick Emacs API lookup on devdocs.io
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit of working code. Apr 5, 2014
Makefile Add a Makefile for easy compilation May 10, 2018
README.md Update list of subjects. Dec 27, 2015
UNLICENSE Initial commit of working code. Apr 5, 2014
devdocs-lookup.el Ask for the subject only once in a given buffer May 11, 2018

README.md

Emacs devdocs-lookup

This package provides an interactive function devdocs-lookup to quickly jump to documentation on a particular API at devdocs.io with your browser. It works similarly to javadoc-lookup, using your locally-configured completing-read to select an entry.

The currently supported "subjects" are the same as devdocs.io: Angular.js, Apache HTTP Server, Backbone.js, Bower, C, Chai, Clojure, CoffeeScript, Cordova, C++, CSS, D3.js, Django, Dojo, DOM, DOM Events, Drupal, Elixir, Ember.js, Express, Flow, Git, Go, Grunt, Haskell, HTML, HTTP, io.js, JavaScript, jQuery, jQuery Mobile, jQuery UI, Knockout.js, Laravel, Less, lodash, Lua, Marionette.js, Markdown, Meteor, Ruby / Minitest, mocha, Modernizr, Moment.js, Mongoose, nginx, Node.js, Node.js (LTS), Nokogiri, npm, OpenTSDB, Phalcon, Phaser, Phoenix, PHP, PHPUnit, PostgreSQL, Python, Q, Ruby on Rails, React, React Native, Redis, Relay, RequireJS, RethinkDB, Ruby, Rust, Sass, Sinon, Socket.IO, SVG, Symfony, Underscore.js, Vagrant, Vue.js, webpack, XPath, Yii.

Optional Configuration

To bypass indicating the subject on each lookup, devdocs-lookup can generate interactive commands for each of the individual subjects by calling devdocs-setup. Your Emacs initialization file might contain the following snippet.

(devdocs-setup)
(global-set-key (kbd "C-h C-c") #'devdocs-lookup-c)
(global-set-key (kbd "C-h C-p") #'devdocs-lookup-python)
(global-set-key (kbd "C-h C-=") #'devdocs-lookup-cpp)