[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/org-present fca3bcdd2c 20/47: add functions to jump to beg
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/org-present fca3bcdd2c 20/47: add functions to jump to beginning and end of presentation |
Date: |
Sat, 8 Jan 2022 13:58:29 -0500 (EST) |
branch: elpa/org-present
commit fca3bcdd2c8c2a498f6efeec11fee91279d4e839
Author: Richard Lister <ric@burton-2.home>
Commit: Richard Lister <ric@burton-2.home>
add functions to jump to beginning and end of presentation
---
org-present.el | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/org-present.el b/org-present.el
index 9398ffb34f..0b9217f5bd 100644
--- a/org-present.el
+++ b/org-present.el
@@ -65,6 +65,8 @@
(define-key org-present-mode-keymap (kbd "C-c C-q") 'org-present-quit)
(define-key org-present-mode-keymap (kbd "C-c C-r") 'org-present-read-only)
(define-key org-present-mode-keymap (kbd "C-c C-w") 'org-present-read-write)
+(define-key org-present-mode-keymap (kbd "C-c <") 'org-present-beginning)
+(define-key org-present-mode-keymap (kbd "C-c >") 'org-present-end)
;; how much to scale up font size
(defvar org-present-text-scale 5)
@@ -122,6 +124,21 @@
(narrow-to-region (point-min) (point))
(goto-char (point-min))))
+(defun org-present-beginning ()
+ "Jump to first slide of presentation."
+ (interactive)
+ (widen)
+ (beginning-of-buffer)
+ (org-present-narrow))
+
+(defun org-present-end ()
+ "Jump to last slide of presentation."
+ (interactive)
+ (widen)
+ (end-of-buffer)
+ (org-present-top)
+ (org-present-narrow))
+
(defun org-present-big ()
"Make font size larger."
(interactive)
- [nongnu] elpa/org-present 8148e5245e 22/47: mention fullscreen now builtin, (continued)
- [nongnu] elpa/org-present 8148e5245e 22/47: mention fullscreen now builtin, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 00679dc2b0 32/47: Merge pull request #19 from damil/master, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present b2e3b19cbc 35/47: Move org-present-narrow to be called after org-present-mode-hooks to make sure images are shown inline in all slides, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 6c57386522 36/47: Fixed that read-only function erase cursor, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 236691956d 06/47: remove some debug messages, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 80eb28f2a2 10/47: Merge pull request #2 from tarsius/master, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 71486291da 12/47: Merge pull request #3 from purcell/patch-1, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 194262bdb0 09/47: provide feature, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present ef8dfc974c 16/47: Exit read-only mode before exiting the minor mode, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present c16b846434 21/47: update key list and add beginning/end, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present fca3bcdd2c 20/47: add functions to jump to beginning and end of presentation,
ELPA Syncer <=
- [nongnu] elpa/org-present 96dfce3254 28/47: Add org-present-after-navigate-functions abnormal hook, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 75ac0cab2a 44/47: Add "Version: 0.1" header, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 7e56ab02b4 47/47: Merge pull request #41 from skangas/add-version, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 9ed67fd539 30/47: while presenting, also hide verbatim markers (i.e. '~' and '=') in addition to emphasis markers, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 5010b90fd0 37/47: Merge pull request #31 from alwyn/inline-images, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 03b23602d3 26/47: document hide/show of cursor, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 14f9288674 23/47: update copyright, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 2cc76b5b2b 25/47: add hide/show for cursor, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present d13acd70ef 29/47: Merge pull request #13 from duncan-bayne/add-hooks, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 68aeae2132 31/47: fix: Needless hiding of emphasis markers already hidden by Org, ELPA Syncer, 2022/01/08