Is there an equivalent/workaround to the -c command line parameter of vim that executes a given command after all files have been loaded? My use case is to load multiple files in vim and show the buffer explorer list on startup.
Is there an equivalent/workaround to the -c command line parameter of vim that executes
Share
Use the
VimEnterautocommand. See:help VimEnter.In your .vimrc:
Or specify it from the command line:
If you use it often enough make an alias for it (assuming that you’re using unix):