Coder Social home page Coder Social logo

remaps's Introduction

Remapping

It's not perfect but I've been using it now for a long time.

So it modifies some keys:

Key Single Press Hold (Modifier)
Space Bar Space Super or Window Key
CapsLock ESC Ctrl
Enter Enter Ctrl
LeftShift Underscore LeftShift
RightShift Dash RightShift

So in a short summary, this will give Control keys access to the pinkies in addition to ESC. And will use two Shift keys for frequently used but hard to reach keys (at least for me, you can use them for other keys). Last but not least the Space Bar act as Super key which can be super useful.

Usage

This will only work with locale set to "en_US.UTF-8". This can be helpful for managing locale. You need to install package xcape first then:

cd <path-to-this-repo>
sh remaps

Add above in your startup programs for daily usage.

Some problems

  • super + space will not work if you some binding to it. You can reassign that binding.
  • Very rarely, in some programs when you type <space> <some-key> this can go wrongly as super + <the-key>. This is mainly due to slow xcape or human error.

Note

If you were using some other mappings or did some modification to this script you may need to reload it properly:

cd <path-to-this-repo>
setxkbmap -layout us -option; killall xcape; sh remaps

Limitation

Works under Linux and Xorg only. Most of the desktop distros should be fine. Dwm and i3 are fine too.

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.