summaryrefslogtreecommitdiff
path: root/pancake.el
diff options
context:
space:
mode:
authordefanor <defanor@uberspace.net>2017-11-28 13:48:06 +0300
committerdefanor <defanor@uberspace.net>2017-11-28 13:48:06 +0300
commit95b669faeaca543eef02bd076e7c368e23a7463d (patch)
tree14a78bef631b6cca202375edded44e8bccbf1a72 /pancake.el
parent151e3d381b3beedacff475f439c6340a656bc8c3 (diff)
Use [ and ] instead of b and f for history navigation
Akin to info viewers, and these won't interfere with link enumeration. Also use "quit" instead of "q".
Diffstat (limited to 'pancake.el')
-rw-r--r--pancake.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/pancake.el b/pancake.el
index 570f4e5..dacd593 100644
--- a/pancake.el
+++ b/pancake.el
@@ -356,17 +356,17 @@ property. Returns a list of collected values."
(defun pancake-go-backward ()
"Go backward in history."
(interactive)
- (pancake-process-send "b"))
+ (pancake-process-send "["))
(defun pancake-go-forward ()
"Go forward in history."
(interactive)
- (pancake-process-send "f"))
+ (pancake-process-send "]"))
(defun pancake-quit ()
"Quit pancake."
(interactive)
- (pancake-process-send "q"))
+ (pancake-process-send "quit"))
(defun pancake-reload ()
"Reload the current document."
@@ -452,8 +452,8 @@ it to `pancake-process' as input."
(define-key map (kbd "C-c C-u") 'pancake-display-current-uri)
(define-key map (kbd "C-M-e") 'pancake-next-heading)
(define-key map (kbd "C-M-a") 'pancake-previous-heading)
- (define-key map (kbd "B") 'pancake-go-backward)
- (define-key map (kbd "F") 'pancake-go-forward)
+ (define-key map (kbd "[") 'pancake-go-backward)
+ (define-key map (kbd "]") 'pancake-go-forward)
(define-key map (kbd "Q") 'pancake-quit)
(define-key map (kbd "R") 'pancake-reload)
(define-key map (kbd "I") 'pancake-load-images)