diff options
author | Erik Martin-Dorel <erik@martin-dorel.org> | 2018-02-20 10:30:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-20 10:30:00 +0100 |
commit | 5e7566e54842fb198a6f68abb7c624b53a488038 (patch) | |
tree | bef86ca58cabc2d0fb0ce58332562770bd6b625f | |
parent | a3c3f5dc3dae5354ccb618335a0bcd4920655b42 (diff) |
Bind C-c C-m (= C-c RET) to proof-goto-point [tty] (#228)
Close ProofGeneral/PG#31
-rw-r--r-- | CHANGES | 8 | ||||
-rw-r--r-- | generic/proof-menu.el | 1 |
2 files changed, 7 insertions, 2 deletions
@@ -6,8 +6,6 @@ and the PG Trac http://proofgeneral.inf.ed.ac.uk/trac * Changes of Proof General 4.4.1 from Proof General 4.4 -* Changes of Proof General 4.4.1 from Proof General 4.4 - ** Generic changes *** bug fixes @@ -21,6 +19,12 @@ and the PG Trac http://proofgeneral.inf.ed.ac.uk/trac useful as we can expect users to configure electric-terminator once and for all. Hence the removal of this default key-binding. +*** add another (fallback) key-binding for proof-goto-point + - The default key-binding for proof-goto-point (C-c <C-return>) + was not available in TTYs. Now, this function can also be run + with "C-c RET", which happens to be automatically trigerred if + we type "C-c <C-return>" in a TTY. + ** Coq changes *** new menu Coq -> Auto Compilation for all background compilation options diff --git a/generic/proof-menu.el b/generic/proof-menu.el index 0a7317cb..35c6eb3b 100644 --- a/generic/proof-menu.el +++ b/generic/proof-menu.el @@ -113,6 +113,7 @@ without adjusting window layout." ;; C-c C-v is proof-minibuffer-cmd in universal-keys ;; C-c C-. is proof-goto-end-of-locked in universal-keys (define-key map [(control c) (control return)] 'proof-goto-point) + (define-key map [(control c) (control m)] 'proof-goto-point) ; fallback for tty (define-key map [(control c) ?v] 'pg-toggle-visibility) (define-key map [(control meta mouse-3)] 'proof-mouse-goto-point) ;; NB: next binding overwrites comint-find-source-code. |