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, 2021 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, 2021 at 15:11


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.