File tree Expand file tree Collapse file tree 1 file changed +7
-20
lines changed Expand file tree Collapse file tree 1 file changed +7
-20
lines changed Original file line number Diff line number Diff line change @@ -80,28 +80,9 @@ call s:search.connect(s:module)
8080" }}}
8181
8282" CommandLine Keymap: {{{
83+ " .keymapping() won't be remapped by user defined KeyMappings.
8384function ! s: search .keymapping () " {{{
8485 return {
85- \ " \<C-l> " : {
86- \ " key" : " <Over>(buffer-complete)" ,
87- \ " noremap" : 1 ,
88- \ },
89- \ " \<Tab> " : {
90- \ " key" : " <Over>(em-scroll-f)" ,
91- \ " noremap" : 1 ,
92- \ },
93- \ " \<S-Tab> " : {
94- \ " key" : " <Over>(em-scroll-b)" ,
95- \ " noremap" : 1 ,
96- \ },
97- \ " \<C-o> " : {
98- \ " key" : " <Over>(em-jumpback)" ,
99- \ " noremap" : 1 ,
100- \ },
101- \ " \<C-z> " : {
102- \ " key" : " <Over>(em-openallfold)" ,
103- \ " noremap" : 1 ,
104- \ },
10586\ " \<CR> " : {
10687\ " key" : " <Over>(exit)" ,
10788\ " noremap" : 1 ,
@@ -110,6 +91,12 @@ function! s:search.keymapping() "{{{
11091\ }
11192endfunction " }}}
11293
94+ call s: search .cnoremap (" \<C-l> " , ' <Over>(buffer-complete)' )
95+ call s: search .cnoremap (" \<Tab> " , ' <Over>(em-scroll-f)' )
96+ call s: search .cnoremap (" \<S-Tab> " , ' <Over>(em-scroll-b)' )
97+ call s: search .cnoremap (" \<C-o> " , ' <Over>(em-jumpback)' )
98+ call s: search .cnoremap (" \<C-z> " , ' <Over>(em-openallfold)' )
99+
113100" Fins Motion CommandLine Mapping Command: {{{
114101function ! EasyMotion#command_line#cmap (args )
115102 let lhs = s: as_keymapping (a: args [0 ])
You can’t perform that action at this time.
0 commit comments