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:
@@ -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)
|
||||
|
||||
9
clojure/quick-clojure-docs.md
Normal file
9
clojure/quick-clojure-docs.md
Normal 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.
|
||||
Reference in New Issue
Block a user