Discussion:
crosshair cursor?
Vlad Ghitulescu
2006-01-31 12:38:48 UTC
Permalink
Hello!


Is there a posibility to have the cursor as crosshair in (g)vim?

Thanks!


Regards,
Vlad
--
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie
Gareth Oakes
2006-01-31 13:04:42 UTC
Permalink
Hi Vlad,
Post by Vlad Ghitulescu
Hello!
Is there a posibility to have the cursor as crosshair in (g)vim?
Thanks!
Regards,
Vlad
I assume by cursor you mean the mouse pointer? If so, look here:

:help 'mouseshape'

Cheers,
Gareth
Vlad Ghitulescu
2006-01-31 13:13:42 UTC
Permalink
--- Ursprüngliche Nachricht ---
Betreff: Re: crosshair cursor?
Datum: Tue, 31 Jan 2006 13:04:42 +0000
Hi Vlad,
Hi, Gareth!


Thanks for your reply!
Post by Vlad Ghitulescu
Hello!
Is there a posibility to have the cursor as crosshair in (g)vim?
Thanks!
Regards,
Vlad
:help 'mouseshape'
No. I mean the actual position of the cursor in text, regardless of the
mouse.
I would like to have it not as a blinking block-cursor, but like a crosshair
(crossfading) (similar the ones I use in SPF for example).
Cheers,
Gareth
Regards,
Vlad
--
10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail
+++ GMX - die erste Adresse für Mail, Message, More +++
Gareth Oakes
2006-01-31 13:16:38 UTC
Permalink
Hi Vlad,
Post by Vlad Ghitulescu
--- Ursprüngliche Nachricht ---
Betreff: Re: crosshair cursor?
Datum: Tue, 31 Jan 2006 13:04:42 +0000
Post by Vlad Ghitulescu
Is there a posibility to have the cursor as crosshair in (g)vim?
Regards,
Vlad
:help 'mouseshape'
No. I mean the actual position of the cursor in text, regardless of the
mouse.
I would like to have it not as a blinking block-cursor, but like a crosshair
(crossfading) (similar the ones I use in SPF for example).
I'm still not 100% sure of what you want the cursor to look like, but
the only way to change the cursor is in gvim. Have a look at this help
item:

:help 'guicursor'

Cheers,
Gareth
John Love-Jensen
2006-01-31 13:29:02 UTC
Permalink
Hi Vlad,

Hmmm... I've only seen the SPF crosshair type cursor on 3270 terminals. (Or
were they 3290? Or something else? Been a long time.)

Ahh...
http://www.planetmvs.com/spfeditor/
...I guess there are an assortment of SPF-like editors. The only PC one
I've ever seen was a long time ago, on OS/2.

Although not quite the same as a screen-sized crosshair cursor, I have see a
Vim instrumentation to highlight the entire line that the cursor is on.
(Hmmmm, drat, I don't have a URL to the trick on hand.)

Side note: in some GUI jargon, "cursor" refers to the mouse pointer, and
"caret" refers to the text insertion marker.

Sincerely,
--Eljay
A. J. Mechelynck
2006-01-31 14:05:08 UTC
Permalink
Post by Gareth Oakes
Hi Vlad,
Hmmm... I've only seen the SPF crosshair type cursor on 3270 terminals. (Or
were they 3290? Or something else? Been a long time.)
Ahh...
http://www.planetmvs.com/spfeditor/
...I guess there are an assortment of SPF-like editors. The only PC one
I've ever seen was a long time ago, on OS/2.
Although not quite the same as a screen-sized crosshair cursor, I have see a
Vim instrumentation to highlight the entire line that the cursor is on.
(Hmmmm, drat, I don't have a URL to the trick on hand.)
Side note: in some GUI jargon, "cursor" refers to the mouse pointer, and
"caret" refers to the text insertion marker.
Sincerely,
--Eljay
In Vim jargon, however, "the cursor" refers to the insertion marker, and
the mouse pointer is, well, if anything, "the mouse pointer". (Vim is a
piece of software which is primarily keyboard-oriented, with mouse
functions being added as an optional "icing-on-the-cake" add-on.)


Best regards,
Tony.

A. J. Mechelynck
2006-01-31 13:14:48 UTC
Permalink
Post by Vlad Ghitulescu
Hello!
Is there a posibility to have the cursor as crosshair in (g)vim?
Thanks!
Regards,
Vlad
No, see ":help 'guicursor'" and ":help termcap-cursor-shape". In (g)vim,
the cursor can be any of the following:

1. a block occupying the whole character cell
2. a horizontal bar of arbitrary height
3. a vertical bar of arbitrary width
4. in addition to the above, its colour is settable separately depending
on whether or not a keymap is in use.

(3) above is GUI only, the rest applies to the GUI and to some console
versions (Dos, Windows, and xterm versions with +cursorshape).


Best regards,
Tony.
A. J. Mechelynck
2006-01-31 13:26:03 UTC
Permalink
Post by A. J. Mechelynck
Post by Vlad Ghitulescu
Hello!
Is there a posibility to have the cursor as crosshair in (g)vim?
Thanks!
Regards,
Vlad
No, see ":help 'guicursor'" and ":help termcap-cursor-shape". In (g)vim,
1. a block occupying the whole character cell
2. a horizontal bar of arbitrary height
3. a vertical bar of arbitrary width
4. in addition to the above, its colour is settable separately depending
on whether or not a keymap is in use.
(3) above is GUI only, the rest applies to the GUI and to some console
versions (Dos, Windows, and xterm versions with +cursorshape).
Best regards,
Tony.
P.S. +cursorshape is version 7 only.

Best regards,
Tony.
Loading...