help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Toggling the same key combination between two options


From: E.L.K.
Subject: Re: Toggling the same key combination between two options
Date: Sat, 13 Sep 2008 01:06:21 +0300

> I have F8 and F9 mapped to gud-remove and gud-break (respectively) in
> gud-mode.
> I'd like to mimic the behaviour of Visual Studio where F9 toggles
> between setting and removing the breakpoint. Is it possible to
> configure emacs so that it will toggle between the two bindings every
> time the key is pressed?

IIRC, there is function, called gdb-toggle-breakpoint, which can
be what you need.

But it will work only with gdb, I think.

-- 
E.L.K.
Saturday, 13 of September, 2008, 1:04

зы. C_U_L8r!




reply via email to

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