Skip to content

Commit

Permalink
Emacs, Sublime Text, and Vim integration in usage.html
Browse files Browse the repository at this point in the history
  • Loading branch information
jkozera committed Feb 9, 2014
1 parent 138c97f commit 79abb31
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ <h1>
<li>
Don't be dependend on your internet connection.
</li>
<li>
Integrate Zeal with Emacs, Sublime Text, or Vim. See <a href="usage.html#plugins">Usage » Editor plugins</a> for details.
</li>
</ul>
</div>
<a class="btn btn-primary btn-large" href="download.html">
Expand Down
17 changes: 17 additions & 0 deletions usage.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ <h1>
</div>
<div class="row"><div class="span12">
<img class="pull-right" src="http://i.imgur.com/1gT8891.png"/>

<h2>Docset filter</h2>
<p>You can filter the search results to a specific (or a set of specific) docsets.</p>
<p>The docset filter and the search query are delimited by a colon character (:).</p>
Expand All @@ -20,5 +21,21 @@ <h2>Docset filter</h2>
<li>set_x will search all docsets for set_x</li>
</ul>
<img src="/static/img/search_filter.png" />

<h2 id="plugins">Editor plugins</h2>

<h3>Emacs package</h3>
<p>There is an Emacs package available at <a href="https://github.com/jinzhu/zeal-at-point">https://github.com/jinzhu/zeal-at-point</a>.</p>

<h3>Sublime Text package</h3>
<p>There is a Sublime Text 2/3 package available at <a href="https://github.com/vaanwd/Zeal">https://github.com/vaanwd/Zeal</a>.</p>

<h3>Vim integration</h3>
<p>You can use <a href="https://github.com/Keithbsmiley/investigate.vim">https://github.com/Keithbsmiley/investigate.vim</a> with something like this in .vimrc:</p>
<code>let g:investigate_command_for_python = '/usr/bin/zeal --query ^s'</code>
<p>A simpler way to integrate with Vim is a simple mapping, like</p>
<code>:nnoremap gz :!zeal --query "<cword>"&amp;&lt;CR&gt;&lt;CR&gt;</code>

<div class="clearfix"></div>

</div></div>

0 comments on commit 79abb31

Please sign in to comment.