|
From: | Rainer Stengele |
Subject: | [Orgmode] shortcut suggestion C-c C-& instead of C-& with no context. |
Date: | Fri, 14 Dec 2007 10:08:53 +0100 |
User-agent: | Thunderbird 2.0.0.9 (Windows/20071031) |
hi. I oftentimes do set a mark anywhere in my large org file with C-%. Working in the file somewhere else I want to go back and most of the time I do not use simply C-& because it leaves me with no context around the marked line - which is confusing. Therefore what I do mostly is: - S-TAB to switch to OVERVIEW - C-& do jump to the mark - C-c C-r to reveal the context The result is a clear view onto my marked line with nice context. So today I packed that together in something like this: (defun org-jump-to-mark-reorganise-reveal-tree (&optional arg) (interactive) (org-mark-ring-goto) (org-shifttab) (org-reveal arg)) (global-set-key (kbd "C-c C-&") (lambda () (interactive) (org-jump-to-mark-reorganise-reveal-tree t))) The code maybe is not optimal but it does the job. Let me suggest this or a similar keybindung to do that job. rainer
[Prev in Thread] | Current Thread | [Next in Thread] |