Code Monkey home page Code Monkey logo

ry-v6's Introduction

ry

Simple terminal text editor built and configured with lua

Description / History

Built in C and Lua, this simple editor is my editor. I've tried on many occasions to build a minimal terminal text editor that meets my basic needs ... and failed to many times with all kinds of languages to get to a point where I could switch to it full time.

Hopefully this time, I get it done and get it right. The goal is to suit my text editing needs, now, if you have similar needs feel free to adopt this fun little editor. If you wish for something, feel free to add it in.

Given that it's built in the same language it can be scripted/configured with it should be easy for you to mold this editor into one that suits your needs if you are used to the vim family of editors.

Features

Implemented

  • Normal mode movement
  • Insert mode buffer editing

Comming soon

  • Opening and closing buffers
  • Command mode
  • Visual mode (+ visual line)
  • Search mode
  • Directory mode (minimode)
  • Marks
  • Auto-complete (based on tokens)
  • Linting & Formatting

Implemented Keybindings

  • Normal mode
    • i Enter insert mode
    • A Go to the end of the line and enter insert mode
    • o Add a line below and enter insert mode
    • esc Cancel keys entered
    • h Move cursor left
    • l Move cursor right
    • j Move cursor down
    • k Move cursor up
    • 0 Move cursor to the beginning of the line
    • $ Move cursor to the end of the line
    • g g Move cursor to the beginning of the file
    • G Move cursor to the end of the file
  • Insert mode
    • esc Enter normal mode
    • ctrl-c Enter normal mode
    • backspace Deletes a character left of the cursor
    • del Deletes a character right of the cursor
    • tab Insert spaces
    • enter Inserts a new line
    • any Inserts the character you typed

License

See LICENSE file.

ry-v6's People

Contributors

kiasaki 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.