A Lua based vim-like terminal editor in a Go host
go get github.com/kiasaki/ry
make
- 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 editorquit! (q!)
Likequit
but doesn't prevent closing unsaved filesedit <path> (e, ed, open, o)
Open file at<path>
for editing in a new bufferwrite <path>? (w)
Write current buffer to disk, if given a path, sets buffer's path beforewq
Runswrite
followed byquit
MIT. See LICENSE
file.