One of the things I love most of textmate is the possibility of many bundles to search for documentation with a simple ^-H, it's fantastic.
Now I'm studying erlang and I didn't find this functionality in the bundle, then I made this
#!/usr/bin/env bash
OFF=$TM_CURRENT_WORD.html echo $TM_CURRENT_WORD | /usr/bin/grep ':' if [[ $? == 0 ]] then MOD=echo $TM_CURRENT_WORD | cut -d ':' -f 1 FUN=echo $TM_CURRENT_WORD | cut -d ':' -f 2 OFF="$MOD.html#$FUN" fi
ADDR="http://www.erlang.org/doc/man/%24OFF" curl $ADDR
Know it's almost working, but if I give something like lists:seq it doesn't go to the seq function, because I should also know the arity of a function, and how to get it??
When I've got something I think it could be useful I can propose in the developer section? Thanks