Giter Site home page Giter Site logo

Comments (10)

carloscabanero avatar carloscabanero commented on August 16, 2024 4

Great Great Great news, this can be done!! I will add it once the config dialog for keys is completed.

from blink.

clarkema avatar clarkema commented on August 16, 2024 1

Commenting on this following Twitter discussion yesterday. Caps to Ctrl is an awesome feature, and worth moving to Blink for all by itself. However, now I know it's possible to do this kind of remapping...

  1. I use an MS Ultimate Folding keyboard with the iPad. That keyboard does have an escape key, but it seems to just act as a home key; it takes me out of Blink back to the main screen, so I'm still having to use Ctrl-[ in vim. Being able to remap this as a true escape would be great.
  2. On my main machine Caps has two functions; tapping it gets you Esc and holding gets Ctrl. This works amazingly well, and is very addictive once you get used to it. Would it be possible to have different actions on tap and hold?

from blink.

mtwebb avatar mtwebb commented on August 16, 2024

Strongly seconded. While the 'smart' keyboard for the ipad pro lacks an
escape key, it has a full sized caps lock key just sitting there quietly
mocking me.

On Thu, Jun 16, 2016 at 9:43 AM Vlad Shvedov [email protected]
wrote:

That would be awesome to have an ability to reassign the Caps Lock, and
send Escape key codes instead. While Ctrl-[ works fine in Vim, it's
still better to use one key instead of combination.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#32, or mute the thread
https://github.com/notifications/unsubscribe/ABUBqLAJCto4dUb7eMLwkEEUieFmwLaqks5qMX0sgaJpZM4I3lIv
.

from blink.

mtwebb avatar mtwebb commented on August 16, 2024

Excellent news! Happy to test it once it's ready.

from blink.

andrius avatar andrius commented on August 16, 2024

Great news! ESC and CMD-arrows mapping (Page up/down, Home/End) would help me :)

from blink.

carloscabanero avatar carloscabanero commented on August 16, 2024

Hi @andrius! You should have Ctrl/Shift/Alt + arrows on v0.916. Let me know!

from blink.

carloscabanero avatar carloscabanero commented on August 16, 2024

The user needs to remap Modifier keyboard keys like Ctrl, Alt, Command and Caps Lock, to the escape sequences as desired. This is a must to have the terminal configured to your liking. For example, it should allow to map Caps to Esc, Alt as Esc, Caps as Ctrl, etc...

from blink.

carloscabanero avatar carloscabanero commented on August 16, 2024

Caps as ESC
[_kbdCommands addObject:[UIKeyCommand keyCommandWithInput:@"" modifierFlags:UIKeyModifierAlphaShift action:@selector(capsPressed:)]];

from blink.

carloscabanero avatar carloscabanero commented on August 16, 2024

Version 0.931 includes full support for all modifiers:

  • Caps/Shift as ESC.
  • Cursor Keys (Home, End, PgUp, PgDown), initially mapped to Cmd + arrows.
  • Function Keys (F1-F10) initially mapped to Cmd+number.
    And you can even map them to what you want. For example, @clarkema can now map Caps to Ctrl, and also Caps to ESC, and get ESC on tap and Ctrl on hold.

from blink.

searls avatar searls commented on August 16, 2024

Sorry to resurrect this thread, @carloscabanero, but could you clarify how to accomplish this:

And you can even map them to what you want. For example, @clarkema can now map Caps to Ctrl, and also Caps to ESC, and get ESC on tap and Ctrl on hold.

In the latest version of Blink?

from blink.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.