Merge pull request #9746 from bfredl/wildkeys

cmdline: revert <down> and <up> mappings for wildoptions=pum
This commit is contained in:
Björn Linse 2019-03-17 19:24:36 +01:00 committed by GitHub
commit 027a2157d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -609,13 +609,6 @@ static int command_line_execute(VimState *state, int key)
} else if (s->c == K_RIGHT) {
s->c = Ctrl_N;
}
if (compl_match_array) {
if (s->c == K_UP) {
s->c = Ctrl_P;
} else if (s->c == K_DOWN) {
s->c = Ctrl_N;
}
}
}
// Hitting CR after "emenu Name.": complete submenu