← 返回命令列表

Linux command

msedit 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Launch

msedit

Open

msedit [path/to/file]

Open

msedit [path/to/file]:[line]

Open

msedit [path/to/file]:[line]:[column]

Open multiple files

msedit [file1] [file2] [file3]

说明

msedit is a lightweight, modeless, terminal-based text editor developed by Microsoft and written in Rust. It draws inspiration from the classic MS-DOS Editor but provides a modern interface with input controls similar to VS Code. Unlike modal editors like Vim, editing is immediate with no mode switching required. It features a menu bar, status bar, mouse support, UTF-8 handling, LF/CRLF conversion, and a localized UI supporting multiple languages. The binary is less than 250 KB. On Linux the executable is named msedit to avoid conflicts with existing edit commands. On Windows it is simply edit.

参数

-h, --help
Print help information
-v, --version
Print version information

FAQ

What is the msedit command used for?

msedit is a lightweight, modeless, terminal-based text editor developed by Microsoft and written in Rust. It draws inspiration from the classic MS-DOS Editor but provides a modern interface with input controls similar to VS Code. Unlike modal editors like Vim, editing is immediate with no mode switching required. It features a menu bar, status bar, mouse support, UTF-8 handling, LF/CRLF conversion, and a localized UI supporting multiple languages. The binary is less than 250 KB. On Linux the executable is named msedit to avoid conflicts with existing edit commands. On Windows it is simply edit.

How do I run a basic msedit example?

Run `msedit` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -h, --help do in msedit?

Print help information