Comments (13)
@cristeahub: about Vim and alt-keys, at least on my keyboard, left-alt and right-alt behave differently: left-alt-c sends escape-C, right-alt-C sends "รง". Which is extremely weird, because I didn't think there was a difference between them. I'm looking into it. That is also the reason why alt-keys don't work.
Support for Norwegian keyboards is going to be in the next build (93).
from a-shell.
Interesting. I'll have a look.
I think it could be related to the "use caps-lock as escape" option. Is the problem still there when you deactivate the option?
from a-shell.
Yes, the problem still exists when I deactivate the option.
Most of the special characters I use are at number keys. Alt+number writes number instead of special character. Except alt+1 and alt+5, which writes apostrophe. It is correct for alt+1, while alt+5 should write ~. And alt+9 writes [, while it should write {. Similar alt+0 writes ], while it should be }.
There is different behavior using iPython. Alt+1 writes apostrophe (correct), while alt+2,3 etc. writes nothing and down in status above keyboard bar โRepeat 2โ (or 3...) is shown.
It isnโt a huge problem though, I still can use English keyboard :-)
from a-shell.
This is interesting. Without "escape as caps-lock", we use iOS default keyboard management. I did notice it had issues in French with "รง/ร" (alt-c), but I hoped other languages would be spared.
The good news is, since I already added something for the French keyboard, it should be easy to expand it for other keyboards. Is this the right layout?
https://cdn.shopify.com/s/files/1/0810/3669/files/mac-czech-keyboard_1024x1024.png?12659750357617424768
I think the behaviour in iPython is related how it manages shortcuts, bypassing the system shortcuts.
from a-shell.
Yes, this layout is correct. Doesn't show all the ALT or SHIFT-ALT characters (most of them I never used :-)
Here are the full layouts with SHIFT and ALT keys (screens from MacOS, but I checked and it's the same at iPad)
CZ layout:
with SHIFT:
with ALT:
with SHIFT+ALT:
Thanks a lot. And it's really not a big issue, if you don't want to fix it :-) I can imagine it may be lot of work.
from a-shell.
I've added it to the TODO list: https://github.com/holzschu/a-shell/projects/1
It's a long list, but I'll get to it.
from a-shell.
One thing to note here is that in the newest iOS verison you can remap CAPS to ESC via the system settings for external keyboards. Maybe all the remapping done in the app can be removed.
The norwegian keyboard suffers greatly as it is right now. To type {
one needs ALT+SHITFT+8. As it stands right now, that is not possible.
from a-shell.
The fix for Czech keyboards will be in Build 86, soon to be on TestFlight. During my tests, I found that left-alt and right-alt behaved differently, which was surprising.
@cristeahub do I understand correctly that there is a similar issue for Norwegian keyboards? On which keys, specifically? Now that I have specific treatment for 2 languages, adding a third is easier.
from a-shell.
@cristeahub do I understand correctly that there is a similar issue for Norwegian keyboards? On which keys, specifically? Now that I have specific treatment for 2 languages, adding a third is easier.
There are two issues:
-
Within
vim
none of my option keys work. If I press option and press buttons nothing appears. -
When using the Norwegian layout some, but not all, of the alt modifiers are ignored. The number row seems to work fine, but the letters doesn't.
Here's the layout for reference:
No modifier keys:
from a-shell.
Thank you @holzschu. I tested it at build 86 and Czech keyboard is working perfectly fine.
from a-shell.
Hi,
build 94 has a generic fix (alt-key should now work with all external keyboards). I removed the code specific to Czech, English or Norwegian keyboards. Please let me know if this doesn't work.
from a-shell.
Czech one works perfectly fine. Now also in ipython. Thanks!
from a-shell.
This works great! Thanks a lot! ๐
from a-shell.
Related Issues (20)
- Working w/ git-crypt protected repositories HOT 2
- Self-compiled FFMPEG binary or updated bundled default native binary?? HOT 5
- Please make ~ point to the same place as cd HOT 1
- Cannot install ssh-copy-id HOT 2
- Adding PyArrow
- Request: which HOT 3
- Compiling WebAssembly Build HOT 2
- Flex and Bison HOT 4
- Cannot find 'webAssemblyCommandOrder' in scope HOT 1
- pbpaste in shell script HOT 1
- Displaying inline images HOT 1
- Error with submodule init: Fetched in submodule path 'cpython/packages/rasterio', but it did not contain fff416c6945b222f265fa268c4d56de34c8091dd. HOT 2
- iPad Air 5th Generation shows no special keyboard HOT 1
- wasm Error : JavaScript execution returned a result of an unsupported type HOT 4
- Add pyppeteer support
- Tmux or screen
- Bundle terminal fonts with a-shell itself? HOT 1
- Strings command HOT 4
- GPG HOT 6
- Set `XDG_STATE_HOME` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from a-shell.