Skip to main content

Editing files

Through a text editor like VSCode or Sublime Text

Well, maybe you are thinking, write a script on your laptop, upload it to the ACP, and run it. BAD IDEA.

What you probably want to do is, make an SFTP connection from your text editor to the ACP. Look into these links:

Through the terminal while connected on the ACP

If you have to edit a text file or a script while being in the terminal, connected to the ACP, the easiest way would be to use nano. Just get the path of the file you want to edit, and then:

nano /path/to/script_to_edit.sh

But to the power users out there, NeoVim is the way to go, if you want to:

  • Move FAST through your files and folders.
  • Modal editing.
  • quickfixlist, buffers
  • LSP integration
  • Fuzzy finding your:
    • Files
    • Diagnostics
  • Terminal integration
  • Take advantage of vim plugins
  • Have fun using a text editor

All these goodies, while being in the terminal? And without your hand ever leaving the keyboard, so you can throw away the mouse too! This all sound geeky, but on God, NeoVim is fire for real for real.

If some of these terms seem unfamiliar to you, you are missing out. Check out this video for a preview of why vim/NeoVim: