All Projects → shnupta → Bric

shnupta / Bric

Licence: gpl-3.0
bric is a text editor based on kilo.

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Bric

Vim Quickui
The missing UI extensions for Vim 8.2 (and NeoVim 0.4) !! 😎
Stars: ✭ 714 (+2000%)
Mutual labels:  terminal, text-editor
Amp
A complete text editor for your terminal.
Stars: ✭ 2,997 (+8714.71%)
Mutual labels:  terminal, text-editor
Dte
A small, configurable console text editor (moved to https://gitlab.com/craigbarnes/dte)
Stars: ✭ 98 (+188.24%)
Mutual labels:  terminal, text-editor
Mle
Flexible terminal-based text editor (C)
Stars: ✭ 378 (+1011.76%)
Mutual labels:  terminal, text-editor
Kiro Editor
A terminal UTF-8 text editor written in Rust 📝🦀
Stars: ✭ 457 (+1244.12%)
Mutual labels:  terminal, text-editor
Xi Term
A terminal frontend for Xi
Stars: ✭ 446 (+1211.76%)
Mutual labels:  terminal, text-editor
Micro
A modern and intuitive terminal-based text editor
Stars: ✭ 18,526 (+54388.24%)
Mutual labels:  terminal, text-editor
Kibi
A text editor in ≤1024 lines of code, written in Rust
Stars: ✭ 522 (+1435.29%)
Mutual labels:  terminal, text-editor
Void
terminal-based personal organizer
Stars: ✭ 831 (+2344.12%)
Mutual labels:  terminal, text-editor
Viu
Simple terminal image viewer written in Rust.
Stars: ✭ 911 (+2579.41%)
Mutual labels:  terminal
Termfunk
A lightweight framework to organize, access and execute your Python functions from the terminal.
Stars: ✭ 31 (-8.82%)
Mutual labels:  terminal
Lsankidb
☆ `ls` for your local Anki database.
Stars: ✭ 21 (-38.24%)
Mutual labels:  terminal
Edex Ui
A cross-platform, customizable science fiction terminal emulator with advanced monitoring & touchscreen support.
Stars: ✭ 34,770 (+102164.71%)
Mutual labels:  terminal
Termdb
Terminfo parser for modern c++ 📠
Stars: ✭ 31 (-8.82%)
Mutual labels:  terminal
Prompt Checkbox
This repository has been archived, use Enquirer instead.
Stars: ✭ 21 (-38.24%)
Mutual labels:  terminal
Terminus
Bring a real terminal to Sublime Text
Stars: ✭ 967 (+2744.12%)
Mutual labels:  terminal
Nord Guake
An arctic, north-bluish clean and elegant Guake color theme.
Stars: ✭ 20 (-41.18%)
Mutual labels:  terminal
Teds Terminal
A modern terminal emulator with high DPI support, mouse wheel scaling, 32-bit colour and tty compatible.
Stars: ✭ 20 (-41.18%)
Mutual labels:  terminal
Standardfile
Yet Another Standardfile (standardnotes server) Implementation written in Golang
Stars: ✭ 34 (+0%)
Mutual labels:  text-editor
Pingg
Ping latency graphing CLI
Stars: ✭ 33 (-2.94%)
Mutual labels:  terminal

Build Status

Waffle.io - Columns and their card count

Join our Matrix chat room!

bric

bric is a text editor based on kilo.

bric does not depend on any library (not even curses). It uses fairly standard VT100 (and similar terminals) escape sequences to write and read to and from the terminal.

A blog post by Casey, bric's first maintainer

Casey's blog post

Screencast of bric on macOS:

View Screencast

Getting the code

The code on the master branch is more likely to be unstable. See the Releases section for downloads that have been more thoroughly tested.

The links to the git repo or source archives can be found at https://github.com/shnupta/bric

Building and Installation:

From the top level of the source directory, run:

mkdir build
cd build
../configure (use `../configure --help` to set extra options)

By default, make install will install all the files in /usr/local/bin, /usr/local/lib etc. You can specify an installation prefix other than /usr/local using ../configure --prefix, for instance --prefix=$HOME or --prefix=$PWD/install_test.

make (Before install, the resulting `bric` binary will be located in src/)

If you have write privileges to prefix:

make install (otherwise, use `sudo make install`)

Note: You will never need root privileges to make bric, and it's good practice only to use super-user privileges when absolutely required.

Those instructions will be adequate for most users, but more details can be found in the INSTALL document.

Removing files:

make clean (or remove the build directory you created)
make distclean

Uninstalling

make uninstall (must be run before `make distclean`)

Usage:

If you have performed a make install then just bric <filename>. It can be a new or existing filename.

Currently bric only supports a few vim commands (with similar names) but plans are in place to implement more to make editing much easier and more efficient.

Config file: bric is customizable from a configuration file - ~/.bricrc

Here is an example config file:

set linenumbers true
set indent true

set hl_comment_colour 33
set hl_mlcomment_colour 33
set hl_keyword_cond_colour 36
set hl_keyword_type_colour 32
set hl_keyword_pp_colour 34
set hl_keyword_return_colour 35
set hl_keyword_adapter_colour 94
set hl_keyword_loop_colour 36
set hl_string_colour 31
set hl_number_colour 34
set hl_match_colour 101
set hl_background_colour 49
set hl_default_colour 37

set tab_length 8

Note: Not all options have to be set. The ones shown above are the colours (however indent maintaining and linenumbers are not)

Translating

If you are interested in translating bric, please see the TRANSLATE document.

Contribution:

I'm completely open to anyone forking and helping build features of the editor so go ahead and make a PR!

Please review the CONTRIBUTING guidelines.

The basic workflow as of November 2017 is:

  • Development and pull requests are made on the master branch.
  • These PRs will be reviewed and if accepted merged into the master branch.

Bugs and feedback:

To submit any bugs or give feedback please add an issue on this repo or join the bric chat room.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].