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
INSERTmodeCTRL+Cmust be used in place ofESCsince that would just close the gui - Commands like
wbandeare 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
fandtare not implemented (a list of commands can be found in source here)
- The original CC:Tweaked edit.lua

