Org Speed Commands
Why?
- Do not suffer when using orgmode motion commands:
- Navigate your document quickly and efficiently
- Access the main org-commands with single keys
How?
- Place cursor on asterisk at the start of the heading
(defun org-jump-to-heading-beginning () "Jump to the beginning of the line of the closest Org heading." (interactive) (org-back-to-heading) (beginning-of-line)) (define-key org-mode-map (kbd "&*") 'org-jump-to-heading-beginning)
Code required
;; org speed key commands (setq org-use-speed-commands t) (setq org-speed-commands (cons '("w" . widen) org-speed-commands)) (define-key org-mode-map (kbd "^") 'org-sort) (define-key org-mode-map (kbd "z") 'org-refile) (define-key org-mode-map (kbd "@") 'org-mark-subtree)
Outline Navigation
f (org-speed-move-safe 'org-forward-heading-same-level)
b (org-speed-move-safe 'org-backward-heading-same-level)
n (org-speed-move-safe 'org-next-visible-heading)
p (org-speed-move-safe 'org-previous-visible-heading)
u (org-speed-move-safe 'outline-up-heading)
j org-goto
z org-refile (added)
Outline Visibility
c org-cycle
C org-shifttab
s org-toggle-narrow-to-subtree
w widen (added)
k org-cut-subtree
Outline Structure Editing
U org-metaup (moves heading up)
D org-metadown (moves headings down)
r org-metaright (demote)
l org-metaleft (promote)
i add another same level heading
^ org-sort (select text first, added)
For example, to sort a list in ascending order, you can use the ^ a command.
> org-refile
a org-archive-subtree-default-with-confirmation
@ org-mark-subtree (added)
Meta Data Editing
t org-todo
: org-set-tags-command
C-c C-c idem
Agenda Views etc (when in org-agenda)
v org-agenda
/ org-sparse-tree
Misc
o org-open-at-point (link must be part of a heading)
? org-speed-command-help
< (org-agenda-set-restriction-lock 'subtree)
> (org-agenda-remove-restriction-lock)