Mercurial > vim
comparison src/proto/getchar.pro @ 2610:6c05b5e5c1be v7.3.032
updated for version 7.3.032
Problem: maparg() doesn't return the flags, such as <buffer>, <script>,
<silent>. These are needed to save and restore a mapping.
Solution: Improve maparg(). (also by Christian Brabandt)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 20 Oct 2010 21:23:33 +0200 |
parents | bdcfe793d49f |
children | c9366ca36f6f |
comparison
equal
deleted
inserted
replaced
2609:758822790b43 | 2610:6c05b5e5c1be |
---|---|
49 int input_available __ARGS((void)); | 49 int input_available __ARGS((void)); |
50 int do_map __ARGS((int maptype, char_u *arg, int mode, int abbrev)); | 50 int do_map __ARGS((int maptype, char_u *arg, int mode, int abbrev)); |
51 int get_map_mode __ARGS((char_u **cmdp, int forceit)); | 51 int get_map_mode __ARGS((char_u **cmdp, int forceit)); |
52 void map_clear __ARGS((char_u *cmdp, char_u *arg, int forceit, int abbr)); | 52 void map_clear __ARGS((char_u *cmdp, char_u *arg, int forceit, int abbr)); |
53 void map_clear_int __ARGS((buf_T *buf, int mode, int local, int abbr)); | 53 void map_clear_int __ARGS((buf_T *buf, int mode, int local, int abbr)); |
54 char_u *map_mode_to_chars __ARGS((int mode)); | |
54 int map_to_exists __ARGS((char_u *str, char_u *modechars, int abbr)); | 55 int map_to_exists __ARGS((char_u *str, char_u *modechars, int abbr)); |
55 int map_to_exists_mode __ARGS((char_u *rhs, int mode, int abbr)); | 56 int map_to_exists_mode __ARGS((char_u *rhs, int mode, int abbr)); |
56 char_u *set_context_in_map_cmd __ARGS((expand_T *xp, char_u *cmd, char_u *arg, int forceit, int isabbrev, int isunmap, cmdidx_T cmdidx)); | 57 char_u *set_context_in_map_cmd __ARGS((expand_T *xp, char_u *cmd, char_u *arg, int forceit, int isabbrev, int isunmap, cmdidx_T cmdidx)); |
57 int ExpandMappings __ARGS((regmatch_T *regmatch, int *num_file, char_u ***file)); | 58 int ExpandMappings __ARGS((regmatch_T *regmatch, int *num_file, char_u ***file)); |
58 int check_abbr __ARGS((int c, char_u *ptr, int col, int mincol)); | 59 int check_abbr __ARGS((int c, char_u *ptr, int col, int mincol)); |
59 char_u *vim_strsave_escape_csi __ARGS((char_u *p)); | 60 char_u *vim_strsave_escape_csi __ARGS((char_u *p)); |
60 void vim_unescape_csi __ARGS((char_u *p)); | 61 void vim_unescape_csi __ARGS((char_u *p)); |
61 int makemap __ARGS((FILE *fd, buf_T *buf)); | 62 int makemap __ARGS((FILE *fd, buf_T *buf)); |
62 int put_escstr __ARGS((FILE *fd, char_u *strstart, int what)); | 63 int put_escstr __ARGS((FILE *fd, char_u *strstart, int what)); |
63 void check_map_keycodes __ARGS((void)); | 64 void check_map_keycodes __ARGS((void)); |
64 char_u *check_map __ARGS((char_u *keys, int mode, int exact, int ign_mod, int abbr)); | 65 char_u *check_map __ARGS((char_u *keys, int mode, int exact, int ign_mod, int abbr, mapblock_T **mp_ptr, int *local_ptr)); |
65 void init_mappings __ARGS((void)); | 66 void init_mappings __ARGS((void)); |
66 void add_map __ARGS((char_u *map, int mode)); | 67 void add_map __ARGS((char_u *map, int mode)); |
67 /* vim: set ft=c : */ | 68 /* vim: set ft=c : */ |