Re: Cut, Copy, Paste Nightmare

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tim wrote:
> I find the Linux way of doing it a right pain in the bum.  Two
> typical scenarios:

We have different usage patterns, and I can see how the copy/paste
behavior would rightfully drive you batty.  I'll secretly hope that
any fix for your use patterns don't break mine. :)

> First
> -----
> Linux:  I have some document with a word I'd like to replace.  I
> *have* to delete the word, find and highlight its new replacement,
> paste it into the document.

For me, this would be done in vim with a search and replace.

    :%s/old/new/g

Done.  All occurrences of old word are replaced with new word.  And I
can use a regex on the match and parts of the match for the
replacement.

I'd use perl to do this to multiple documents at a time like so:

    $ perl -pi -e 's/old/new/g' /path/to/docs/*

And I could replace /path/to/docs/ with something like:

    $(grep -rl 'old' /path)

which will search recursively for all files containing the old word
and feed them to perl to be replaced.

> Second:
> Linux:  I've highlighted some details from an e-mail that I want to
> put into the email configuration.  I open up the configuration, and
> the first editable data in it is already highlighted by the
> application.  It's now in the copy buffer, and I can't paste what
> *I* had previously copied.

Yeah, I've had this one happen to me occasionally.  When dealing with
things like that I do a real copy (ctrl-c) instead of just selecting
the text.  That way the new text that's selected won't wipe out what I
want to past over it.  In this case, I'm still no worse off than I'd
have been if I used windows, as far as I'm concerned.

I also don't ever have this issue with email, since I can edit my mutt
config with good old vim. :-)

There is no doubt room for improvement, mostly in making things
consistent and fixing badly designed user interfaces.  Hopefully folks
that run into those problems will file bugs at the right places and
get those things fixed.

But I do understand where you're coming from Tim.  It took me some
getting used to after leaving windows, but now when I get stuck in
front of a windows box I'm cursing like jdow at the copy/paste
behavior because I always forget that I have to do more than just
select the text.

- -- 
Todd        OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
======================================================================
I believe in the noble, aristocratic art of doing absolutely nothing.
And someday, I hope to be in a position where I can do even less.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.

iG0EARECAC0FAkR+aGkmGGh0dHA6Ly93d3cucG9ib3guY29tL350bXovcGdwL3Rt
ei5hc2MACgkQuv+09NZUB1p1bQCfcDKrZDXtf1EByV64RacOD9r6zZ0AoO1UcBN1
ItmJh6cw/bqrPRckteeR
=4Fvq
-----END PGP SIGNATURE-----


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux