On Thu, Nov 7, 2013 at 11:27 AM, Dale Snell <[email protected]> wrote:
> On Thu, 7 Nov 2013 10:45:50 -0800 (PST) > Rich Shepard <[email protected]> wrote: > > > > > Just as easy to mark a region (keyboard or pointy device), then press > > ctrl-x w to cut and ctrl-x y to yank it back. > > > > That procedure works fine, except that it marks the buffer as > modified. That can be fixed with M-~ . So, being terminally lazy, I > created a macro in my .init.el: > > (global-set-key (kbd "C-x w") 'copy-region-as-kill) > kill-ring-save, which is bound to M-w (by default) does the same thing with one minor change: "This command is similar to `copy-region-as-kill', except that it gives visual feedback indicating the extent of the region being copied." (I'm also not sure where C-x y is defined for Rich -- C-y performs yank for me.) --Rogan > > I do quite a bit of copy/paste, and this command makes things more > convenient. > > --Dale > > -- > "Have you any idea how successful censorship is on TV? Don't > know the answer? Hmm. Successful, isn't it?" -- Max Headroom > _______________________________________________ > PLUG mailing list > [email protected] > http://lists.pdxlinux.org/mailman/listinfo/plug > _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
