Text editors

Does anyone know how to get different text editors for editing files on truenas? I want to install neovim so I can edit the metadata.yaml file for a custom compose app I made because i want to try setting a different app icon for the web gui. If theres a better way to go about doing that also it would be much appreciated

It’s not officially supported to install any additional packages to Truenas. You could enable the developer mode which re-enables apt and let’s you install neovim

If you keep all your yaml in the same dataset/folder you could install Code-Server and edit the yaml from there

Okay, good to know. Its not the end of the world, just fights my muscle memory. I used nano to update the metadata.yaml for the app so I can set a custom icon, just a tad tedious when i’ve gotten so use to neovim

If you are familiar with vim, why not use plain old vi? Which is possibly vim (without the neo) in disguise, anyway.

1 Like

We have vim-tiny installed.

2 Likes

I don’t know if I am right or wrong on this but could you not run up a VM and run the editor of preference on that and copy - paste the text to the destination if the default editor is that much of a problem?