A newer Vim clone for ComputerCraft, made since I wanted some of the features the previous one didn't have.
You can use [TAB] to exit editing mode.
Features:
- Insert mode
- Append mode
- Opening/Saving files
- Scrolling (both directions)
- Appending files
- Copy / Cut / Paste
- Jumping to lines
- fF/tT jumping, with repeat/repeat reverse (
;/,) - Tabs (opening multiple files uses tabs)
- Basic syntax highlighting
- Setting syntax type while in file using :set filetype=[FILETYPE]
- Line numbers
- Jumping to matching bracket (currently works with
{},[], and(). - Commands that require pressing control (type
:ctrlto activate the emulated control key, or:ctrl Xto emulate [control + key X].) - File explorer
- Support for tapping/clicking bottom line to exit insert/append modes, for use on mobile
- Autoindent
- Searching within file
What's currently being worked on:
- The few remaining commands in this list of VIM commands
Fun fact - this README was written in the program!
Automatic
Run pastebin run eX0BrfjA on your computer.
Manual
Copy vim.lua, .version and the libs folder with its contents to the /vim/ folder of your computer.
For syntax, put each syntax file according to extension (ex. XYZ.lua -> /vim/syntax/lua.lua, XYZ.swf -> /vim/syntax/swf.lua) in the /vim/syntax/ folder.
A basic .vimrc can also be found in the main directory of the repo. This can be placed in the /vim/ folder.
