endif
endfor
call add(g:MapHelp,[a:key,a:lib])
+
+ let matches = matchlist(a:key, '\vAlt\+(\a)')
+ if len(matches) > 1
+ for m in matches[1:] " m is the captured letter
+ if !empty(m)
+ " NB 27.07.26 echo m a:key
+ execute "set <A-".m.">=\e".m
+ endif
+ endfor
+ endif
endfunc
func!_MapHelpSort(x,y)
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" F1 - Last Cmd
-call MapHelpAdd('F1, Alt+x','Last shell command executed')
-map <F1> :!<C-UP><C-M>
-map \ex :!<C-UP><C-M>
+call MapHelpAdd('F1, Alt+x','Last command executed')
+map <F1> :<C-UP><C-M>
+map \ex :<C-UP><C-M>
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" F2 - Script, formated text verification