← 返回命令列表

Linux command

amp 命令

文件

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

常用示例

Open a file

amp [path/to/file]

Open multiple files

amp [file1] [file2]

Open a directory

amp [path/to/directory]

说明

amp is a modal text editor for the terminal, inspired by Vim but designed with simplicity and zero configuration in mind. It includes all essential features out of the box with no plugin system: syntax highlighting for most languages, a file finder (Space), jump mode (f) for quick navigation, symbol jumping (Enter), Git integration, flexible YAML-based keymaps, theme support, and format-on-save. Written in Rust, amp uses a Vi-like modal interface (normal, insert, visual, command modes) with familiar keybindings. It supports 24-bit color, system clipboard integration including Wayland, and can suspend to the shell with z.

FAQ

What is the amp command used for?

amp is a modal text editor for the terminal, inspired by Vim but designed with simplicity and zero configuration in mind. It includes all essential features out of the box with no plugin system: syntax highlighting for most languages, a file finder (Space), jump mode (f) for quick navigation, symbol jumping (Enter), Git integration, flexible YAML-based keymaps, theme support, and format-on-save. Written in Rust, amp uses a Vi-like modal interface (normal, insert, visual, command modes) with familiar keybindings. It supports 24-bit color, system clipboard integration including Wayland, and can suspend to the shell with z.

How do I run a basic amp example?

Run `amp [path/to/file]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more amp examples?

This page includes 3 examples for amp, plus related commands for nearby Linux tasks.