Giter Site home page Giter Site logo

ctrl2esc's People

Contributors

dstarikov avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

ctrl2esc's Issues

Mapping/remapping keys in Linux apps

I believe it is possible to manage what keys get sent to a Linux app using Sommelier, so perhaps it would be possible to use those rules to make ctrl2esc get evaluated first rather than passing in the keystroke directly? I'm not sure if caps2esc or other remapping tools if they are not X specific would work as well, but maybe a rule in /etc/default/keyboard would be better if Crostini actually has that file and uses it?

Whether you interact with Sommelier or not this depends if you are using the Terminal for Crostini which is a native ChromeOS app, or if you are using an alternate terminal like Kitty or Gnome Terminal etc or working with another GUI app like VS Code or Spotify for Linux etc.

https://chromium.googlesource.com/chromiumos/platform2/+/413a646b5b7067a989bab2ef9fca0c3a4515cc22/vm_tools/sommelier/README.md#accelerators

https://www.reddit.com/r/Crostini/wiki/enable-chrome-shortcuts-in-linux-apps

Tapping Search mapped as Ctrl doesn't send Esc sequence that Vimium (extension) will honor to exit input mode

Luckily I discovered/remembered (from real vim) that using Ctrl + [ can send the Esc sequence directly, which is crucial since I left my physical Esc key mapped to the Search functionality since I still frequently use the Ctrl key at the bottom left of the keyboard when switching tabs using Ctrl + PgUp/PgDn.

I've also noticed some really weird interactions with ctrl2esc enabled like sometimes I'll be typing into an input field and the keyboard stops printing every character, but if I hit the Search/Ctrl mapped key to send Esc suddenly it will output some of the missing characters but in a jumbled order from what I had typed. I'll see if I can find a specific sequence that triggers this behavior and if it happens in other places than just this text field.

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.