QV - Quantum Visual editor, is a fast and intuitive terminal-based text editor based on the kilo editor, with a lot of improvements! For
example: better syntax highlighting! Cool, right?
Install
To install, simply:
git clone --depth 1 https://github.com/ElisStaaf/qv ~/qv
And then, you have two options: if you're on a system that supports .sh
files, you're in luck!
Init via init.sh
bash ~/qv/init.sh
This will check that everything is okay, and then will install a shortcut to run the executable.
But, you can do everything, all on your own:
Init from scratch via linux BASH
echo "alias qv=\"~/qv/build/qv.exe\"" >> ~/.bashrc
Init from scratch via windows
"function qv {
~/qv/build/qv.exe
}" >> $env:USERPROFILE/Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1
Get Started
To get started, just open a file via QV!
qv <filename>
Currently, QV includes syntax highlighting for the following languages:
- C/C++
- Shell
- Golang
- Python
- JS/TS
- C#
But you can ofcourse modify the source-code to add more! I shall for this tutorial
use the "C" programming language.
touch "main.c" # Create file
qv "main.c" # Open file
I am greeted to this interface:
Great! It started up! I'm writing a simple Hello World app, so i can just write this:
As you can see, the syntax highlighting kicked in right away! Now, i save my app with Ctrl+S
, then quit with Ctrl+Q
. Then i can run the file
with my preferred compiler and i will be done with my task. Oh, and also, this text editor is not meant to be anyones main editor, it's way to bad for that. No, this
editor is meant to be like Nano, a simple command line editor! And, with that, enjoy!