General refactor, cleanup & commenting

This commit is contained in:
Henrik Lissner 2017-05-10 05:28:50 +02:00
parent 8707a80c2b
commit e265431507
12 changed files with 251 additions and 241 deletions

View file

@ -14,16 +14,16 @@
;; evil-ify gist listing
(set! :evil-state 'gist-list-mode 'normal)
(map! :map gist-list-menu-mode-map
:n "RET" '+gist/open-current
:n "d" 'gist-kill-current
:n "r" 'gist-list-reload
:n "c" 'gist-add-buffer
:n "y" 'gist-print-current-url
:n "b" 'gist-browse-current-url
:n "s" 'gist-star
:n "S" 'gist-unstar
:n "f" 'gist-fork
:n "q" 'quit-window)
:n "RET" #'+gist/open-current
:n "d" #'gist-kill-current
:n "r" #'gist-list-reload
:n "c" #'gist-add-buffer
:n "y" #'gist-print-current-url
:n "b" #'gist-browse-current-url
:n "s" #'gist-star
:n "S" #'gist-unstar
:n "f" #'gist-fork
:n "q" #'quit-window)
(when (bound-and-true-p shackle-mode)
(defun +gist*list-render (orig-fn &rest args)