I have a custom function that creates a new markdown file, and if the file doesn't exist in the current directory, vim opens and writes it with:vim $filename -c 'w'Which gives me a blank file to work with. This is fine, but it would be great if I could also have vim automatically insert and expand a snippet from UltiSnip as part of the process. How can I do this?
Send command + UltiSnip and expand it in Vim?
vim;zsh