Daniel Carrera | 4 Jan 2011 18:58
Picon

Re: [Jed-users-l] Problems with Perl files

Works! Thanks.

On Tue, Jan 4, 2011 at 6:43 PM, Manfred Hanke
<Manfred.Hanke <at> sternwarte.uni-erlangen.de> wrote:
> Hi Daniel,
>
> you can undefine Ctrl-C from the perl keymap in a perl_mode_hook (which
> is executed while activating perl mode), and (re)assign it to the
> command you prefer, by putting the following lines in your ~/.jedrc:
>
> define perl_mode_hook()
> {
>    undefinekey("^C", "perl");
>    local_setkey("yp_copy_region_as_kill", "^C");  % Copy (cua default)
> }
>
> I don't know whether there is a more elegant way to have jed reconsider
> the Global keymap after ^C has been undefined?
>
> Cheers,
>
> Manfred
>
>
>
> Daniel Carrera wrote:
>> Hello,
>>
>> This is strange. I have the CUA bindings, but when I edit *Perl*
>> files, the Ctrl-C stops working (it should copy text). I think I found
(Continue reading)


Gmane