Mercurial > vim
diff 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 |
line wrap: on
line diff
--- a/src/proto/map.pro +++ b/src/proto/map.pro @@ -18,6 +18,7 @@ int put_escstr(FILE *fd, char_u *strstar void check_map_keycodes(void); char_u *check_map(char_u *keys, int mode, int exact, int ign_mod, int abbr, mapblock_T **mp_ptr, int *local_ptr); void get_maparg(typval_T *argvars, typval_T *rettv, int exact); +void f_mapset(typval_T *argvars, typval_T *rettv); void init_mappings(void); void add_map(char_u *map, int mode); int langmap_adjust_mb(int c);