Shorter command name?
Thoughts on shortening the name of the command. If someone doesn't use a keyboard shortcut it's pretty long to type. Some ideas: RunIShellCmd, RunInteractiveCmd or simply RunCmd.
I would still prefer to keep the original name as the base, but I think either (both?) of the following could ease this:
- Provide a short alias, ie
:RunCmd - Add a readme section that describes how to create an alias:
" Replace <YourShortCommandNameHere> with your desired command name
command! -nargs=* <YourShortCommandNameHere> :RunInInteractiveShell <f-args>
Do you think either or both of the above are a sufficient fix?
My thinking on keeping the original:
- I tend to lean towards the longer, more explicit name for clarity / ease of recal
- I made sure it was tab completable with
:runi<TAB>=>:RunInInteractiveShell
I just wanted to bring up the idea due to the long name, but I don't feel strongly about it. I'm okay with just keeping the original. I think providing an alias might end up confusing users.
@gylaz Vim will let you run commands without typing in the full command, so long as there are no conflicting commands with that name. For example, you should be able to :RunInInter echo 'hello', or :Run echo 'hello' without problem, but :R echo 'hello' will pretty likely conflict with another command starting with R.
PS. I realize this issue is from 2014 lol, but thought I'd reply given that the issue is still open :)