AMP Text Editor for Linux Terminal
Last Updated :
12 Mar, 2021
Amp is a fully-featured and lightweight text editor inspired by the Vi/Vim text editor. Amp editor is a terminal-based editor, and it is written in the Rust language. It provides the all fundamental features required for a modern text editor.
Amp does not need any configuration it comes with all configuration, and it does not use any plugins. And it provides a terminal-based user interface. The UI of Amd well works on the terminal like the Alacritty and tmux.Amp also supports a modal, keyboard-driven interface inspired by Vim that makes navigating and editing text fast.
Features of Amp:
- File Finder: Amp quickly indexes and finds using a simple, accurate matching algorithm. Amp ignores the git directory by default while finding files.
- Easy movement: Amp provide the feature of moving through the file without repetitive keystrokes.
- Symbol Jump: Easily jump to any class, struct, or method definition within the current buffer.
- Flexible Keymaps: Simple YAML-based key mapping with the ability to create multiple build-in commands into new, custom macros.
Requirements to Install the AMP:
Rust programming language needs to be installed on the system. You can install it by the following the command:
curl https://sh.rustup.rs -sSf | sh
Other dependencies like the libxcb, openssl, zlib, cmake, and python3 must be installed on the system.
To install these dependencies using the following commands:
For Debian based system like Ubuntu, Kali Linux Use following command:
sudo apt-get git libxcb1-dev libssl-dev zlib1g-dev cmake python3
For CentOS/RHEL Use the following command:
yum install git libxcb openssl-devel zlib-devel cmake python3
For Fedora Use the following command:
dnf install git libxcb openssl-devel zlib-devel cmake python3
Now dependencies are got installed let's install the AMP text-editor.
Installation of AMP:
To install the AMP text editor first clone the AMP source code from its GitHub repository. Use the following command to clone the source code
git clone https://github.com/jmacdonald/amp.git
Now install the AMP editor using the following commands
cd amp
cargo install amp
For Arch Linux, You can install AMP directly from the AUR repository.
git clone https://aur.archlinux.org/amp.git
cd amp
makepkg -isr
How to use the AMP Text Editor:
First, let's see how to open the file and close the file. To open the file into AMP text editor use the amp followed by the file name.
amp filename.txt
Then your file will be opened in an amp text editor. Like follow:
To quit from the AMP use the Shift+q key.
If the file of filename mentioned after the amp command does not exist then Amp creates the new file of that name.
Now let's see how to write into the file. To write into a file, open the file in amp editor and press i key to go into insert mode then you will be able to insert the text into the file.
To save the current file press the Esc key followed by the s key.
Similar Reads
Nano Text Editor in Linux
In the vast world of Linux text editors, Nano stands out as a simple yet powerful tool for editing files directly from the command line interface. Whether you're a novice user or an experienced developer, Nano offers a straightforward and efficient editing experience. In this article, we'll delve in
8 min read
Terminator - A Linux terminal emulator
As the name suggests, 'Terminator' is a pretty badass emulator which provides you with functionalities like split horizontally, split vertically, etc, as one wants in a single window. Not only does it provide split horizontally or vertically, but, also one can give a custom title to each and every t
2 min read
Best Text Editor for Kali Linux
Kali Linux is one of the most popular Linux distros, With a special focus on penetration testing and ethical hacking. It is especially popular among those who want to try their hand at ethical hacking. But just as with any other Linux distro, to make the best use of your operating system, you need t
8 min read
How to Use Terminal in Sublime Text Editor ?
Well in Visual Studio Code we get a direct Option for opening Terminal, Unlike Sublime Text editor. Sublime is Simple and free to use, Light on memory, and can easily work with multiple projects. In this article, we will see how to use Terminal in a Sublime Text Editor. This article will answer all
3 min read
Linux Text Editors
For Linux users, text editors are essential tools that play a crucial role in various tasks, from coding and writing to system administration and configuration management. Linux offers a wide range of text editors, catering to different preferences and use cases. In this article, we will delve into
10 min read
How to Install Atom Text Editor in Linux?
"Atom - A Hackable Text Editor of 21st Century", as the line indicates Atom is an open-source, cross-platform, feature enrich text editor developed by Github. Atom has attractive features like cross-platform editing, built-in package manager, smart auto-completion, file-system browser, and many more
3 min read
Micro - Lightweight terminal based text editor
Micro is a terminal-based text editor, and it is very easy to install and use. The micro editor is developed to be the successor of nano editor. It has no external decencies and no external files are needed. It is a single program. Now let's see the features of the micro text editor.FeaturesEasy to
2 min read
eDEX-UI - The Tron-Inspired Terminal Emulator for Linux
Linux users often deal with the terminal but the look and feel of the terminal may be boring. Everyone wants a terminal that looks like a sci-fi movie screen. Then eDEX-UI will end your wait. eDEX-UI is a Sci-Fi inspired terminal emulator and system monitor. It gives a futuristic theme to the termin
3 min read
Kali Linux Terminal
Kali Linux is one of the most widely used operating systems for penetration testing and cybersecurity research. Historically, it is installed on a dedicated system or virtual machine, but what if you were able to use it online? The Kali Linux Online Terminal enables users to execute penetration test
8 min read
eDEX-UI Terminal for Windows, Mac and Linux
eDEX-UI is a fullscreen window, cross-platform terminal emulator, and system monitor which looks and feels like a sci-fi computer interface. Features of eDEX-UIIt has fully featured terminal emulator Tabs, colors, mouse events, and other features.It supports curses and curses-like applications.It al
4 min read