Coder Social home page Coder Social logo

gram's Introduction

gram

Lightweight text editor in C in less than 1000 LoC.

Adapted from antirez/kilo with the Build Your Own Text Editor tutorial.

Table of Contents

Getting started

Prerequisites

You will need a C compiler and GNU Make installed on your machine. On Windows, it's probably easiest to use WSL.

Installation

Clone the repository:

git clone https://github.com/umcconnell/gram
cd gram/

Then, use GNU Make to build:

make

Alternatively, you can download and install pre-built binaries for Linux under the Releases Tab.

If you are using the downloaded binary, you must not forget to first make it executable:

chmod a+x ./gram

Usage

Usage: gram [optional: filename]

Keys:

Ctrl-S:   Save
Ctrl-F:   Find
Ctrl-C/Q: Quit

Contributing

Please read CONTRIBUTING.md and CODE_OF_CONDUCT.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

Ulysse McConnell - umcconnell

See also the list of contributors who participated in this project.

License

gram is distributed under the BSD 2-Clause License.

Acknowledgments

This project is adapted from antirez/kilo.

Huge shout-out goes to the awesome Build Your Own Text Editor tutorial.

The original kilo editor was slightly modified. Several languages and auto-indent were added.

gram's People

Contributors

umcconnell avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.