Coder Social home page Coder Social logo

keymap's Introduction

Keyboard preview

Keyboard preview

Our aim to have a keyboard which would be convenient for typing without distraction. In current instruction we will get keybindings look like in preview, but you could change any of them on your own using current example.

Setup instruction for Linux

Requirements

  • Ubuntu 18.04
  • GNOME Tweaks
  • AutoKey

Tested on Pop!_OS (based on Ubuntu 18.04). But also should work on clean Ubuntu 18.04 the same way.

Change keys for a couple of default actions

Settings -> Devices -> Keyboard:

Lock screen -> Shift+Ctrl+L
Close window -> Shift+Ctrl+W

Make Caps Lock as Hyper

Then install GNOME Tweaks

$ sudo apt-get install gnome-tweak-tool

Open tweak tools and choose settings:

  • Typing->Caps Lock key behavior->Make Caps Lock an additional Hyper

Change keyboard key bindings

Install AutoKey:

$ sudo apt-get install autokey-gtk

Open the program and disable default bindings for Hyper key inside AutoKey itself:

  • Edit->Preferences->Special Hotkeys
  • Make clean all of them

Add symlink for predefined keybindings from current repository:

$ git clone https://github.com/abogoyavlensky/keymap.git
$ ln -s /full/path/to/keymap/Phrases /full/path/to/.config/autokey/data/Phrases

Also nice to have AutoKey always running. For that, please put it to autostart:

  • Open Gnome Tweak Tools and add the program in the tab called Startup Application.

Setup instruction for macOS

Requirements

Import configuration

Copy the next link to the browser to import configuration into Karabiner: karabiner://karabiner/assets/complex_modifications/import?url=https://raw.githubusercontent.com/abogoyavlensky/keymap/master/Karabiner/keymap.json

That's it

Now your keyboard should look like on preview above.

All key bindings also work for any additional layout on your machine without delay after switching between them.

Additional info

To know keycode of usual keys run following command and press the key

$ xev -event keyboard

To know name of special keys please check wiki page of AutoKey

https://github.com/autokey/autokey/wiki/Special-Keys

Useful links

Caveats:

  • some of helpful Ubuntu system key bindings don't work with new arrow keys. For example, you should still use ordinary arrows to move current window to bottom workspace and so on: <ctrl>+<alt>+<down>

keymap's People

Contributors

abogoyavlensky avatar gustavo0197 avatar

Stargazers

Roman avatar

Watchers

James Cloos avatar

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.