Go to the documentation of this file. 1 #ifndef NVIM_CURSOR_SHAPE_H
2 #define NVIM_CURSOR_SHAPE_H
36 #define MSHAPE_NUMBERED 1000 // offset for shapes identified by number
37 #define MSHAPE_HIDE 1 // hide mouse pointer
39 #define SHAPE_MOUSE 1 // used for mouse pointer shape
40 #define SHAPE_CURSOR 2 // used for text cursor shape
58 #ifdef INCLUDE_GENERATED_DECLARATIONS
59 # include "cursor_shape.h.generated.h"
61 #endif // NVIM_CURSOR_SHAPE_H
long blinkwait
blinking, wait time before blinking starts
Definition: cursor_shape.h:47
Definition: cursor_shape.h:42
char used_for
SHAPE_MOUSE and/or SHAPE_CURSOR.
Definition: cursor_shape.h:53
@ SHAPE_IDX_CI
Command line Insert mode.
Definition: cursor_shape.h:15
@ SHAPE_IDX_N
Normal mode.
Definition: cursor_shape.h:10
@ SHAPE_VER
vertical bar cursor
Definition: cursor_shape.h:33
@ SHAPE_BLOCK
block cursor
Definition: cursor_shape.h:31
@ SHAPE_IDX_MOREL
Hit-return or More in last line.
Definition: cursor_shape.h:25
@ SHAPE_IDX_STATUS
On status line.
Definition: cursor_shape.h:20
int id_lm
highlight group ID for :lmap mode
Definition: cursor_shape.h:51
char * name
mode short name
Definition: cursor_shape.h:52
@ SHAPE_IDX_VE
Visual mode with 'selection' exclusive.
Definition: cursor_shape.h:18
int id
highlight group ID
Definition: cursor_shape.h:50
char * full_name
mode description
Definition: cursor_shape.h:43
@ SHAPE_IDX_R
Replace mode.
Definition: cursor_shape.h:13
@ SHAPE_IDX_SM
showing matching paren
Definition: cursor_shape.h:26
@ SHAPE_IDX_O
Operator-pending mode.
Definition: cursor_shape.h:17
CursorShape shape
cursor shape: one of the SHAPE_ defines
Definition: cursor_shape.h:44
long blinkon
blinking, on time
Definition: cursor_shape.h:48
@ SHAPE_IDX_CR
Command line Replace mode.
Definition: cursor_shape.h:16
@ SHAPE_IDX_CLINE
On command line.
Definition: cursor_shape.h:19
@ SHAPE_IDX_I
Insert mode.
Definition: cursor_shape.h:12
cursorentry_T shape_table[SHAPE_IDX_COUNT]
Handling of cursor and mouse pointer shapes in various modes.
Definition: cursor_shape.c:22
ModeShape
Definition: cursor_shape.h:9
@ SHAPE_IDX_C
Command line Normal mode.
Definition: cursor_shape.h:14
@ SHAPE_HOR
horizontal bar cursor
Definition: cursor_shape.h:32
int mshape
mouse shape: one of the MSHAPE defines
Definition: cursor_shape.h:45
@ SHAPE_IDX_VDRAG
dragging a vertical separator line
Definition: cursor_shape.h:23
@ SHAPE_IDX_VSEP
On vertical separator line.
Definition: cursor_shape.h:22
int percentage
percentage of cell for bar
Definition: cursor_shape.h:46
@ SHAPE_IDX_MORE
Hit-return or More.
Definition: cursor_shape.h:24
struct cursor_entry cursorentry_T
CursorShape
Definition: cursor_shape.h:30
@ SHAPE_IDX_COUNT
Definition: cursor_shape.h:27
@ SHAPE_IDX_SDRAG
dragging a status line
Definition: cursor_shape.h:21
long blinkoff
blinking, off time
Definition: cursor_shape.h:49
@ SHAPE_IDX_V
Visual mode.
Definition: cursor_shape.h:11