Hello, friends. A text editor in the terminal? Yes. So, you will learn how to install Ox on OpenSUSE 15.2
We already know that in Linux we have many different tools. One of them is the term that has proven to be a great help in many tasks such as downloading files and editing text.
This time we have a terminal tool created with Rust called Ox. Ox is a code editor with a terminal interface that consumes few resources and can help a lot with programming.
Says the program’s developer:
OX IS A CODE EDITOR. IT WAS WRITTEN IN RUST USING ANSI ESCAPE SEQUENCES. IT ASSISTS DEVELOPERS WITH PROGRAMMING BY PROVIDING SEVERAL TOOLS TO SPEED UP AND MAKE PROGRAMMING EASIER AND A REFRESHING ALTERNATIVE TO HEAVILY BLOATED AND RESOURCE HUNGRY EDITORS
Therefore, we can install it on any computer, including the oldest ones.
On the other hand, Ox takes many advantages from applications like Vi, Nano, Emacs, and other veteran programs. All this without dependencies and making it quite light and easy to compile. So few that this is the entire list:
- Rust language
So, let us install it.
Ox is built in the Rust language so we need to install it first.
After that, you can start installing the application by running the following command
cargo install --git https://github.com/curlpipe/ox
This will start the whole process of downloading dependencies. When finished, you can invoke the editor with the ox command.
When the program is properly installed you can run it from the terminal
Also, you can open a file or specify the path where you want the new file to be created
There you can start editing code. If you want to save changes, you can do it with the key combination
CTRL + S but if it’s the first time you modify the file, you have to choose a name with
CTRL + w
Also, you can open a new tab by pressing the
CTRL + N
So, you can navigate between tabs with the
CTRL + H and
CTRL + D keys, and as you can see it’s quite easy to use.
Ox has a long way to go, that’s true, but it’s also an interesting project that adds more functionalities every day and allows us to edit code from the terminal, being easy to use. This gives even more power to the terminal and gives us solutions in multiple environments.