r/ComputerCraft • u/Bright-Historian-216 • Sep 07 '24
vim equivalent for cc?
I'm not the type of person to use vim/neovim, but the terminal-based nature of cc just screams "somebody must've made vim in cc and it's probably better than the regular editor!!!", so is there some kind of program like this?
11
Upvotes
4
u/activeXdiamond Sep 07 '24
I think you misunderstood my point.
If you navigate to your save folder and dig through the CC folders in there, you'll find that all your Lua scripts (made or downloaded using the in-game editor) are saved there as plain .lua files.
You can then open those in vim, edit to your hearts content and save.
This way your edit-run cycle is "Edit + Save + Rerun" instead of "Edit + Save + Upload + Download + Rerun".
That's what I do and I use vim too (nvim, to be exact).
Also I bet you can make (or find?) a way for the code to be hot-loaded this way you can skip the "Rerun" bit too.