emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thorsten Jolitz <tjolitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [NEW] navi-mode for org files
Date: Thu, 04 Apr 2013 15:49:29 +0200	[thread overview]
Message-ID: <878v4y9ziu.fsf@gmail.com> (raw)


Hi List, 

I made navi-mode (=> super-fast buffer navigation, visibility-cycling,
structure-editing, and much more, with one-key commands in an associated
read-only *Navi* buffer) work with Org-mode buffers too. 

The basic things work, but there are still keyword-searches and
keybindings to define. 

To check it out and get an idea what its all about, do the following:

1. Download these files to a place where Emacs can find them and do 'M-x
load-file' on navi-mode.el

,---------------------------------------------------------
| https://github.com/tj64/navi/blob/master/navi-mode.el
| https://github.com/tj64/outorg/blob/master/outorg.el
| https://github.com/tj64/outshine/blob/master/outshine.el
`---------------------------------------------------------

2. Download Bernt Hansen's amazing Org-tutorial and switch to its
Org-mode buffer (we use it as example Org-mode buffer)

,----------------------------------
| http://doc.norang.ca/org-mode.org
`----------------------------------

3. Type 'M-s n' (or 'M-x navi-search-and-switch')

4. do 'M-x menu-bar-mode' if menus are disabled for your Emacs and have
a look at the "navi" menu

5. Play around in the *Navi:<<original-buffer-name>>* buffer:

- use 'n' and 'p' to move down and up on the 1st-level headers shown
- use '1' '2' and '3' to switch between visible header levels
- use 'SPC' and 'DEL' to move page-up and page-down
- use <backtab> to cycle visibility of whole original-buffer
- use <tab> to cycle visibility of subtree at point 
- use 'd' to display subtree at point in original-buffer
- use 'o' to switch to subtree at point in original-buffer
- use 'M-s M-s' to switch back to *Navi* buffer
- use 'b' to show all src-block headlines (and 'd' and 'o' on them)
- use 'C-1 b', 'C-2 b' and 'C-3 b' to show the source blocks embedded in
the headlines (level 1 to 3)
- use 'E' to make the *Navi* buffer editable (changes are applied
immediately to the original buffer (great in combination with
- keyboard-macros)
- type C-c C-c to make *Navi* buffer read-only again

(6. Want more?
- check the 'navi-menu' for more commands
- type 'h' to see the (customizable) user-defined keyword-searches and
their keybindings
- read the comment sections of the three libraries 'outshine', 'outorg'
and 'navi-mode' or the README-files on Github
- read the Worg article:
http://orgmode.org/worg/org-tutorials/org-outside-org.html)

,------------------------------------------------------------------------
| PS 
| 
| Please note that all this is available for your source code buffers
| too (e.g. in Emacs Lisp) when you structure them the 'outshine' way. 
| 
| Use outorg.el, outshine.el or navi-mode.el as example files to see what
| I mean (read comment-section of outshine.el for installation tips). 
| 
| Do 'M-s n' on one of them to open a *Navi* buffer. Try the the
| commands from list item (5) above and don't forget to checkout command
| 'e' - it is extremely useful since it opens the subtree at point (or,
| with prefix, the whole Emacs Lisp buffer) in a temporary Org-mode edit
| buffer.
`------------------------------------------------------------------------

-- 
cheers,
Thorsten

             reply	other threads:[~2013-04-04 13:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-04 13:49 Thorsten Jolitz [this message]
2013-04-08  2:12 ` [NEW] navi-mode for org files Charles Berry
2013-04-08 19:27   ` Thorsten Jolitz
2013-04-08 21:41     ` Charles Berry
2013-04-08 22:19       ` Thorsten Jolitz
2013-04-09  1:47         ` Charles Berry
2013-04-09  7:58           ` Thorsten Jolitz
2013-04-08 19:31 ` Thorsten Jolitz
2013-04-09  2:16 ` Charles Berry
2013-04-09  7:52   ` Thorsten Jolitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878v4y9ziu.fsf@gmail.com \
    --to=tjolitz@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).