I\'m wondering if it\'s possible in Vim to create a mapping (for normal mode) that allows user input before the mapping executes.
I want to create a mapping for a shortc
There is a function input(prompt [, text [, completion]]):
The result is a String, which is whatever the user typed on the command-line. The {prompt} argument is either a prompt string, or a blank string (for no prompt). A '\n' can be used in the prompt to start a new line.
(from :help input()).
For things like :grep!, you'll probably have to build the command using a string expression and then :execute it.