Commit c75ea25 1 parent 8992ca2 commit c75ea25 Copy full SHA for c75ea25
File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -112,18 +112,18 @@ function s:pum_mode(key) abort
112
112
let cont = v: false
113
113
redraw
114
114
let c = getcharstr ()
115
- if c == # " \<Tab > "
115
+ if c == # " \<C-n > "
116
116
call pum#map#select_relative (+ 1 )
117
117
let cont = v: true
118
- elseif c == # " \<S-tab > "
118
+ elseif c == # " \<C-p > "
119
119
call pum#map#select_relative (-1 )
120
120
let cont = v: true
121
121
elseif c == # ' E'
122
122
call pum#map#cancel ()
123
- elseif c == # ' N' || c == # " \<C-n> "
123
+ elseif c == # ' N'
124
124
call s: pum_select_by (v: false , function (' s:pum_candidate_compare' ))
125
125
let cont = v: true
126
- elseif c == # ' P' || c == # " \<C-p> "
126
+ elseif c == # ' P'
127
127
call s: pum_select_by (v: true , function (' s:pum_candidate_compare' ))
128
128
let cont = v: true
129
129
elseif c == # " \<CR> "
@@ -138,7 +138,6 @@ function s:pum_mode(key) abort
138
138
endwhile
139
139
endfunction
140
140
141
- noremap ! <Tab> <Cmd> call <SID> pum_mode('<Tab> ')<CR>
142
141
noremap ! N <Cmd> call <SID> pum_mode('N')<CR>
143
142
noremap ! P <Cmd> call <SID> pum_mode('P')<CR>
144
143
noremap ! <C-n> <Cmd> call <SID> pum_mode('<C-n> ')<CR>
You can’t perform that action at this time.
0 commit comments