Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hard to type slash and question mark, key to close to screen edge #259

Open
duianto opened this issue Dec 9, 2022 · 2 comments
Open

Hard to type slash and question mark, key to close to screen edge #259

duianto opened this issue Dec 9, 2022 · 2 comments

Comments

@duianto
Copy link

duianto commented Dec 9, 2022

My iPhone case has a raised edge around the screen. This makes it difficult to type slash and question mark by swiping up and right or down and right, on the colon key (the right most key, above the ‘p’ key).

A possible solution

Currently there is about a two key gap in the middle.

image

One solution might be to remove the gap, and center the keys in the middle.

image

A one key gap on each side, seems like enough to make it a lot easier to type slash and question mark.

@sedm0784
Copy link

I had this problem too. I worked around it by adding an extra key on the end of the row that doesn't have diagonal actions on it:

Screenshot 2023-04-28 at 10 47 09 am png

" Replace colon with backtick
isetekbd replace {'buttons':[{'keys':[{'title':'`',
                                     \'type':'insert',
                                     \'contents':'`'}],
                            \'locations':[0]
                            \}],
                \'locations':[9]}
" And add new button with colon/tilde
isetekbd insert {'buttons':[
                           \{'keys':[{'title':':',
                                     \'type':'insert',
                                     \'contents':':'}]},
                           \{'keys':[{'title':'~',
                                    \ 'type':'insert',
                                    \ 'contents':'~'}],
                           \'locations':[1]}
                           \],
                \'locations':[10,10]}

@duianto
Copy link
Author

duianto commented Apr 28, 2023

@sedm0784 Thank you.

For anyone else, that's new to iVim and wonders how to apply those commands.

  • Copy the lines above
  • Start iVim
  • Edit the .vimrc file: :e .vimrc enter (the file will be created if it doesn't exist)
  • Paste: "+p enter
  • If iOS asks for permission to paste, click on: Allow Paste
  • Save the file and close iVim: :x enter
  • Start iVim. Now the buttons have been updated.

The default buttons can be restored by calling: :isetekbd default
The buttons update instantly without having to restart iVim.

Here's the documentation:

5. Set Extended Keyboard *set-extended-keyboard-icommand*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants