mirror of
https://github.com/micro-editor/micro.git
synced 2026-10-12 02:18:55 +00:00
This argument allows us to execute one or more commands immediately after editor initialization. This is useful in cases where you know you are going to want to open two panes immediately, or for scripting purposes so you can start with certain things set up, or if you want to execute certain plugin actions at startup, etc. Usage: micro -exec "...cmd..." micro -exec "cmd1" -exec "cmd2" -exec "cmd3" ... (multiple commands are gathered into an array and executed in order) Commands are executed after plugin initialization, so you can use plugin commands as well. Updated man page with information about the new argument.