proton

https://github.com/dvcrn/proton
dvcrn 2016-01-20T01:37:04.000984Z

I will re-add them then until we really need space for more command categories

dvcrn 2016-01-20T02:01:23.000985Z

@geksilla: are you around?

geksilla 2016-01-20T02:02:51.000986Z

yes

dvcrn 2016-01-20T02:03:32.000987Z

sorry for asking again - how could I use your doc helper?

geksilla 2016-01-20T02:04:52.000988Z

require proton.lib.doc_helper

dvcrn 2016-01-20T02:05:09.000989Z

I mean - where are you running it from? The repl?

geksilla 2016-01-20T02:05:38.000990Z

and call proton.lib.doc_helper/layer-packages-configs-doc-table :tools/git

geksilla 2016-01-20T02:05:47.000991Z

yes from the repl

geksilla 2016-01-20T02:06:13.000992Z

this method returns string

geksilla 2016-01-20T02:06:40.000993Z

so you can output it to browser console or to terminal

geksilla 2016-01-20T02:07:04.000994Z

like

(prn (proton.lib.doc_helper/layer-packages-configs-doc-table :tools/git))

dvcrn 2016-01-20T02:08:20.000995Z

hmm it seems to not generate for all the keybindings šŸ˜ž

geksilla 2016-01-20T02:08:33.000996Z

it generates configuration for packages

geksilla 2016-01-20T02:08:39.000997Z

not keybindings

dvcrn 2016-01-20T02:08:45.000998Z

ohhh

geksilla 2016-01-20T02:08:49.000999Z

)

dvcrn 2016-01-20T02:08:57.001Z

ok got it

dvcrn 2016-01-20T02:08:59.001001Z

thank you

geksilla 2016-01-20T02:09:06.001002Z

np

dvcrn 2016-01-20T02:09:47.001003Z

if I have time I will try to write one for keybindings

geksilla 2016-01-20T02:10:08.001004Z

ok cool!

geksilla 2016-01-20T02:10:48.001005Z

i thought that we can use such functions to generate markdown convert it to html and show to user

dvcrn 2016-01-20T02:12:06.001006Z

that would be cool too yeah

dvcrn 2016-01-20T02:12:14.001007Z

in general I want to readmes to be automatic if possible

dvcrn 2016-01-20T02:12:35.001008Z

put all the help text inside the layer and generate the readmes from that

šŸ‘ 1
dvcrn 2016-01-20T02:13:03.001009Z

but thatā€™s long term plan :simple_smile:

dvcrn 2016-01-20T02:13:06.001010Z

not that urgent

geksilla 2016-01-20T02:13:21.001011Z

yes

geksilla 2016-01-20T02:13:25.001012Z

agree )

dvcrn 2016-01-20T02:14:21.001013Z

I will merge your doc helper into master

geksilla 2016-01-20T02:14:39.001014Z

ok

geksilla 2016-01-20T02:17:22.001015Z

also want to add few packages to category applications under SPC a https://atom.io/packages/ask-stack https://atom.io/packages/imdone-atom https://atom.io/packages/atom-pair

geksilla 2016-01-20T02:17:40.001017Z

what do you think about it?

dvcrn 2016-01-20T02:20:25.001018Z

sounds good to me. But should definitely be in separate layers

geksilla 2016-01-20T02:21:09.001019Z

yes

geksilla 2016-01-20T02:21:25.001020Z

package per layer

geksilla 2016-01-20T02:23:01.001021Z

like :apps/pair-programming, :apps/imdone, :apps/stackoverflow

dvcrn 2016-01-20T02:31:08.001022Z

itā€™s scary how much you get used to parinfer

dvcrn 2016-01-20T02:31:28.001023Z

I am using spacemacs right now because I couldnā€™t get proto-repl working and have a problem with brackets lol

dvcrn 2016-01-20T02:38:26.001025Z

:simple_smile:

geksilla 2016-01-20T02:39:00.001026Z

)))

geksilla 2016-01-20T02:39:10.001027Z

parinfer ident mode is awesome

dvcrn 2016-01-20T02:39:42.001028Z

should I split the commands by category?

dvcrn 2016-01-20T02:41:33.001030Z

something like that

dvcrn 2016-01-20T02:42:54.001032Z

hmm I think we should maybe generate the titleā€¦

dvcrn 2016-01-20T02:43:14.001033Z

:g :b :c for example. We already have all the information of how to construct the title except the last action

dvcrn 2016-01-20T02:43:29.001034Z

:g -> git :b -> branch :c -> checkout => git branch checkout

dvcrn 2016-01-20T04:08:10.001036Z

copy and pasted that into the git readme :simple_smile: https://github.com/dvcrn/proton/blob/feature/git-keybindings/src/cljs/proton/layers/tools/git/README.md

dvcrn 2016-01-20T04:17:17.001039Z

Ok letā€™s seeā€¦. - Keybindings: We can generate - Options: We can generate as well - Package list: Should be no problem. Just construct the URL with http://atom.io/packages/{{package-name}} - Install instructions is a no brainer Just the description missing and we can pump out READMEs

geksilla 2016-01-20T08:02:35.001041Z

Awesome!

dvcrn 2016-01-20T08:04:59.001042Z

just the doc helper needs some refactoring

dvcrn 2016-01-20T08:05:03.001043Z

Iā€™m not happy about my function

martinklepsch 2016-01-20T12:49:22.001044Z

wow that pair programming thing looks nice

martinklepsch 2016-01-20T12:50:00.001045Z

I wonder if writing a repl client against 1.8's socket repls might be easier than nrepl? anyone looked into that?

martinklepsch 2016-01-20T12:50:16.001046Z

With some better REPL integration atom could become really nice.