Building off of the other answers, here's my take on it:
Switch between open buffers with alt+left arrow and alt+right arrow. Nano will tell you which buffer you are in (the name of the file and the buffer number).
To open multiple files when you're starting up nano, do exactly what activedecay said (type such as nano file1.txt file2.txt file3.txt
). Note you can also do such as nano *.txt
to open all the txt files that are in the current directory, each in its own buffer.
To open a new and empty buffer after nano is already open, follow these steps:
- Press ctrl+t
- Press alt+f
- Press enter
If you already have an open buffer, and want to open a file into a new buffer, do what Lenny's answer says:
- Press Ctrl+r
- Press alt+f (or press Esc and then press f)
- Type the name of a single file to open in a new buffer
- Press enter
As to how to how to open multiple buffers at once from already existing files when you're already in nano, I'm not sure, yet.
Ctrl+x closes the current buffer.
I tested these things on nano 5.5 in Termux 0.106 (and nano 6.3 on Termux 0.118.0) on Android 10, with a bluetooth keyboard. I mention the version because shortcuts in at least some previous versions, if not all of them, aren't the same.