Vim - no esc key? - Android Q&A, Help & Troubleshooting

Hi, I'm using Nexus 7 with stock JB system, with a usb keyboard, and when I use Vim both esc key and ctrl produce a ^@ character. I wasn't able to use mappings with ^@ char to get anything working (most importantly ctrl-[ for escape).
At the very basic level, I'd like to get Esc working, but ctrl would be really great, too.
I can see that android itself does understand ctrl key as a modifier, for example to jump over words in any editor by using ctrl+left/right.
How can I get this to work? It seems like such a tiny thing but it keeps me from being able to write code on N7, write and edit longer text documents.
Any help / hints appreciated!

Related

Can individual keys be remapped on the fuze?

I was wondering if anyone knows how to remap one of the fuze's keyboard keys to function as the TAB key, like in the TP. I've read a few threads about changing an english keyboard to a foreign language keyboard, but nothing on changing individiual keys. It looks too complicated for me to understand too. I think I can spare the Windows key if I can use it for the TAB function. Thank you in advance.
This would be great. I'd change the right shift key.
You could try Mobiion's MagiKB lite
This would be awesome, i want to switch the OK and the Fn keys on the left side and the Wifi and T9 keys on the opposite.
Thanks for your suggestion, wonghyf. I looked into Mobiion's MagiKB lite, but the program is not very intuitive. In fact, I couldn't really figure it out. Do you know if there is a good tutorial? Thanks again
ganglion5 said:
Thanks for your suggestion, wonghyf. I looked into Mobiion's MagiKB lite, but the program is not very intuitive. In fact, I couldn't really figure it out. Do you know if there is a good tutorial? Thanks again
Click to expand...
Click to collapse
Here is the link to magiKB lite's help: http://www.mobiion.com/mgkblguide.html
I think this section is particularly useful:
Fake Key: Replace the original key with a new one, so that when the base key is pressed, the fake key will be sent instead of the original one. This option is only available when the key type is VKey
This is how I map the fake keys:
Select [Edit Key-Mapping]>[Add New...], and then follow the instructions below:
1. Change its type to [Vkey]
2. Set focus to field [Key Code]
3. Select [Menu]>[Get key code...]
4. Now press the key you want to remap FROM
5. Tick "Fake this key with"
6. Set focus to field just right to "Fake this key with"
7. Select [Menu]>[Get key code...] and press the key you want to map TO; or select from predefined codes>
8. Press OK (left soft key)
You have to install hookmgr.cab as well to make magikb lite work. But still on my Touch Pro, some keys can't be mapped properly because the original key will be triggered as well (e.g. the SMS/MMS button), don't know why.

keyboard key codes

Hi
i was wondering if anyone knows all the keyboard key codes to map the S740 keyboard using the eT9.Rose.0***.kmap.txt file
i find it very useful to change certain keys and i was also looking for, if possible, which key code is used to change the accent of the previous typed letter (like the aü key on the xperia x1) so i can easily use accented letters, áàãâ etc, without having to go to sym menu or map them on different keys.
thanks
AE Keymap
Search for the program named AE Keymap and install it, it's a utility for changing keymaps with a scanner application on the side so that you can read out the codes by pressing buttons.

How to copy/paste with dock/trackpad?

I know on the the tablet, I just long press on the screen to choose the text. Is there a way to do it with just the trackpad and/or mouse?
Hold down button on trackpad.
That worked but I can't seem to get Ctrl + C to work in a browser.
clankfu said:
That worked but I can't seem to get Ctrl + C to work in a browser.
Click to expand...
Click to collapse
That is not a shortcut that works.
You have to remember, Android is made for touch. When you hook up the dock, the trackpad basically plays the role of your finger.
Just plugging in the dock doesn't make the Prime a normal laptop- instead it is a tablet with its bluetooth keyboard solidly attached. True "transforming" tablets that convert from a mobile OS to a real OS when docked are years away.
Honestly I think its cool Asus rigged the shortcuts we do have.
Control+V for pasting.....oi
Sent from my Transformer Prime TF201 using Tapatalk
found a great way to select text
Press alt the drag across screen where you want to select. I find it easier and more intuitive than double tap then select.
Dave
or you can select by hovering the "arrow" over the text/word you want to copy, then touch the touchpad with 2fingers (long hold), the text/word will be selected.
poofyhairguy said:
That is not a shortcut that works.
You have to remember, Android is made for touch. When you hook up the dock, the trackpad basically plays the role of your finger.
Just plugging in the dock doesn't make the Prime a normal laptop- instead it is a tablet with its bluetooth keyboard solidly attached. True "transforming" tablets that convert from a mobile OS to a real OS when docked are years away.
Honestly I think its cool Asus rigged the shortcuts we do have.
Click to expand...
Click to collapse
Standard keyboard shortcuts work fine with Android as long as you have a keyboard.
CTRL - A (Select all)
CTRL - V (Paste)
CTRL - C (Copy)
CTRL - X (Cut)
All of these work fine in Android, and within the Android browser. I just tested this myself with my own Prime & keyboard dock. You can also use the Menu button in place of the CTRL button.
Also in the stock browser:
CTRL - T opens a new tab.
CTRL - N opens a new tab.
CTRL - I zooms in.
CTRL - O zooms.
CTRL - H opens history
CTRL - P opens settings.
CTRL - L highlights the address bar text
CTRL - B opens bookmarks.
CTRL - J opens recent downloads
CTRL - F opens text finder
CTRL - W closes selected tab
CTRL - R reloads current tab
CTRL - S opens the "share" menu.
CTRL - 1 goes to the first tab (other numbers open other tabs, in order from left to right.)
All of these are keyboard shortcuts included in the stock Android browser and are not added by Asus. They are intended to work with products like Google TV which uses a keyboard interface, as well as bluetooth keyboards and phones that have built-in keyboards.
For the OP:
If you find it hard to select text by clicking on the screen and holding, using the trackpad, click at the beginning or end of the text you want to copy and then hold shift and move across the text using the arrow keys. This will highlight the text and then you can use the keyboard shortcuts above to cut/copy/paste.

[Q] Remap bluetooth keyboard keys

I have the zaggfolio case and keyboard. I was wondering is there anyway to edit the functions of the keyboard. For example: change the ctrl key to a shortcut for my browser or if i long press the home but recents will show. thanks
Bumping you because I want to do the same thing for the opposite reason: My keyboard Esc key is interpreted as a local 'Back' press, and Ctrl goes I don't know where. I want it to stop modifying these keys and send them through ConnectBot instead.

What's up with CTRL key?

I have been using some time Terminal emulator and Connect Bot apps. CTRL key works perfect with both applications when using onscreen Hacker's Keyboard, but every time I try to use an external keyboard, CTRL key never works. I tried remapping it by editing /system/usr/keylayout/qwerty.kl without success. I have verified the keyboard throws key 29 when I hit CTRL key, but adding a line like this:
key 29 CTRL_LEFT
causes a weird behaviour. CTRL key doesn't work, and other keys (like SPACE) also stop working.
What's the problem with CTRL key on Android? Why is it so difficult/impossible to get it to work in external keyboards?

Categories

Resources