Data Structures | Macros | Typedefs | Enumerations
normal.h File Reference
#include <stdbool.h>
#include "nvim/buffer_defs.h"
#include "nvim/pos.h"

Go to the source code of this file.

Data Structures

struct  oparg_S
 
struct  cmdarg_S
 

Macros

#define FIND_IDENT   1
 
#define FIND_STRING   2
 
#define FIND_EVAL   4
 
#define CA_COMMAND_BUSY   1
 
#define CA_NO_ADJ_OP_END   2
 

Typedefs

typedef struct oparg_S oparg_T
 
typedef struct cmdarg_S cmdarg_T
 

Enumerations

enum  MotionType { kMTCharWise = 0, kMTLineWise = 1, kMTBlockWise = 2, kMTUnknown = -1 }
 

Macro Definition Documentation

◆ CA_COMMAND_BUSY

#define CA_COMMAND_BUSY   1

◆ CA_NO_ADJ_OP_END

#define CA_NO_ADJ_OP_END   2

◆ FIND_EVAL

#define FIND_EVAL   4

◆ FIND_IDENT

#define FIND_IDENT   1

◆ FIND_STRING

#define FIND_STRING   2

Typedef Documentation

◆ cmdarg_T

typedef struct cmdarg_S cmdarg_T

◆ oparg_T

typedef struct oparg_S oparg_T

Enumeration Type Documentation

◆ MotionType

enum MotionType

Motion types, used for operators and for yank/delete registers.

The three valid numerical values must not be changed, as they are used in external communication and serialization.

Enumerator
kMTCharWise 

character-wise movement/register

kMTLineWise 

line-wise movement/register

kMTBlockWise 

block-wise movement/register

kMTUnknown 

Unknown or invalid motion type.