Thread View: comp.editors
3 messages
3 total messages
Started by Eric R. Johnson
Tue, 22 Dec 1992 14:19
Mouse cognizant vi?
Author: Eric R. Johnson
Date: Tue, 22 Dec 1992 14:19
Date: Tue, 22 Dec 1992 14:19
9 lines
808 bytes
808 bytes
I like vi, so I hope this is not sacrilegous :-)... Is there a version of vi that will move the cursor to a point clicked on with a mouse? Most times it's _great_ to not leave the home row, but if I resize a window, and want to jump to a new point, it would be nice to just be able to _go_ there with one click, and not a bunch of keystrokes. Thanks.
Re: Mouse cognizant vi?
Author: Tom von Alten
Date: Thu, 31 Dec 1992 19:15
Date: Thu, 31 Dec 1992 19:15
21 lines
1481 bytes
1481 bytes
Eric R. Johnson (ejohnson@enuxha.eas.asu.edu) wrote:
: Is there a version of vi that will move the cursor to a point
: clicked on with a mouse? Most times it's _great_ to not leave the
: home row, but if I resize a window, and want to jump to a new point,
: it would be nice to just be able to _go_ there with one click, and
: not a bunch of keystrokes.
If you have the "copyline" feature or equivalent (mine is with HP's
Xwindows and hpterm) you can simulate this behavior. This feature copies
from the mouse position to the end of line, including the <lf> and pastes
this buffer. In command mode,
1. type "/" (for search)
2. position the mouse and press "copyline" (on my system
it's mapped to the right mouse button)
A windows-based cut/paste functionality could be used also, but likely adds
up to more than 1 key and 1 boink.
_____________
Tom von Alten email: alien@boi.hp.com
Hewlett-Packard Disk Memory Division
Re: Mouse cognizant vi?
Author: David Bath
Date: Tue, 12 Jan 1993 14:51
Date: Tue, 12 Jan 1993 14:51
19 lines
1415 bytes
1415 bytes
alien@boi.hp.com (Tom von Alten) writes: >Eric R. Johnson (ejohnson@enuxha.eas.asu.edu) wrote: >: Is there a version of vi that will move the cursor to a point >: clicked on with a mouse? Most times it's _great_ to not leave the >: home row, but if I resize a window, and want to jump to a new point, >: it would be nice to just be able to _go_ there with one click, and >: not a bunch of keystrokes. Try xvi from simtel msdos archives, editor directories unix source for suns, crays, bsd, sysv, and PC. David T. Bath Email:dtb@otto.bf.rmit.oz.au Phone:03-3477511 Global Technology Corporation, 179 Grattan St, CARLTON, VIC, 3153, AUSTRALIA "Failure to emulate is the best revenge" - Marcus Aurelius -- David T. Bath Email:dtb@otto.bf.rmit.oz.au Phone:03-3477511 Global Technology Corporation, 179 Grattan St, CARLTON, VIC, 3153, AUSTRALIA "Failure to emulate is the best revenge" - Marcus Aurelius
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads