Bram Moolenaar | b66bab3 | 2019-08-01 14:28:24 +0200 | [diff] [blame] | 1 | /* map.c */ |
| 2 | mapblock_T *get_maphash_list(int state, int c); |
| 3 | mapblock_T *get_buf_maphash_list(int state, int c); |
| 4 | int is_maphash_valid(void); |
| 5 | int do_map(int maptype, char_u *arg, int mode, int abbrev); |
| 6 | void map_clear_int(buf_T *buf, int mode, int local, int abbr); |
Bram Moolenaar | 581ba39 | 2019-09-03 22:08:33 +0200 | [diff] [blame] | 7 | int mode_str2flags(char_u *modechars); |
Bram Moolenaar | b66bab3 | 2019-08-01 14:28:24 +0200 | [diff] [blame] | 8 | int map_to_exists(char_u *str, char_u *modechars, int abbr); |
| 9 | int map_to_exists_mode(char_u *rhs, int mode, int abbr); |
| 10 | char_u *set_context_in_map_cmd(expand_T *xp, char_u *cmd, char_u *arg, int forceit, int isabbrev, int isunmap, cmdidx_T cmdidx); |
| 11 | int ExpandMappings(regmatch_T *regmatch, int *num_file, char_u ***file); |
| 12 | int check_abbr(int c, char_u *ptr, int col, int mincol); |
| 13 | char_u *eval_map_expr(char_u *str, int c); |
| 14 | char_u *vim_strsave_escape_csi(char_u *p); |
| 15 | void vim_unescape_csi(char_u *p); |
| 16 | int makemap(FILE *fd, buf_T *buf); |
| 17 | int put_escstr(FILE *fd, char_u *strstart, int what); |
| 18 | void check_map_keycodes(void); |
| 19 | char_u *check_map(char_u *keys, int mode, int exact, int ign_mod, int abbr, mapblock_T **mp_ptr, int *local_ptr); |
Yegappan Lakshmanan | 4a15504 | 2021-07-30 21:32:45 +0200 | [diff] [blame] | 20 | void f_maparg(typval_T *argvars, typval_T *rettv); |
| 21 | void f_mapcheck(typval_T *argvars, typval_T *rettv); |
Bram Moolenaar | 4c9243f | 2020-05-22 13:10:44 +0200 | [diff] [blame] | 22 | void f_mapset(typval_T *argvars, typval_T *rettv); |
Bram Moolenaar | b66bab3 | 2019-08-01 14:28:24 +0200 | [diff] [blame] | 23 | void init_mappings(void); |
| 24 | void add_map(char_u *map, int mode); |
Bram Moolenaar | e677df8 | 2019-09-02 22:31:11 +0200 | [diff] [blame] | 25 | int langmap_adjust_mb(int c); |
| 26 | void langmap_init(void); |
| 27 | void langmap_set(void); |
Bram Moolenaar | b66bab3 | 2019-08-01 14:28:24 +0200 | [diff] [blame] | 28 | void ex_abbreviate(exarg_T *eap); |
| 29 | void ex_map(exarg_T *eap); |
| 30 | void ex_unmap(exarg_T *eap); |
| 31 | void ex_mapclear(exarg_T *eap); |
| 32 | void ex_abclear(exarg_T *eap); |
| 33 | /* vim: set ft=c : */ |