blob: 4e3b14bb1f1203819051897ebe1a03c07036cd7f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
* Use org-present package to turn Org outline into a presentation
you can step through with the space and delete keys.
Install: <unless (featurep 'org-present) (package-install 'org-present)>
(defun rsw-org-present-setup (buffer-name heading)
;; Don't hide headline stars
(setq org-present-hide-stars-in-headings nil
;; org-present-startup-folded nil
org-hide-emphasis-markers nil)
;; Show only top-level headlines
(org-overview)
;; Unfold the current entry
(org-show-entry)
;; Show only direct subheadings of the slide but don't expand them
(org-show-children))
(add-hook 'org-present-after-navigate-functions 'rsw-org-present-setup)
* Enable all Hyperbole keys including {M-RET} in Org mode
<setq hsys-org-enable-smart-keys t>
* How to setup button2 and button3 as Action and Assist Mouse Keys
Add to your Emacs init file:
(eval-after-load "hyperbole" '(hmouse-add-unshifted-smart-keys))
or interactively after loading Hyperbole:
<hmouse-add-unshifted-smart-keys>
* Keystroke Display
** interaction-log Package - font-lock highlighted log of keys and commands
Used for EmacsConf 2022
Install,
Load,
Configure,
Activate: <hypb:activate-interaction-log-mode>
Deactivate: <interaction-log-mode 0>
** ALTERNATIVE: Keypression - overlaying parts of buffer (shows trail of keys)
Used for EmacsNYC talk
Install: <unless (package-installed-p 'keypression) (package-install 'keypression)>
Activate: <keypression-mode 1>
Deactivate: <keypression-mode 0>
Configure:
<setq keypression-use-child-frame t
keypression-fade-out-delay 3.0
keypression-frame-justify 'keypression-left-justified
keypression-cast-command-name t
keypression-cast-command-name-format "%s %s"
keypression-combine-same-keystrokes t
keypression-font-face-attribute '(:width normal :height 200 :weight bold)>
* Frame layout
<burly-open-bookmark "hyperorg">
* Pathname Prefixes
"!${PATH}/date" - execute 'date' shell command
"&Preview.app ${hyperb:dir}/man/hyperbole.pdf"
"-subr.elc" - load an Elisp library
* Programming Buttons
Emacs Yank Bug: bug#5320
* Global Buttons
<[Test ibut label]> {C-u C-n}
<[Bufs]> {C-x C-b}
<[iPython src]>: "/usr/local/Cellar/ipython/7.16.1/libexec/lib/python3.8/site-packages/IPython/"
- Goto <(Hyperbole Todos)>
<[ib]> "(hyperbole)Implicit Buttons"
<[frm]> "(hyperbole)C-h h s f"
"${hyperb:dir}/DEMO"
"${hyperb:dir}/README.md#Programmer Quick Reference"
"${hyperb:dir}/README.md#programmer-quick-reference:4:2"
<hpath:find "${hyperb:dir}">
<[PDF Viewer]> == "${hyperb:dir}/man/hyperbole.pdf"
|