File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -90,18 +90,18 @@ endfunction
9090
9191function ! s: cnoremap_all (chars) abort
9292 for nr in range (256 )
93- execute printf (" silent! cnoremap \<buffer>\<silent> \<Char-%d> \<Nop> " , nr)
93+ silent ! execute printf (" cnoremap \<buffer>\<silent> \<Char-%d> \<Nop> " , nr)
9494 endfor
9595 for char in a: chars
96- execute printf (" silent! cnoremap \<buffer>\<silent> %s %s\<CR> " , char, char)
96+ silent ! execute printf (" cnoremap \<buffer>\<silent> %s %s\<CR> " , char, char)
9797 endfor
9898 silent ! cunmap <buffer> <Return>
9999 silent ! cunmap <buffer> <Esc>
100100endfunction
101101
102102function ! s: cunmap_all () abort
103103 for nr in range (256 )
104- execute printf (" silent! cunmap \<buffer> \<Char-%d> " , nr)
104+ silent ! execute printf (" cunmap \<buffer> \<Char-%d> " , nr)
105105 endfor
106106endfunction
107107
You can’t perform that action at this time.
0 commit comments