blob: 6da455a7e47163f58085a6aafc50399bf212a0fb [file] [log] [blame]
Bram Moolenaarb66bab32019-08-01 14:28:24 +02001/* map.c */
2mapblock_T *get_maphash_list(int state, int c);
3mapblock_T *get_buf_maphash_list(int state, int c);
4int is_maphash_valid(void);
5int do_map(int maptype, char_u *arg, int mode, int abbrev);
6void map_clear_int(buf_T *buf, int mode, int local, int abbr);
Bram Moolenaar581ba392019-09-03 22:08:33 +02007int mode_str2flags(char_u *modechars);
Bram Moolenaarb66bab32019-08-01 14:28:24 +02008int map_to_exists(char_u *str, char_u *modechars, int abbr);
9int map_to_exists_mode(char_u *rhs, int mode, int abbr);
10char_u *set_context_in_map_cmd(expand_T *xp, char_u *cmd, char_u *arg, int forceit, int isabbrev, int isunmap, cmdidx_T cmdidx);
11int ExpandMappings(regmatch_T *regmatch, int *num_file, char_u ***file);
12int check_abbr(int c, char_u *ptr, int col, int mincol);
13char_u *eval_map_expr(char_u *str, int c);
14char_u *vim_strsave_escape_csi(char_u *p);
15void vim_unescape_csi(char_u *p);
16int makemap(FILE *fd, buf_T *buf);
17int put_escstr(FILE *fd, char_u *strstart, int what);
18void check_map_keycodes(void);
19char_u *check_map(char_u *keys, int mode, int exact, int ign_mod, int abbr, mapblock_T **mp_ptr, int *local_ptr);
20void get_maparg(typval_T *argvars, typval_T *rettv, int exact);
Bram Moolenaar4c9243f2020-05-22 13:10:44 +020021void f_mapset(typval_T *argvars, typval_T *rettv);
Bram Moolenaarb66bab32019-08-01 14:28:24 +020022void init_mappings(void);
23void add_map(char_u *map, int mode);
Bram Moolenaare677df82019-09-02 22:31:11 +020024int langmap_adjust_mb(int c);
25void langmap_init(void);
26void langmap_set(void);
Bram Moolenaarb66bab32019-08-01 14:28:24 +020027void ex_abbreviate(exarg_T *eap);
28void ex_map(exarg_T *eap);
29void ex_unmap(exarg_T *eap);
30void ex_mapclear(exarg_T *eap);
31void ex_abclear(exarg_T *eap);
32/* vim: set ft=c : */