Code Monkey home page Code Monkey logo

lua-nano's Introduction

lua-nano

nano writen in lua.

WARNING: WIP

this project is only in the preveiw stages as indecated by the 'p' before the version.

how to use

currently lua nano only has 6 keyboard shortcuts:

  • ^O writes the current buffer to a file
  • ^X closes the editor WITHOUT saving
  • ^F finds text (no regex)
  • ^N goes to next instance of found text
  • ^G replaces text
  • alt-f finds text (with regex)

other than that the editor uses standered up/down/left/right to move the cursor and typeing works fine.

downloading

There is no easy way of getting a release currently. You can run it if you have lua5.3 installed and the luarocks pakage lua-term. Then, in the projects directory, simply type ./main.lua to open the editor or ./main.lua file.txt to open a spicific file.

basic debian instlation instructions (with sudo installed):

  1. sudo apt install lua5.3 luarocks
  2. sudo luarocks install lua-term
  3. cd /tmp
  4. git clone https://github.com/BEN1JEN/lua-nano
  5. cd lua-nano
  6. chmod +x main.lua
  7. sudo cp main.lua /usr/bin/lano
  8. sudo cp -r libs /usr/local/lib/lua/5.3/

other install info:

  • Both lua5.3 and luarocks shuld be in most package managers (eg. yum, pacman, rpm, etc...)
  • The install.sh script shuld work as long as you have sudo install and are running a debian-based distrobution.
  • Currently windows is not, and will not be supported, as the windows command prompt is simply terrible.

requirements:

  • lua 5.3
  • lua-term
  • linux command shell

lua-nano's People

Contributors

vedarepowered avatar

Stargazers

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