A vi like editor for CC:Tweaked made in about a day by using edit.lua as a base.
Advanced Computer | Basic Computer |
---|---|
To install run this command in your CC:Tweaked computer
pastebin get 6NMvc2dB vi.lua
To then open the editor
/vi <file-path>
- A vi like control scheme for editing files in CC:Tweaked
- Clipboard function
- Undo/Redo
- Search for text
- Search and replace
- And a bit more!
- To exit
INSERT
modeCTRL+C
must be used in place ofESC
since that would just close the gui - Commands like
w
b
ande
are not really correcly implemented (though only for repeating.
-
etc.), if you are an experienced vim user this may be noticable - No VISUAL mode exists (traces of an implementation exists though, contributions are welcome)
- Commands like
f
andt
are not implemented (a list of commands can be found in source here)
- The original CC:Tweaked edit.lua