[ESS] First steps

Vitalie S. vitosmail at rambler.ru
Sat Jun 27 10:36:25 CEST 2009


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