Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Edit before gisting #10

Closed
rking opened this Issue · 5 comments

3 participants

@rking
Collaborator

jist -e should jump you into something like ${VISUAL:-${EDITOR:-vim}} before it gists.

Maybe mention that vim can do :cq so you can abort the gist if you want. I'm not sure how other editors signal an abend, but I kind of don't care. ☺

@ddd
ddd commented
@rking
Collaborator

Why add another place to configure what the convention of $VISUAL → $EDITOR → picksomething does?

@rking
Collaborator

"Most would probably rather just have it fire off, rather than pop open an editor each time, especially off the hop."

Hrm?

@ConradIrwin
Owner

This is the best idea. I'm not sure I want it, but -e could be pretty handy (it's also another way of letting you implement pipes without jist having to do it).

@ConradIrwin
Owner
brew install moreutils
cat file.rb | vipe | gist
@ConradIrwin ConradIrwin closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.