emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Rustom Mody" <rustompmody@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Feature request - add a new heading with a lower level than current
Date: Tue, 11 Dec 2007 20:00:17 +0530	[thread overview]
Message-ID: <f46c52560712110630r4dbf3049v9c4a81e8133625df@mail.gmail.com> (raw)
In-Reply-To: <87prxded9s.fsf@shellarchive.co.uk>

On Dec 11, 2007 3:58 PM, Phil Jackson <phil@shellarchive.co.uk> wrote:
>
> On a side note; I use C-p, C-n, C-b and C-f for my basic navigation
> meaning the cursor keys are free for me so in org I bind them to:
>
>  ,----
>  | (define-key org-mode-map [left] 'org-metaleft)
>  | (define-key org-mode-map [right] 'org-metaright)
>  | (define-key org-mode-map [up] 'org-metaup)
>  | (define-key org-mode-map [down] 'org-metadown)
>  `----
>
> Making re-organisation of the headings really fast.
>
> Cheers,
> Phil

When working with lisp, Ive found it convenient to bind the
numeric-keypad keys to s-exp movement and leave the cursor-movement
keypad keys to character movement. ie

(define-key lisp-mode-map [kp-left] 'backward-sexp)
(define-key lisp-mode-map [left] 'backward-char) ;; the default
etc

For org mode you may want to try something analogous like:

(define-key org-mode-map [kp-left] 'org-metaleft)
(define-key org-mode-map [left] 'backward-char) ;; the default

Rustom

  reply	other threads:[~2007-12-11 14:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-10 23:01 Re: Feature request - add a new heading with a lower level than current Charles Cave
2007-12-11 10:28 ` Phil Jackson
2007-12-11 14:30   ` Rustom Mody [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-12-10 22:03 Charles Cave
2007-12-10 22:12 ` William Henney
2007-12-10 22:13 ` Nick Dokos
2007-12-10 22:13 ` Adam Spiers

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=f46c52560712110630r4dbf3049v9c4a81e8133625df@mail.gmail.com \
    --to=rustompmody@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).