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

Go to the source code of this file.

Data Structures

struct  oparg_S
 
struct  cmdarg_S
 

Macros

#define FIND_IDENT   1 /* find identifier (word) */
 
#define FIND_STRING   2 /* find any string (WORD) */
 
#define FIND_EVAL   4 /* include "->", "[]" and "." */
 
#define CA_COMMAND_BUSY   1 /* skip restarting edit() once */
 
#define CA_NO_ADJ_OP_END   2 /* don't adjust operator end */
 

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

#define CA_COMMAND_BUSY   1 /* skip restarting edit() once */
#define CA_NO_ADJ_OP_END   2 /* don't adjust operator end */
#define FIND_EVAL   4 /* include "->", "[]" and "." */
#define FIND_IDENT   1 /* find identifier (word) */
#define FIND_STRING   2 /* find any string (WORD) */

Typedef Documentation

typedef struct cmdarg_S cmdarg_T
typedef struct oparg_S oparg_T

Enumeration Type Documentation

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.