Re-order pdf keybindings, fix typo switch_to_read_mode

master
Matthew Mingde Zeng 6 years ago
parent 833d745280
commit 951ebaba99
  1. 1
      .gitignore
  2. 2
      app/pdf-viewer/buffer.py
  3. 24
      eaf.el

1
.gitignore vendored

@ -1,2 +1,3 @@
*.elc
*.pyc
/.log/

@ -90,7 +90,7 @@ class AppBuffer(Buffer):
def scroll_down_page(self):
self.buffer_widget.scroll_down_page()
def swtich_to_read_mode(self):
def switch_to_read_mode(self):
self.buffer_widget.switch_to_read_mode()
def scroll_to_home(self):

@ -7,7 +7,7 @@
;; Copyright (C) 2018, Andy Stewart, all rights reserved.
;; Created: 2018-06-15 14:10:12
;; Version: 0.5
;; Last-Updated: Fri Dec 20 14:14:27 2019 (-0500)
;; Last-Updated: Sat Dec 21 00:43:40 2019 (-0500)
;; By: Mingde (Matthew) Zeng
;; URL: http://www.emacswiki.org/emacs/download/eaf.el
;; Keywords:
@ -15,7 +15,7 @@
;;
;; Features that might be required by this library:
;;
;;
;; Please check README
;;
;;; This file is NOT part of GNU Emacs
@ -39,21 +39,13 @@
;;; Commentary:
;;
;; Emacs application framework
;; Emacs Application Framework
;;
;;; Installation:
;;
;; Put eaf.el to your load-path.
;; The load-path is usually ~/elisp/.
;; It's set in your ~/.emacs like this:
;; (add-to-list 'load-path (expand-file-name "~/elisp"))
;;
;; And the following to your ~/.emacs startup file.
;;
;; (require 'eaf)
;; Please check README
;;
;; No need more.
;;; Customize:
;;
@ -230,8 +222,12 @@ Try not to modify this alist directly. Use `eaf-setq' to modify instead."
("k" . "scroll_down")
("<down>" . "scroll_up")
("<up>" . "scroll_down")
("C-n" . "scroll_up")
("C-p" . "scroll_down")
("SPC" . "scroll_up_page")
("b" . "scroll_down_page")
("C-v" . "scroll_up_page")
("M-v" . "scroll_down_page")
("t" . "switch_to_read_mode")
("." . "scroll_to_home")
("," . "scroll_to_end")
@ -245,10 +241,6 @@ Try not to modify this alist directly. Use `eaf-setq' to modify instead."
("i" . "toggle_inverted_mode")
("m" . "toggle_mark_link")
("f" . "jump_to_link")
("C-n" . "scroll_up")
("C-p" . "scroll_down")
("C-v" . "scroll_up_page")
("M-v" . "scroll_down_page")
("C-s" . "search_text_forward")
("C-r" . "search_text_backward"))
"The keybinding of EAF PDF Viewer."

Loading…
Cancel
Save