1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-08 09:38:04 +00:00

Add Documentation Lookup With Vim and Alchemist as an elixir til

This commit is contained in:
jbranchaud
2016-08-26 13:55:33 -05:00
parent 17f6534de7
commit 106be8ef1e
2 changed files with 18 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
# Documentation Lookup With Vim And Alchemist
_Which argument position is the accumulator for `Enum.reduce/3`?_
_How does `group_by` work?_
I find myself fairly frequently jumping from vim to Chrome to do Google
searches for Elixir standard lib documentation. It gets the job done, but it
is kinda slow and I'd prefer to avoid the context switch.
With [alchemist.vim](https://github.com/slashmili/alchemist.vim), Elixir
documentation lookup is at your finger tips. Just move the cursor over the
module or function you are curious about and hit `K` (from normal mode).
Curious about `Enum.reduce`? Type it out in your current Vim buffer, move
the cursor over it, and hit `K`.