yesterday i realized i could put
if [[ "$TERM_PROGRAM" == "vscode" ]]; then export EDITOR='code --wait'else export EDITOR='nano'fi
in my .bashrc so now doing interactive git stuff is way nicer
.bashrc
like if i'm making a commit or doing an interactive rebase from the vscode integrated terminal, the temporary file pops up in the editor i'm already using, it's very nice
@monorail does it wait until you close the buffer or just for when you save
@aescling it's until you close it, just like in a terminal editor
@monorail cool
A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.
@aescling it's until you close it, just like in a terminal editor