/dotfiles

Termux Dotfiles

Primary LanguageVim Script

My Termux Dotfiles

Requirements

Update and Upgrade Packages, Install Git and gh

apt update && apt install git gh

Clone Dotfiles As Bare Repo

⚠️ Fork Repo and replace git clone url with your own! ⚠️

rm -rf .termux/termux.properties
## REPLACE THIS URL ⬇️
git clone --bare https://github.com/GR3YH4TT3R93/dotfiles.git ~/GitHub/dotfiles
## REPLACE THIS URL ⬆️
git --git-dir=$HOME/GitHub/dotfiles --work-tree=$HOME checkout
git --git-dir=$HOME/GitHub/dotfiles --work-tree=$HOME config --local status.showUntrackedFiles no
## THE NEXT LINE AUTOMATICALLY RUNS INSTALLER REMOVE IF YOU WANT TO RUN IT MANUALLY
~/.termux/install.sh

Clone Dotfiles as Normal Repo

rm -rf .termux
git clone https://github.com/GR3YH4TT3R93/dotfiles.git ~/

Run Install Script

~/.termux/install.sh

For both methods set new remote!

bare:
b remote set-url https://your.git.fork/repo

regular:
git init
git config --local status.showUntrackedFiles no
git remote add origin https://your.git.fork/repo

Install Nvim Plugins

e # open editor

Custom Unexpected Keyboard Config

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<keyboard>
  <row>
    <key key0="q" key2="superscript" key4="esc"/>
    <key key0="w" key2="2" key3="\@" key4="~"/>
    <key key0="e" key2="3" key4="\#"/>
    <key key0="r" key2="4" key4="$"/>
    <key key0="t" key2="5" key4="%"/>
    <key key0="y" key2="6" key3="^"/>
    <key key0="u" key2="7" key3="&amp;"/>
    <key key0="i" key2="8" key3="*"/>
    <key key0="o" key2="9" key3="\?"/>
    <key key0="p" key1="subscript" key2="0" key3="!"/>
  </row>
  <row>
    <key shift="0.5" key0="a" key2="tab" />
    <key key0="s" key3="{" key4="}"/>
    <key key0="d" key3="[" key4="]"/>
    <key key0="f" key3="(" key4=")"/>
    <key key0="g" key3="/" key4="\" key7="|"/>
    <key key0="h" key3="&lt;" key4=">"/>
    <key key0="j" key3="+" key4="="/>
    <key key0="k" key3="_" key4="-"/>
    <key key0="l" key1="`" key3=":" key4=";"/>
  </row>
  <row>
    <key width="1.5" key0="shift" key2="loc capslock"/>
    <key key0="z" key3="paste" key4="copy"/>
    <key key0="x" key3="selectAll" key4="cut"/>
    <key key0="c" key3="undo" key4="redo"/>
    <key key0="v" key3="." key4=","/>
    <key key0="b" key3="&quot;" key4="'"/>
    <key key0="n" key3="home" key4="end"/>
    <key key0="m" key3="page_up" key4="page_down"/>
    <key width="1.5" key0="backspace" key2="delete"/>
  </row>
</keyboard>