Mercurial > vim
comparison src/proto/map.pro @ 20506:aee0b72ca6d6 v8.2.0807
patch 8.2.0807: cannot easily restore a mapping
Commit: https://github.com/vim/vim/commit/4c9243f9fb708c9010867d3cc8e928f36b58509a
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 22 13:10:44 2020 +0200
patch 8.2.0807: cannot easily restore a mapping
Problem: Cannot easily restore a mapping.
Solution: Add mapset().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 22 May 2020 13:15:04 +0200 |
parents | ec4248c4b92c |
children | 634aed775408 |
comparison
equal
deleted
inserted
replaced
20505:af5d9cf7e7a1 | 20506:aee0b72ca6d6 |
---|---|
16 int makemap(FILE *fd, buf_T *buf); | 16 int makemap(FILE *fd, buf_T *buf); |
17 int put_escstr(FILE *fd, char_u *strstart, int what); | 17 int put_escstr(FILE *fd, char_u *strstart, int what); |
18 void check_map_keycodes(void); | 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); | 19 char_u *check_map(char_u *keys, int mode, int exact, int ign_mod, int abbr, mapblock_T **mp_ptr, int *local_ptr); |
20 void get_maparg(typval_T *argvars, typval_T *rettv, int exact); | 20 void get_maparg(typval_T *argvars, typval_T *rettv, int exact); |
21 void f_mapset(typval_T *argvars, typval_T *rettv); | |
21 void init_mappings(void); | 22 void init_mappings(void); |
22 void add_map(char_u *map, int mode); | 23 void add_map(char_u *map, int mode); |
23 int langmap_adjust_mb(int c); | 24 int langmap_adjust_mb(int c); |
24 void langmap_init(void); | 25 void langmap_init(void); |
25 void langmap_set(void); | 26 void langmap_set(void); |