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

@ -7,6 +7,8 @@
(after! gist
(set-evil-initial-state! 'gist-list-mode 'normal)
(set-popup-rule! "^\\*gist-" :ignore t)
(defun +gist*list-render (orig-fn &rest args)
(funcall orig-fn (car args) t)
(unless (cadr args)