Skip to content

Instantly share code, notes, and snippets.

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

  • Save thewh1teagle/0b196ee804b1bcdb2aabf47c2955e771 to your computer and use it in GitHub Desktop.

Select an option

Save thewh1teagle/0b196ee804b1bcdb2aabf47c2955e771 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

curl -s https://gist.githubusercontent.com/thewh1teagle/0b196ee804b1bcdb2aabf47c2955e771/raw/3b36615b074720168d66c1bda55a0492324c7d5e/Termux%2520editor%2520vim | sh

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