1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 15:18:01 +00:00

Add Quick Clojure Docs as a clojure til.

This commit is contained in:
jbranchaud
2015-04-07 08:40:18 -05:00
parent 7bc517ba6c
commit 4dbc79fd68
2 changed files with 10 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
### clojure
- [Quick Clojure Docs](clojure/quick-clojure-docs.md)
- [Specify the Directory of a Shell Command](clojure/specify-the-directory-of-a-shell-command.md)
- [Splitting On Whitespace](clojure/splitting-on-whitespace.md)
- [Swap Two Items in a Vector](clojure/swap-two-items-in-a-vector.md)

View File

@@ -0,0 +1,9 @@
# Quick Clojure Docs
Assuming you already have the
[`fireplace.vim`](https://github.com/tpope/vim-fireplace) plugin installed
and a repl running, you can quickly pull up the docs for any clojure
function. Navigate the cursor over the keyword in question and hit `K` in
normal mode. This will instruct `fireplace.vim` to use the `doc` function on
the symbol for that keyword. The docs associated with that keyword will be
displayed at the bottom of the window.