From d9f8016610f71340c8c29639dfb5d64f2899a3cd Mon Sep 17 00:00:00 2001 From: condy0919 Date: Fri, 28 Aug 2020 11:26:06 +0800 Subject: [PATCH] Better evil bindings. Applying evil collection guidelines: - rebinding elpher-go to o, elpher-go-current to O frees the prefix g to bring gg back - rebind elpher-jump to J since m is used to mark - '^' and '-' are bound to elpher-back which is modelled after dired Visit https://github.com/emacs-evil/evil-collection for more information. --- elpher.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/elpher.el b/elpher.el index 40e21dc..fd17a70 100644 --- a/elpher.el +++ b/elpher.el @@ -1959,17 +1959,18 @@ When run interactively HOST-OR-URL is read from the minibuffer." (kbd "C-") 'elpher-follow-current-link (kbd "C-t") 'elpher-back (kbd "u") 'elpher-back + (kbd "-") 'elpher-back (kbd "U") 'elpher-back-to-start [mouse-3] 'elpher-back - (kbd "g") 'elpher-go - (kbd "o") 'elpher-go-current + (kbd "o") 'elpher-go + (kbd "O") 'elpher-go-current (kbd "r") 'elpher-redraw (kbd "R") 'elpher-reload (kbd "T") 'elpher-toggle-tls (kbd ".") 'elpher-view-raw (kbd "d") 'elpher-download (kbd "D") 'elpher-download-current - (kbd "m") 'elpher-jump + (kbd "J") 'elpher-jump (kbd "i") 'elpher-info-link (kbd "I") 'elpher-info-current (kbd "c") 'elpher-copy-link-url -- 2.20.1