emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] org-speed-commands and `org-beginning-of-line-tip'


From: Rainer Stengele
Subject: Re: [O] org-speed-commands and `org-beginning-of-line-tip'
Date: Fri, 02 Aug 2013 08:57:37 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7

Am 8/1/2013 9:18 AM, schrieb Oleh:
> Hi all,
> 
> I've come to rely on org-speed-commands quite a lot,
> and I wanted to share this tip with other people, who use them:
> 
> (define-key org-mode-map (kbd "C-a")
>   (lambda()(interactive)
>          (if (looking-at "^[^*]")
>              (re-search-backward "^*")
>            (org-beginning-of-line))))
> 
> Basically, an additional C-a when already at the beginning of line takes you 
> to
> the previous heading, where speed commands are possible.
> 
> Since the normal C-a would do nothing in this case, it's a straight upgrade.
> 
> regards,
> Oleh
> 
> 
Hi, nice idea, thanks.
Rainer




reply via email to

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