4 Jan 2011 18:58
Re: [Jed-users-l] Problems with Perl files
Daniel Carrera <dcarrera <at> gmail.com>
2011-01-04 17:58:12 GMT
2011-01-04 17:58:12 GMT
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)
RSS Feed