Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > ctrl-c ctril-v

Reply
Thread Tools

ctrl-c ctril-v

 
 
Roedy Green
Guest
Posts: n/a
 
      01-24-2013
Is it possible to reconfigure copy paste to some other keystrokes
besides ctrl-C ctrl-V either within Java or Windows entirely?

They are quite inconveniently placed in a dsk layout.
--
Roedy Green Canadian Mind Products http://mindprod.com
The first 90% of the code accounts for the first 90% of the development time.
The remaining 10% of the code accounts for the other 90% of the development
time.
~ Tom Cargill Ninety-ninety Law
 
Reply With Quote
 
 
 
 
Andreas Leitgeb
Guest
Posts: n/a
 
      01-24-2013
Roedy Green <> wrote:
> Is it possible to reconfigure copy paste to some other keystrokes
> besides ctrl-C ctrl-V either within Java or Windows entirely?
> They are quite inconveniently placed in a dsk layout.


Don't think it is possible...

Even if it were, then whatever other letters (with Ctrl) would
get the Copy and Paste functionality, they might conflict with
some appliation's use for that respective other key.

E.g., if you set Copy to Ctrl-J and Paste to Ctrl-K and maybe
even Cut to Ctrl-Q, then you may run into problems with apps
that use Ctrl-Q,J,K for other stuff.

 
Reply With Quote
 
 
 
 
Arne Vajhøj
Guest
Posts: n/a
 
      01-24-2013
On 1/24/2013 7:23 AM, Roedy Green wrote:
> Is it possible to reconfigure copy paste to some other keystrokes
> besides ctrl-C ctrl-V either within Java or Windows entirely?


Within a Java GUI it should be easy.

It will not be as easy to outside of the Java GUI. And Java will
not be the right language to hook into the OS/WM/GUI framework.

> They are quite inconveniently placed in a dsk layout.


But it is what people expect.

Arne


 
Reply With Quote
 
Daniel Pitts
Guest
Posts: n/a
 
      01-24-2013
On 1/24/13 4:23 AM, Roedy Green wrote:
> Is it possible to reconfigure copy paste to some other keystrokes
> besides ctrl-C ctrl-V either within Java or Windows entirely?
>
> They are quite inconveniently placed in a dsk layout.
>

FWIW, on the Mac it is Command-C/V, which is more convenient since
Command is a thumb-pressed key, not a pinky-pressed. This is true for
most hot keys.

The equivalent on a PC would be pressing the Alt key for most hot-keys.

Having said that, a lot of applications allow you to remap hot keys, but
it is per application. No global solution that I know of. Probably
could be done.
 
Reply With Quote
 
bob smith
Guest
Posts: n/a
 
      01-24-2013
On Thursday, January 24, 2013 6:23:53 AM UTC-6, Roedy Green wrote:
> Is it possible to reconfigure copy paste to some other keystrokes
>
> besides ctrl-C ctrl-V either within Java or Windows entirely?
>
>
>
> They are quite inconveniently placed in a dsk layout.
>
> --
>
> Roedy Green Canadian Mind Products http://mindprod.com
>
> The first 90% of the code accounts for the first 90% of the development time.
>
> The remaining 10% of the code accounts for the other 90% of the development
>
> time.
>
> ~ Tom Cargill Ninety-ninety Law


I used to use right-clicking on stuff to Copy/Paste in Windows. Or the menu bar. Or the copy and paste icons.

Sometimes if I don't like a hotkey, I'll use a Macro program, and I'll tell it to generate the Control C keystroke if I hit F12 or something. There's a program called AutoHotkey for Windows that might do that.
 
Reply With Quote
 
John B. Matthews
Guest
Posts: n/a
 
      01-24-2013
In article <>,
Roedy Green <> wrote:

> Is it possible to reconfigure copy paste to some other
> keystrokes besides ctrl-C ctrl-V either within Java or
> Windows entirely?
>
> They are quite inconveniently placed in a dsk layout.


You can augment or replace the default key binding for a
particular text component's "copy" and "paste" actions:

<http://docs.oracle.com/javase/tutorial/uiswing/misc/keybinding.html>

I've never tried to make a wholesale change.

--
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>
 
Reply With Quote
 
Arved Sandstrom
Guest
Posts: n/a
 
      01-24-2013
On 01/24/2013 12:16 PM, Daniel Pitts wrote:
> On 1/24/13 4:23 AM, Roedy Green wrote:
>> Is it possible to reconfigure copy paste to some other keystrokes
>> besides ctrl-C ctrl-V either within Java or Windows entirely?
>>
>> They are quite inconveniently placed in a dsk layout.
>>

> FWIW, on the Mac it is Command-C/V, which is more convenient since
> Command is a thumb-pressed key, not a pinky-pressed. This is true for
> most hot keys.

[ SNIP ]

I am an extremely fast two-fingered typist...to me it doesn't matter.

AHS

 
Reply With Quote
 
Daniel Pitts
Guest
Posts: n/a
 
      01-24-2013
On 1/24/13 11:20 AM, Arved Sandstrom wrote:
> On 01/24/2013 12:16 PM, Daniel Pitts wrote:
>> On 1/24/13 4:23 AM, Roedy Green wrote:
>>> Is it possible to reconfigure copy paste to some other keystrokes
>>> besides ctrl-C ctrl-V either within Java or Windows entirely?
>>>
>>> They are quite inconveniently placed in a dsk layout.
>>>

>> FWIW, on the Mac it is Command-C/V, which is more convenient since
>> Command is a thumb-pressed key, not a pinky-pressed. This is true for
>> most hot keys.

> [ SNIP ]
>
> I am an extremely fast two-fingered typist...to me it doesn't matter.
>
> AHS
>

It's not always about speed. Comfort is part of it as well. I can type
really fast with two fingers (thanks to apple iP{hone,ad,od}). My wrist
gets tired doing so for long stretches.
 
Reply With Quote
 
Jim Janney
Guest
Posts: n/a
 
      01-25-2013
Roedy Green <> writes:

> Is it possible to reconfigure copy paste to some other keystrokes
> besides ctrl-C ctrl-V either within Java or Windows entirely?
>
> They are quite inconveniently placed in a dsk layout.


This is a good thing. Programmers should not copy/paste on a regular
basis.

But on Windows I normally use control-insert/shift-insert anyway. No
need to reconfigure anything, it already works. That's the key marked
"Ins", just left of the home key.

--
Jim Janney
 
Reply With Quote
 
Lew
Guest
Posts: n/a
 
      01-25-2013
Jim Janney wrote:
> Roedy Green writes:
>> Is it possible to reconfigure copy paste to some other keystrokes
>> besides ctrl-C ctrl-V either within Java or Windows entirely?

>
>> They are quite inconveniently placed in a dsk layout.

>
> This is a good thing. Programmers should not copy/paste on a regular
> basis.


Ridiculous assertion.

I'm a programmer, and a good one at that, and I copy/paste dozens or hundreds
of times a day.

Code.

--
Lew
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57