9

I use Termux on my Fairphone 2 and I want to speed up working with it. What slows me down is not having an up arrow key that I can use to access the last command in my bash history. I can do !! !7 and so on, but most of the time I don't want to actually repeat the commands, I just want to do something similar. I know some keyboard shortcuts to work with my bash history but they require a ctrl key, which none of my keyboards have. I use

  • AnySoftKeyboard
  • Hacker's Keyboard
  • AOSP Keyboard

None of them have up arrow or ctrl keys

At the moment, I select and copy text by touching, but this is still slow.

How can I access my previous commands more quickly?

8

See the Termux help page for how to input arrow keys using the VolumeUp button, VolumeDown for Ctrl and some additional shortcuts!

Volume Up+W → Up arrow key

1

You said you use Hacker's Keyboard. If you turn the device into landscape mode Hacker's Keyboard does indeed have all four arrow keys along with ctrl & alt.

  • I use AnySoftKeyboard and it has up arrows on the code section :) – Zanna Feb 5 '18 at 6:16
-1

Volume UP + Q to add Ctrl, esc, tab, alt Keys on Termux

  • I seem to get a printed q if I do that – Zanna Jan 2 '17 at 12:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.