summaryrefslogtreecommitdiff
path: root/src/normal.hh
blob: bb2d3ecc287d066da28a51629d229428cba88c49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef normal_hh_INCLUDED
#define normal_hh_INCLUDED

#include "hash_map.hh"
#include "keys.hh"
#include "string.hh"

namespace Kakoune
{

class Context;

struct NormalParams
{
    int count;
    char reg;
};

struct NormalCmd
{
    StringView docstring;
    void (*func)(Context& context, NormalParams params);
};

extern const HashMap<Key, NormalCmd> keymap;

}

#endif // normal_hh_INCLUDED