Skip to content

Instantly share code, notes, and snippets.

@thewh1teagle
Created December 19, 2020 00:35
Show Gist options
  • Select an option

  • Save thewh1teagle/99156d0e1061dc0c5bd7bded93552f6d to your computer and use it in GitHub Desktop.

Select an option

Save thewh1teagle/99156d0e1061dc0c5bd7bded93552f6d to your computer and use it in GitHub Desktop.
pkg install -y vim
mkdir $HOME/bin
FILE="$HOME/bin/termux-file-editor"
echo "!#/bin/bash" > $FILE
echo "vim $1" >> $FILE
chmod +x $FILE
@thewh1teagle
Copy link
Author

thewh1teagle commented Dec 19, 2020

curl -s https://gist.githubusercontent.com/thewh1teagle/99156d0e1061dc0c5bd7bded93552f6d/raw/94b51d071885d3c34544137f07eb7236d1d59f0e/Termux%2520editor | sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment