emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Feature suggestion: context sensitive movement


From: Samuel Wales
Subject: Re: [Orgmode] Feature suggestion: context sensitive movement
Date: Thu, 18 Jun 2009 12:54:20 -0700

Others have pointed out the relevant commands.  Here are some possible
bindings for you.

What I do is bind c-m-arrow, analogous to the way I bind them in Lisp.
 Maybe you will find those bindings useful.  The relevant insight is
trees -- both Lisp and outlines instantiate them.

Would be great if they worked on plain list items also, as if those
items were headlines.

Are there any functions to navigate plain lists?

  (define-key org-mode-map [(control meta left)]
    'outline-backward-same-level)
  (define-key org-mode-map [(control meta right)]
    'outline-forward-same-level)
  (define-key org-mode-map [(control meta up)]
    'outline-previous-visible-heading)
  (define-key org-mode-map [(control meta down)]
    'outline-next-visible-heading)
  ;;in gnu lisp, there is no separate up as i have.  ud change level.  lr go
  ;;back and forward at the same level.  sounds simple in principle.
  ;;however, that makes it hard to go to the previous visible heading (or
  ;;last element of prev list in lisp): you have to do up, left, down, right
  ;;repeat.
  ;;
  ;;upshot: my way is intuitive.  ud goes ud, lr goes same level, ret
  ;;goes up.
  (define-key org-mode-map [(control meta return)]
    ;;'invisible-ok
    'outline-up-heading)


On 2009-06-18, Rick Moynihan <address@hidden> wrote:
> I was just thinking that often I want to jump around items in org-mode
> more quickly than I do at present, depending on the context of the
> point.
>
> e.g.
>
> * Foo
>  blah blah blah
> * Bar |
> blah blah blah
> * Baz
>
> Assuming the point is located at | I might want to quickly jump to
> previous headings by pushing CTRL-<up>/<down>.
>
> Having this also occur when the point is located within a list would
> be nice too.
>
> Does anyone else think this is a good idea?  Or is this another
> feature which is already implemented, that I'm not aware of? :-)
>
> Thanks again,
>
> R.
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>


-- 
Myalgic encephalomyelitis denialism is causing death and severe suffering,
worse than MS.  Conflicts of interest are destroying research.  /You/ can
get the disease at any time permanently.  Do science and justice matter to
you?  http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm




reply via email to

[Prev in Thread] Current Thread [Next in Thread]