I have this map:

nmap <buffer> <F3> mX 

So one I press <F3> it opens a prompt so I can type a command. Can I give the command also in the map above? something like:

nmap <buffer> <F3> mX  ./app
  • @D.BenKnoble Thank you, but no
    – Ahmad
    Jun 21 at 12:42
  • 1
    I don't think either mapping or feedkeys() will work because s:NetrwMarkFileExe uses inputsave()/inputrestore()
    – D. Ben Knoble
    Jun 21 at 15:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.