[PLUG] Emacs: save marked lines to new file
Rich Shepard
rshepard at appl-ecosys.com
Thu Nov 7 20:18:48 UTC 2013
On Thu, 7 Nov 2013, Dale Snell wrote:
> That procedure works fine, except that it marks the buffer as modified.
Well, it is modified if I delete content.
> So, being terminally lazy, I created a macro in my .init.el:
>
> (global-set-key (kbd "C-x w") 'copy-region-as-kill)
> I do quite a bit of copy/paste, and this command makes things more
> convenient.
When I want to copy a marked block I use C-x w followed by C-x y. Doesn't
need an additional macro.
Thanks,
Rich
--
Richard B. Shepard, Ph.D. | Have knowledge, will travel.
Applied Ecosystem Services, Inc. |
<http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863
More information about the PLUG
mailing list