Code your script by modifying the file src/sketch.ino
Build and upload to the Arduino (using the settings of the file ino.ini) run: ìno build && ino upload
Now each time you want to upload the project to the board you just need to run ino buid && ino upload. Ino will use the configuration of ino.ini to build your app.
Micro
This is not directly linked to Arduino but this is by far my preferred editor for terminal. You can use the shortcuts of nano but you have the customization and the code syntax of vim. The default colorscheme of Micro is gruvbox.