1
0
forked from aniani/vim

patch 8.2.5106: default cmdwin mappings are re-mappable

Problem:    Default cmdwin mappings are re-mappable.
Solution:   Make the default mappings not re-mappable. (closes #10580)  Use
            symbols for the first do_map() argument.
This commit is contained in:
zeertzjq
2022-06-16 11:14:55 +01:00
committed by Bram Moolenaar
parent 83497f8758
commit 44068e97db
7 changed files with 37 additions and 25 deletions

View File

@@ -22,7 +22,7 @@ void f_maparg(typval_T *argvars, typval_T *rettv);
void f_mapcheck(typval_T *argvars, typval_T *rettv);
void f_mapset(typval_T *argvars, typval_T *rettv);
void init_mappings(void);
void add_map(char_u *map, int mode);
void add_map(char_u *map, int mode, int nore);
int langmap_adjust_mb(int c);
void langmap_init(void);
void langmap_set(void);