Over the years, my emacs init has used several complicated schemes to get
the shortcut S-Return to send lines into the *R* session.

2 weeks ago, Vitalie said this would work with ESS 13.05, and I just tried
it. Works great with Emacs 24.3.

;;Vitalie Spinu ESS-help email 2013-05-15
(define-key ess-mode-map [(control return)] nil)
(define-key ess-mode-map [(shift return)] 'ess-eval-region-or-line-and-step)

Awesome. Now CUA mode C-Return is safe for rectangular selection.

This shortens the startup file by about 25 lines.

Thanks again, I really appreciate the help.

pj
-- 
Paul E. Johnson
Professor, Political Science      Assoc. Director
1541 Lilac Lane, Room 504      Center for Research Methods
University of Kansas                 University of Kansas
http://pj.freefaculty.org               http://quant.ku.edu

	[[alternative HTML version deleted]]

