I'm trying to write a simple mapping that will pre-populate the vim ex command line but leave the user there to execute the command on their own.The use-case is for the user to type <leader>/foo which would then open the command line with :e **/foo and the user could either further refine, press ctrl-d to see possible matches, etc
Populate ex command line
command line
That kind of mapping is very, very common:nnoremap <leader>/ :edit **/*Might I suggest the following slightly smarter alternative?set path=.,**nnoremap <leader>/ :find *The 'path' option tells Vim to look for files matching the argument given to :find in the directory of the file associated with the current buffer and any subdirectory of the working directory.Reference::help :find:help 'path'