From 95b669faeaca543eef02bd076e7c368e23a7463d Mon Sep 17 00:00:00 2001 From: defanor Date: Tue, 28 Nov 2017 13:48:06 +0300 Subject: 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". --- pancake.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'pancake.el') 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) -- cgit v1.2.3