[ESS] First steps
Marc Schwartz
marc_schwartz at me.com
Tue Jul 14 21:52:26 CEST 2009
Yep...you might want to review the code at:
http://www.emacswiki.org/cgi-bin/wiki/SkeletonMode#toc14
HTH,
Marc
On Jul 14, 2009, at 2:36 PM, Vinh Nguyen wrote:
> This is very helpful! Sometimes I accidentally hit a " or a (, which
> will give "" and (). I then have to delete both characters. Is there
> a way to delete both when i hit backspace to delete (? R in mac does
> this.
>
> Thanks.
>
> Vinh
> --
> This e-mail/fax message, including any attachments, is for the sole
> use of the intended recipient(s) and may contain confidential and
> privileged information. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the intended recipient,
> please contact the sender by reply e-mail/fax and destroy all copies
> of the original message.
>
>
>
> On Sat, Jun 27, 2009 at 1:36 AM, Vitalie S.<vitosmail at rambler.ru>
> wrote:
>> On Fri, 26 Jun 2009 16:09:34 +0200, Marc Schwartz <marc_schwartz at me.com
>> >
>> wrote:
>>
>>> I have the following in my .emacs, which uses skeleton mode to
>>> pair {},
>>> [], (), '', "" and <>:
>>> ;; enable skeleton-pair insert globally
>>> (setq skeleton-pair t)
>>> ;;(setq skeleton-pair-on-word t)
>>> (global-set-key (kbd "(") 'skeleton-pair-insert-maybe)
>>> (global-set-key (kbd "[") 'skeleton-pair-insert-maybe)
>>> (global-set-key (kbd "{") 'skeleton-pair-insert-maybe)
>>> (global-set-key (kbd "\"") 'skeleton-pair-insert-maybe)
>>> (global-set-key (kbd "\'") 'skeleton-pair-insert-maybe)
>>> (global-set-key (kbd "\`") 'skeleton-pair-insert-maybe)
>>> (global-set-key (kbd "<") 'skeleton-pair-insert-maybe)
>>
>> Cool tip. Would be nice to have it in the FAQ :).
More information about the ESS-help
mailing list