mg Command Examples

A small, fast, and portable text editor based on emacs. More information: https://github.com/hboetes/mg.

mg {{path/to/file}}

mg +{{line_number}} {{path/to/file}}

mg -R {{path/to/file1 path/to/file2 ...}}

mg -n {{path/to/file}}