mattn/vim-gist

filename or description

WitzHsiao opened this issue · 11 comments

I noticed that :Gist -e a.js only updates its description. is it better updating its filename instead of its description?

Do you mean -s not -e ?

Then I can't reproduce it. What is way to reproduce?

I have tried it in curl. It works. Do you think it's better updating/saving "filename" than "description"?

https://developer.github.com/v3/gists/#edit-a-gist

-e doesn't update description. -s do it.

https://gist.github.com/mattn/257ce618e87008fc6969

I did:

  1. $ vim foobar.js and type some
  2. :Gist
  3. :Gist -s logging

It doesn't work in my way.

  1. $ vim
  2. :Gist -l
  3. edit the gist
  4. :Gist -e new_name.sh

It only changed the description.

For me :Gist -e "new-filename.txt" does only new revision and does not edit the filename. :Gist -s "New description" works properly.

@spedepekka thanks, but I wanna find a option to update file name.

@mattn what do you think about it?

@WitzHsiao it's possible. I'll look into it in later

@mattn thanks, I'm looking forward to it.