Ability to remap control/function keys, esp Caps Lock
In macOS, one can map the caps lock key to be the control key, just like the beloved VT-100s of my misspent youth. I use the iPad Pro + keyboard, and Apple has not made that remapping an os-level 'thing' so it would be nice to be able to do so in this app especially.
52 commentsComments are closed
The current Apple Smart Keyboard lacks the upper row of keys, as most of their functionality are now via touch. However, for coding, the escape key is a must, so it would be great to emulate the Escape key whenever the top-left key (currently its back-tick/tilde) is pressed.
Its a really pain to code in vim, or almost any other terminal related thing without being able to use the escape key.
I recently remapped the volume button to the esc button and it has been great.
Termius > settings > volume button > up button > set to esc
Flip Phillips commented
I -especially- want the control key there since I learned emacs in the 80s with the control key there. I've learned it :)
Julien Cornebise commented
Crude fix for vim on an iPad Pro with a Smart Keyboard server-side: add the following line to your .vimrc:
imap § <Esc>
This remaps the top-left smartkeyboard key to Esc. That's not caps lock, but that's Esc at the right place.
Note: this does not seem to work with all versions of vim -- not quite sure why yet, it have something to do with utf-8 support. But when it works, it's magic.
Julien Cornebise commented
1/ Remapping Caps Lock to Ctrl would be brilliant (e.g. for tmux)
2/ so would be remapping § to ESC :) (e.g. for vim)
Thanks for considering!
Using Vim is incredibly frustrating without a built-in ESC key. One can get by with Ctrl-[ for a while, but for serious use, a dedicated key is needed.
An elegant, and fairly common, fix for this is to support re-mapping of Caps Lock to the ESC key.
Ordinarily this would be handled by the OS; however iOS doesn't currently (and likely never), will support this. So the application must handle this itself.
The open source iOS app Blink supports this, so it appears possible.
It would be fantastic to have this implemented in Serverauditor as well.
(I created a new issue for this to highlight how specific/important Caps Lock as ESC is relative to a more general Remap-Function-Keys feature).
Time to switch to Emacs buddy :)
As another emacs user and Apple didn't release Japanese iPad Pro Smart Keyboard yet (they has ctrl key at left of A key), caps <-> ctrl swap feature is very important for me. Thanks for considering the feature!
This is especially useful when using iPad Pro + Smart Keyboard as it does not have an esc key.
Remapping the caps lock to ctrl would be useful as this needs to be mapped client-side rather than within the SSH session.
Thank you for your feedback
We'll think about adding this feature
I'm very glad to see this terminal supports alt/option shortcut, for example alt+b, alt+f are useful in shell and some editors such as emacs, nano, etc. But some other short cut is not available, for example alt+v, alt+del, etc. If all short cut is supported, just like mac osx terminal, it will be a great promotion.
Many ipad keyboards layout are not good enough, especially ctrl, alt, option, cmd, ESC . If all these keys can be re-map, then everyone gets a perfect keyboard for himself.
If there was an option to swap Caps Lock and Ctrl it would be great. Also for some reason the Alt/Option on my keyboard sends capital letters and not lowercase. Not a big deal but it's a little incovient for emacs. Still, SA has the BEST support for my keyboard (logitech) of any ssh app that I've tried.