Tip #262: Bored of ur arrow shapped mouseptr?
tip karma |
Rating 5/10, Viewed by 841
|
created: |
|
June 13, 2002 22:44 |
|
complexity: |
|
basic |
author: |
|
ncr |
|
as of Vim: |
|
6.0 |
here is how u can change the shape of ur mouseptr in gvim.
:set mouseshape=n:pencil
this will change the shape of the mouseptr to pencil in normal mode.
u can choose different shapes for different modes. see :h mouseshape
Want more shapes?
Then look for the file cursorfont.h in ur X11/ directory.
This file contains lots of cursor shape #define definitions, like
.
#define XC_heart 62
.
now :set mouseshape=n:62 will set the shape of the mouseptr to heart
in normal mode.
-ncr
<<Close windows from Gvim poup menu |
color active line >>
Additional Notes
|