On 15.12.2011, at 08:50, Sebastien Vauban wrote:
> Hi Carsten,
>
> Carsten Dominik wrote:
>> On 9.12.2011, at 22:36, Uwe Brauer wrote:
>>> I would like to have the same binding as in org-mode
>>>
>>> (local-set-key [(control c) (control w)] 'org-table-wrap-region)
>>
>> We could just add this
Hi Carsten,
Carsten Dominik wrote:
> On 9.12.2011, at 22:36, Uwe Brauer wrote:
>> I would like to have the same binding as in org-mode
>>
>> (local-set-key [(control c) (control w)] 'org-table-wrap-region)
>
> We could just add this to the standard orgtbl bindings - don't know why
> this is not
Carsten Dominik wrote:
(add-hook
'orgtbl-mode-hook
(lambda ()
(org-defkey orgtbl-mode-map "\C-c\C-w"
(orgtbl-make-binding 'org-table-wrap-region 1000 "\C-c\C-w"))
(org-defkey orgtbl-mode-map "\C-c\C-h"
(orgtbl-make-binding 'org-table-wrap-region 1001 "\C-
On 9.12.2011, at 22:36, Uwe Brauer wrote:
>
>
> Hello
>
>
> how can I bind keys in Orgtbl minor mode?
>
> I would like to have the same binding as in org-mode
>
> (local-set-key [(control c) (control w)] 'org-table-wrap-region)
We could just add this to the standard orgtbl bindings - don
Uwe Brauer wrote:
>
>
> Hello
>
>
> how can I bind keys in Orgtbl minor mode?
>
> I would like to have the same binding as in org-mode
>
> (local-set-key [(control c) (control w)] 'org-table-wrap-region)
> (local-set-key [(control c) (control h)] 'org-table-insert-hline)
>
> But I don
Hello
how can I bind keys in Orgtbl minor mode?
I would like to have the same binding as in org-mode
(local-set-key [(control c) (control w)] 'org-table-wrap-region)
(local-set-key [(control c) (control h)] 'org-table-insert-hline)
But I don't find a orgtbl-mode-hook.
Thanks
Uwe Brauer