tools/gist: make gists private by default
This commit is contained in:
parent
615cf15313
commit
b1d545dafe
1 changed files with 4 additions and 2 deletions
|
@ -2,14 +2,16 @@
|
|||
|
||||
;;;###autoload (autoload '+gist:send "tools/gist/autoload/evil" nil t)
|
||||
(evil-define-operator +gist:send (beg end search bang)
|
||||
"Create a private gist from the buffer. If BANG then make it public."
|
||||
:type inclusive :repeat nil
|
||||
(interactive "<r><!>")
|
||||
(if bang
|
||||
(gist-region-or-buffer-private)
|
||||
(gist-region-or-buffer)))
|
||||
(gist-region-or-buffer)
|
||||
(gist-region-or-buffer-private)))
|
||||
|
||||
;;;###autoload (autoload '+gist:list "tools/gist/autoload/evil" nil t)
|
||||
(evil-define-command +gist:list (&optional username)
|
||||
"Pop up a listing of gists."
|
||||
(interactive "<a>")
|
||||
(if username
|
||||
(gist-list-user username)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue