tools/gist: open gists in non-popups

- Removes +gist/kill-cache (gist-list and gist-list-user with a
  universal argument already does this).
- Removes +gist/open-current. No longer necessary when gists aren't
  opened in popups.
- Makes keybinds more consistent with other "porcelains", like elfeed's
  or magit.
This commit is contained in:
Henrik Lissner 2019-04-02 12:50:18 -04:00
parent 1f1e4d8d83
commit 3310f9dfe2
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 6 additions and 21 deletions

View file

@ -467,14 +467,13 @@
(:when (featurep! :tools gist)
:after gist
:map gist-list-menu-mode-map
:n "RET" #'+gist/open-current
:n [return] #'+gist/open-current
:n "b" #'gist-browse-current-url
:n "go" #'gist-browse-current-url
:n "gr" #'gist-list-reload
:n "c" #'gist-add-buffer
:n "d" #'gist-kill-current
:n "e" #'gist-edit-current-description
:n "f" #'gist-fork
:n "q" #'quit-window
:n "r" #'gist-list-reload
:n "q" #'kill-this-buffer
:n "s" #'gist-star
:n "S" #'gist-unstar
:n "y" #'gist-print-current-url))