Skip to content

Walcriz/cctweaked-vi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

vi.lua

A vi like editor for CC:Tweaked made in about a day by using edit.lua as a base.

Advanced Computer Basic Computer
image image

Installation

To install run this command in your CC:Tweaked computer

pastebin get 6NMvc2dB vi.lua

To then open the editor

/vi <file-path>

Features

  • 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!

Limitations

  • To exit INSERT mode CTRL+C must be used in place of ESC since that would just close the gui
  • Commands like w b and e 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 and t are not implemented (a list of commands can be found in source here)

Credits

About

A vi like editor for CC:Tweaked

Topics

Resources

Stars

Watchers

Forks

Languages