termux shortcuts
This commit is contained in:
parent
22b0280702
commit
a5768d66d8
@ -1 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
ssh pc DISPLAY=:0 xdotool key super+q
|
ssh pc DISPLAY=:0 xdotool key super+q
|
||||||
@ -1,5 +1,16 @@
|
|||||||
enforce-char-based-input = true
|
enforce-char-based-input = true
|
||||||
|
|
||||||
|
# Open a new terminal with ctrl + t (volume down + t)
|
||||||
|
shortcut.create-session=ctrl + t
|
||||||
|
|
||||||
|
# Go one session down with (for example) ctrl + 2
|
||||||
|
shortcut.next-session=ctrl + 2
|
||||||
|
|
||||||
|
# Go one session up with (for example) ctrl + 1
|
||||||
|
shortcut.previous-session=ctrl + 1
|
||||||
|
|
||||||
|
# Rename a session with (for example) ctrl + n
|
||||||
|
shortcut.rename-session=ctrl + n
|
||||||
|
|
||||||
extra-keys = [ \
|
extra-keys = [ \
|
||||||
[ \
|
[ \
|
||||||
|
|||||||
@ -1,8 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
|
||||||
if [ -d "$HOME/.shortcuts" ]; then
|
if [ -d "${HOME}/.shortcuts" ]; then
|
||||||
cp "$SUB/.shortcuts/*" "$HOME/.shortcuts"
|
cp "${SUB}/.shortcuts/"* "${HOME}/.shortcuts"
|
||||||
else
|
else
|
||||||
cp -r "$SUB/.shortcuts" "$HOME"
|
cp -r "${SUB}/.shortcuts" "${HOME}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
mkdir -p "${HOME}/bin"
|
||||||
|
ln -s "$(which "${EDITOR}")" "${HOME}/bin/termux-file-editor"
|
||||||
Loading…
x
Reference in New Issue
Block a user