For example, I'd like to map
<leader>l to enter command-line mode with a command (
AsyncRun followed by a space) partially typed in, so that I can continue to type to complete the command.
<leader>l will enter command-line mode with the following command waiting for further input:
And then typing
echo hello will complete the full command and pressing Enter will execute it:
:AsyncRun echo hello
Is there any way to create a mapping like this?
nnoremap <leader>l :AsyncRun?