Skip to content

v1.0.2

Choose a tag to compare

@callmesalmon callmesalmon released this 30 Sep 21:39
· 441 commits to main since this release

Build Version Lang
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#
  • HTML
  • Rust
  • CSS

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:
File could not be loaded.
Great! It started up! I'm writing a simple Hello World app, so i can just write this:
File could not be loaded.
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!

This work is licensed under the BSD-Clause-2-license (for the "kilo" source code), and the 
Apache-2.0-license (For the modified parts of the source code), if you are confused about 
this, that is not my problem and you can probably read about it on the internet somewhere.