c******n 发帖数: 4965 | 1 in vim, we can do ^Y
and then you can just copy the last import line, for example you have
already typed
import org.apache.commons.cli.Blah;
then you want to type
import org.apache.commons.cli.Foo;
then you can type ^Y till the last ".",
in eclispe, is there a way to do this? |
c******n 发帖数: 4965 | 2 doing a copy-paste requires moving your hand to the mouse and
is rather slow
contain
【在 c******n 的大作中提到】 : in vim, we can do ^Y : and then you can just copy the last import line, for example you have : already typed : import org.apache.commons.cli.Blah; : then you want to type : import org.apache.commons.cli.Foo; : then you can type ^Y till the last ".", : in eclispe, is there a way to do this?
|
g*****g 发帖数: 34805 | 3 Not really, you move the curse to the line, press home,
press shift-end, while keep pressing shift, you press
ctrl+left. You are done.
【在 c******n 的大作中提到】 : doing a copy-paste requires moving your hand to the mouse and : is rather slow : : contain
|
m****r 发帖数: 6639 | 4 with vi plugin, if i want to to copy a line, i do Y, P.
if i want to redo what i just did, i do ".".
they work for me yah.
【在 c******n 的大作中提到】 : in vim, we can do ^Y : and then you can just copy the last import line, for example you have : already typed : import org.apache.commons.cli.Blah; : then you want to type : import org.apache.commons.cli.Foo; : then you can type ^Y till the last ".", : in eclispe, is there a way to do this?
|
l**b 发帖数: 457 | 5 How old is your eclipse? Does the latest VI plugin still works in the latest
Eclipse?
【在 m****r 的大作中提到】 : with vi plugin, if i want to to copy a line, i do Y, P. : if i want to redo what i just did, i do ".". : they work for me yah.
|
m****r 发帖数: 6639 | 6 i use galileo.
latest
【在 l**b 的大作中提到】 : How old is your eclipse? Does the latest VI plugin still works in the latest : Eclipse?
|
c******n 发帖数: 4965 | 7 thanks, but moving fingers to the arrow keys is also pretty much like
using the mouse
I'll check mapcar's solution
【在 g*****g 的大作中提到】 : Not really, you move the curse to the line, press home, : press shift-end, while keep pressing shift, you press : ctrl+left. You are done.
|
c******n 发帖数: 4965 | 8 http://sourceforge.net/projects/vimplugin/
did you use this one?
thanks
【在 m****r 的大作中提到】 : with vi plugin, if i want to to copy a line, i do Y, P. : if i want to redo what i just did, i do ".". : they work for me yah.
|
m****r 发帖数: 6639 | 9 i think not. i remember it was called the "viplugin".
【在 c******n 的大作中提到】 : http://sourceforge.net/projects/vimplugin/ : did you use this one? : thanks
|
m****r 发帖数: 6639 | 10 http://www.viplugin.com/viplugin/
【在 m****r 的大作中提到】 : i think not. i remember it was called the "viplugin".
|
c******n 发帖数: 4965 | 11 I see, I'll have to spend 20$ now
【在 m****r 的大作中提到】 : i think not. i remember it was called the "viplugin".
|
l**b 发帖数: 457 | 12 I am pretty sure you can skip the donation and download the latest one under
it.
【在 c******n 的大作中提到】 : I see, I'll have to spend 20$ now
|