This repository contains a beginner tutorial for Termux and Vim, well what is termux? and latest version here!!
| commands | usage |
|---|---|
| first command | this table is coming soon |
mkdir <.../path/directory-name>
mkdir stands for make directory (folder)
touch <.../path/file-name>
rm -r <file path>
rm stands for remove
mv <old file path> <new file path>
mv stands for move
termux setup storage
- install vim text editor
pkg install vim - open shared storage
vim ~/storage/shared/
cd <.../path/directory-name>to open a directory and using it as current directorycdto get out of the current directory againvim ./to open the current directory and inspect it, you can see the list of all the folders and files this directory contains using this command
vim <.../path/file-name>to open the fileito insert texts and edit the filealt+:+wto save a filealt+:+q!to exit file without savingalt+:+wqto save and exit the filealt+:+w+<file rename>to rename and save the filealt+:+wq+<file rename>to rename the file, saving and exiting
ctrl+4
ctrl+d