[TxMt] Solution for cut to end of line (emacs ctrl-k)?
Brad Miller
bonelake at mac.com
Tue Jan 18 15:49:55 UTC 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
For the last 7-8 weeks I've been trying to retrain myself to not use
ctrl-k/ctrl-y. Apparently it cannot be done. I've spent more time
undoing the crazy results of ctrl-k followed by ctrl-y than I care to
talk about.
I've tried the macro route, and I now understand that macros have their
own clipboards, which explains why the text that I cut inside the macro
just dissappears forever.
As suggested by someone on this list earlier (back in November), I've
created a macro to select to end of line, followed by a command that
cats the selected text into a temp file, and I've put both of those
little commands inside yet another macro bound to ctrl-k. I've bound
ctrl-y to a macro that cats the file into the current buffer. The
problem with this approach is that now ctrl-k / ctrl-y have their own
private little clipboard. so ctrl-y can't paste anything from the
system clipboard or a 'regular' cut/paste.
Does anybody have a better solution to this problem yet? I'm so happy
with so many things about TextMate, and I have paid the license fee,
but this morning I found myself trying out other editors again :-(
Thanks,
Brad
Brad Miller, PhD
Assistant Professor
Luther College
http://www.cs.luther.edu/~bmiller
jabber: bnmnetp at jabber.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFB7TAot6pClM1VKiYRAr1/AJ95KPx7Pm+5DEnUC8Vi76NPx4KhWACfQSWB
IrUCwUhZ5DZQ87C5rFsfsUA=
=xeLB
-----END PGP SIGNATURE-----
More information about the textmate
mailing list