GithubHelp home page GithubHelp logo

ry-v3's Introduction

ry

A Lua based vim-like terminal editor in a Go host

getting

go get github.com/kiasaki/ry

building

make

features

  • vim-like modal editing
  • major mode and multiple minor modes
  • lua scripting

TODO

  • window splits
  • many color schemes
  • syntax highlighting
  • search mode
  • quick jump mode
  • built-in linter plugin
  • built-in fuzzy file finder plugin
  • built-in directory browser plugin
  • run shell commands
  • central plugin repository

normal mode

  • h move_left
  • j move_down
  • k move_up
  • l move_right
  • g g move_start
  • G move_end
  • 0 move_line_start
  • $ move_line_end
  • w move_word_start
  • W move_word_start
  • e move_word_end
  • E move_word_end
  • b move_word_start_backwards
  • B move_word_start_backwards
  • C-u move_jump_up
  • C-d move_jump_down
  • z z center
  • x delete_char
  • d d delete_line
  • i enter_insert_mode
  • : enter_command_mode
  • a move_right, enter_insert_mode
  • A move_line_end, enter_insert_mode
  • o insert_newline_down, enter_insert_mode
  • O insert_newline_up, enter_insert_mode
  • ESC clear_keys_entered
  • C-g clear_keys_entered

insert mode

  • ESC enter_normal_mode
  • RET insert_return
  • SPC insert_space
  • TAB insert_tab
  • BAK2 move_left, delete_char
  • DEL delete_char
  • (any other key) insert

command mode

  • ESC exit_command_mode
  • C-c exit_command_mode
  • C-g exit_command_mode
  • RET command_execute
  • BAK2 command_backspace
  • (any other key) insert

commands

  • quit (q, close) Closes the current buffer, if it's the last one, exits the editor
  • quit! (q!) Like quit but doesn't prevent closing unsaved files
  • edit <path> (e, ed, open, o) Open file at <path> for editing in a new buffer
  • write <path>? (w) Write current buffer to disk, if given a path, sets buffer's path before
  • wq Runs write followed by quit

license

MIT. See LICENSE file.

ry-v3's People

Contributors

kiasaki avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

tiger0105

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.