{ "@context":"https://www.w3.org/ns/activitystreams", "type":"Collection", "id":"https://social.jayvii.de/objects/VHQJgjNndkY/thread", "items":[ { "@context":[ "https://www.w3.org/ns/activitystreams", {"Hashtag":"as:Hashtag"} ], "published":"2024-05-18T13:42:31.565Z", "attributedTo":"https://social.jayvii.de/actors/jayvii", "replies":"https://social.jayvii.de/objects/VHQJgjNndkY/replies", "to":["https://www.w3.org/ns/activitystreams#Public"], "cc":["https://social.jayvii.de/actors/jayvii/followers"], "content":"

When I switched from #vim #neovim to the #helixEditor #helix, I wrote two little scripts to code and run #Rstats code directly from helix (ofc it should work with any REPL). Finally came around to upload the two (very short) scripts to my #git instance today:Β https://src.jayvii.de/pub/helix-term/

", "mediaType":"text/html", "attachment":[], "tag":[ {"type":"Hashtag","name":"#vim","href":"https://social.jayvii.de/tags/vim"}, {"type":"Hashtag","name":"#neovim","href":"https://social.jayvii.de/tags/neovim"}, {"type":"Hashtag","name":"#helixEditor","href":"https://social.jayvii.de/tags/helixEditor"}, {"type":"Hashtag","name":"#helix","href":"https://social.jayvii.de/tags/helix"}, {"type":"Hashtag","name":"#Rstats","href":"https://social.jayvii.de/tags/Rstats"}, {"type":"Hashtag","name":"#git","href":"https://social.jayvii.de/tags/git"} ], "type":"Note", "id":"https://social.jayvii.de/objects/VHQJgjNndkY" } , { "@context":[ "https://www.w3.org/ns/activitystreams", {"Hashtag":"as:Hashtag"} ], "published":"2024-05-18T14:48:19.000Z", "attributedTo":"https://genomic.social/users/landesfeind", "inReplyTo":"https://social.jayvii.de/objects/VHQJgjNndkY", "replies":"https://genomic.social/users/landesfeind/statuses/112462639883506912/replies", "to":["https://www.w3.org/ns/activitystreams#Public"], "cc":["https://genomic.social/users/landesfeind/followers","https://social.jayvii.de/actors/jayvii"], "content":"

@jayvii This. Is. Awesome! I was looking for something like this since I switched to #helix. And on top: just a few lines of code. Now I have to switch from screen to #tmux πŸ˜„

", "attachment":[], "tag":[ {"type":"Hashtag","name":"#helix","href":"https://genomic.social/tags/helix"}, {"type":"Hashtag","name":"#tmux","href":"https://genomic.social/tags/tmux"}, {"type":"Mention","name":"@jayvii@social.jayvii.de","href":"https://social.jayvii.de/actors/jayvii"} ], "url":["https://genomic.social/@landesfeind/112462639883506912"], "type":"Note", "id":"https://genomic.social/users/landesfeind/statuses/112462639883506912" } , { "@context":[ "https://www.w3.org/ns/activitystreams", {"Hashtag":"as:Hashtag"} ], "published":"2024-05-18T17:47:00.484Z", "attributedTo":"https://social.jayvii.de/actors/jayvii", "inReplyTo":"https://genomic.social/users/landesfeind/statuses/112462639883506912", "replies":"https://social.jayvii.de/objects/AbBGGom-ksk/replies", "to":["https://www.w3.org/ns/activitystreams#Public","https://genomic.social/users/landesfeind"], "cc":["https://social.jayvii.de/actors/jayvii/followers"], "content":"

@landesfeind actually, you can very well run the script inside screen as well! (it will just run the tmux session inside a screen pane). either way, let me know, how it works out for you and which languages you use it for. If you have further suggestions or improvements, let me know or mail me a patch :)

", "mediaType":"text/html", "attachment":[], "tag":[ {"type":"Mention","name":"@landesfeind@genomic.social","href":"https://genomic.social/users/landesfeind"} ], "type":"Note", "id":"https://social.jayvii.de/objects/AbBGGom-ksk" } , { "@context":[ "https://www.w3.org/ns/activitystreams", {"Hashtag":"as:Hashtag"} ], "published":"2024-05-26T21:09:26.000Z", "attributedTo":"https://genomic.social/users/landesfeind", "inReplyTo":"https://social.jayvii.de/objects/AbBGGom-ksk", "replies":"https://genomic.social/users/landesfeind/statuses/112509436979791089/replies", "to":["https://www.w3.org/ns/activitystreams#Public"], "cc":["https://genomic.social/users/landesfeind/followers","https://social.jayvii.de/actors/jayvii"], "content":"

@jayvii Sooo... took me a while but here we are; I am a tmux user now 😁 I took the time to learn the key bindings and I really love it - so powerful and scriptable!
But I took your idea and rewrote it to start tmux with automatically opening an editor and a repl. Conceptually a bit different from your approach but just one script and does not rely on hidden files. Feel free to have a look: https://codeberg.org/landesfeind/hide
I will use it for #RStats too.

Thank you for your awesome inspiration! ❀️

", "attachment":[], "tag":[ {"type":"Hashtag","name":"#RStats","href":"https://genomic.social/tags/RStats"}, {"type":"Mention","name":"@jayvii@social.jayvii.de","href":"https://social.jayvii.de/actors/jayvii"} ], "url":["https://genomic.social/@landesfeind/112509436979791089"], "type":"Note", "id":"https://genomic.social/users/landesfeind/statuses/112509436979791089" } , { "@context":[ "https://www.w3.org/ns/activitystreams", {"Hashtag":"as:Hashtag"} ], "published":"2024-05-26T21:47:23.219Z", "attributedTo":"https://social.jayvii.de/actors/jayvii", "inReplyTo":"https://genomic.social/users/landesfeind/statuses/112509436979791089", "replies":"https://social.jayvii.de/objects/ySh64NXanWw/replies", "to":["https://www.w3.org/ns/activitystreams#Public","https://genomic.social/users/landesfeind"], "cc":["https://social.jayvii.de/actors/jayvii/followers"], "content":"

@landesfeind awesome! Glad I could help/inspire new ideas with my little hack 😁 would love to check out your approach, but I think the repo is non-public(?) 

", "mediaType":"text/html", "attachment":[], "tag":[ {"type":"Mention","name":"@landesfeind@genomic.social","href":"https://genomic.social/users/landesfeind"} ], "type":"Note", "id":"https://social.jayvii.de/objects/ySh64NXanWw" } , { "@context":[ "https://www.w3.org/ns/activitystreams", {"Hashtag":"as:Hashtag"} ], "published":"2024-05-26T22:05:52.000Z", "attributedTo":"https://genomic.social/users/landesfeind", "inReplyTo":"https://social.jayvii.de/objects/ySh64NXanWw", "replies":"https://genomic.social/users/landesfeind/statuses/112509658858711793/replies", "to":["https://www.w3.org/ns/activitystreams#Public"], "cc":["https://genomic.social/users/landesfeind/followers","https://social.jayvii.de/actors/jayvii"], "content":"

@jayvii oh - now it's public

", "attachment":[], "tag":[ {"type":"Mention","name":"@jayvii@social.jayvii.de","href":"https://social.jayvii.de/actors/jayvii"} ], "url":["https://genomic.social/@landesfeind/112509658858711793"], "type":"Note", "id":"https://genomic.social/users/landesfeind/statuses/112509658858711793" } , { "@context":[ "https://www.w3.org/ns/activitystreams", {"Hashtag":"as:Hashtag"} ], "published":"2024-05-27T05:34:16.731Z", "attributedTo":"https://social.jayvii.de/actors/jayvii", "inReplyTo":"https://genomic.social/users/landesfeind/statuses/112509658858711793", "replies":"https://social.jayvii.de/objects/cH8I-3d5jvQ/replies", "to":["https://www.w3.org/ns/activitystreams#Public","https://genomic.social/users/landesfeind"], "cc":["https://social.jayvii.de/actors/jayvii/followers"], "content":"

@landesfeind your script looks a lot more IDE-like compared to what I originally had in mind. Really nice! I will give it a go and might take some inspiration as well :)

To give a big background why I kept my script so simple:
My workflow is often times a bit different, as I am working mostly on functions within project-related custom packages. The second pane next to my editor is mostly used to run tests suits or `make`. So in many cases I do not use a second pane at all or the second pane is just a regular bash-pane where I do not want to send code into πŸ˜…

", "mediaType":"text/html", "attachment":[], "tag":[ {"type":"Mention","name":"@landesfeind@genomic.social","href":"https://genomic.social/users/landesfeind"} ], "type":"Note", "id":"https://social.jayvii.de/objects/cH8I-3d5jvQ" } , { "@context":[ "https://www.w3.org/ns/activitystreams", {"Hashtag":"as:Hashtag"} ], "published":"2024-05-27T08:29:16.000Z", "attributedTo":"https://genomic.social/users/landesfeind", "inReplyTo":"https://social.jayvii.de/objects/cH8I-3d5jvQ", "replies":"https://genomic.social/users/landesfeind/statuses/112512110219639328/replies", "to":["https://www.w3.org/ns/activitystreams#Public"], "cc":["https://genomic.social/users/landesfeind/followers","https://social.jayvii.de/actors/jayvii"], "content":"

@jayvii I also had the feeling that our workflows are slightly different. Therefore I decided to re-implement and not send a patch. πŸ™‚

", "attachment":[], "tag":[ {"type":"Mention","name":"@jayvii@social.jayvii.de","href":"https://social.jayvii.de/actors/jayvii"} ], "url":["https://genomic.social/@landesfeind/112512110219639328"], "type":"Note", "id":"https://genomic.social/users/landesfeind/statuses/112512110219639328" } , { "@context":[ "https://www.w3.org/ns/activitystreams", {"Hashtag":"as:Hashtag"} ], "published":"2024-05-27T07:19:39.000Z", "attributedTo":"https://mastodon.social/users/hendrikm", "inReplyTo":"https://genomic.social/users/landesfeind/statuses/112509436979791089", "replies":"https://mastodon.social/users/hendrikm/statuses/112511836483405468/replies", "to":["https://www.w3.org/ns/activitystreams#Public"], "cc":["https://mastodon.social/users/hendrikm/followers","https://genomic.social/users/landesfeind","https://social.jayvii.de/actors/jayvii"], "content":"

@landesfeind @jayvii Tmux is great! Interesting idea to automate this part. I like to start tmux manually, because it sets the root directory at the directory where it’s started. I like to cd to my project and enter tmux there. Pretty much the same functionality as having a .Rproj in the root.

", "attachment":[], "tag":[ {"type":"Mention","name":"@landesfeind@genomic.social","href":"https://genomic.social/users/landesfeind"}, {"type":"Mention","name":"@jayvii@social.jayvii.de","href":"https://social.jayvii.de/actors/jayvii"} ], "url":["https://mastodon.social/@hendrikm/112511836483405468"], "type":"Note", "id":"https://mastodon.social/users/hendrikm/statuses/112511836483405468" } ] }