[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Feature request - add a new heading with a lower level tha
From: |
Rustom Mody |
Subject: |
Re: [Orgmode] Feature request - add a new heading with a lower level than current |
Date: |
Tue, 11 Dec 2007 20:00:17 +0530 |
On Dec 11, 2007 3:58 PM, Phil Jackson <address@hidden> 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