This repository contains keymaps for my open-source wired keyboards.
Drawn with caksoylar/keymap-drawer:
Because I want to type comfortably.
Touch-typing maps on a regular keyboard are nice for the letters a-z, but not so much for symbols, modifiers (Shift, Ctrl, Alt, Cmd/Win/Super) and special keys like Esc, Tab and Backspace. Those cover large areas of a normal keyboard, and all of that work is supposed to be done by the pinky fingers.
As a programmer, I like using great tools to help me code. An IDE with good autocomplete means I don't normally type out full words when coding. What I do type a lot, is symbols: (\{}:['a-b', "a_b/c"])`
I am very grateful for neovim (and the lazyvim distribution of it), lazygit, k9s, wezterm and kitty. They enable me to use a pc almost completely with keyboard shortcuts.
So my goal with this was to make it more comfortable to type symbols and modifiers, using all my fingers.
Wouldn't it be nice if we could put all the symbols, modifiers and numbers right in that comfortable area where the letters are?
But you'd need to press some other key at the same time to separate them from the letters. Where do we put this key?
If you've ever looked at a game controller, handheld console, or smartphone, you've seen that almost all the keys are manipulated with the thumbs.
The thumbs can do much more than just hit the space bar. If you put keys close to them.
Those thumb keys can then be used to enable "layers" with numbers, symbols, etc.
This takes some getting used to, but if you use a layer key on each thumb, you get 4 layers. This is more than enough space to put all the keys you want. And that is how you can type everything you want while barely moving your fingers!
I did not want to use home-row mods, or other timing-sensitive tricks, such as Mod-Tap. I want to be able to type as slow as I want to, or as fast as I can. This is why I went with one-shot modifiers on layers, like the Callum and Seniply layouts have popularized.
Because I don't seem to be able to turn off dead keys reliably on workplace-managed Windows installs, I have added an "UnDead" (🧟) mode, activated and de-activated with combos, in which dead keys are automatically followed by a space, so that they are effectively disabled when typing on a pc that has dead keys enabled. Implementation was selectively stolen from precondition
I have briefly considered placing the letters more optimally, in Colemak-DH layout, but have opted not to do that for now. Although QWERTY is a little awkward when typing English words, changing to Colemak would also move the Vim keys, or make me unable to use a default vim config. Besides, learning a new alpha layout is much more difficult than just the symbols and modifiers, even if only for typing words. Perhaps later.
This is forked from a template repository which allows for an external set of QMK keymaps to be defined and compiled. This is useful for users who want to maintain their own keymaps without having to fork the main QMK repository.
- Run the normal
qmk setupprocedure if you haven't already done so -- see QMK Docs for details. - Fork this repository
- Clone your fork to your local machine
- Enable userspace in QMK config using
qmk config user.overlay_dir="$(realpath qmk_userspace)" - Add a new keymap for your board using
qmk new-keymap- This will create a new keymap in the
keyboardsdirectory, in the same location that would normally be used in the main QMK repository. For example, if you wanted to add a keymap for the Planck, it will be created inkeyboards/planck/keymaps/<your keymap name> - You can also create a new keymap using
qmk new-keymap -kb <your_keyboard> -km <your_keymap> - Alternatively, add your keymap manually by placing it in the location specified above.
layouts/<layout name>/<your keymap name>/keymap.*is also supported if you prefer the layout system
- This will create a new keymap in the
- Add your keymap(s) to the build by running
qmk userspace-add -kb <your_keyboard> -km <your_keymap>- This will automatically update your
qmk.jsonfile - Corresponding
qmk userspace-remove -kb <your_keyboard> -km <your_keymap>will delete it - Listing the build targets can be done with
qmk userspace-list
- This will automatically update your
- Commit your changes
- In the GitHub Actions tab, enable workflows
- Push your changes above to your forked GitHub repository
- Look at the GitHub Actions for a new actions run
- Wait for the actions run to complete
- Inspect the Releases tab on your repository for the latest firmware build
- Run the normal
qmk setupprocedure if you haven't already done so -- see QMK Docs for details. - Fork this repository
- Clone your fork to your local machine
cdinto this repository's clone directory- Set global userspace path:
qmk config user.overlay_dir="$(realpath .)"-- you MUST be located in the cloned userspace location for this to work correctly- This will be automatically detected if you've
cded into your userspace repository, but the above makes your userspace available regardless of your shell location.
- This will be automatically detected if you've
- Compile normally:
qmk compile -kb your_keyboard -km your_keymapormake your_keyboard:your_keymap
Alternatively, if you configured your build targets above, you can use qmk userspace-compile to build all of your userspace targets at once.
If you wish to point GitHub actions to a different repository, a different branch, or even a different keymap name, you can modify .github/workflows/build_binaries.yml to suit your needs.
To override the build job, you can change the following parameters to use a different QMK repository or branch:
with:
qmk_repo: qmk/qmk_firmware
qmk_ref: master
If you wish to manually manage qmk_firmware using git within the userspace repository, you can add qmk_firmware as a submodule in the userspace directory instead. GitHub Actions will automatically use the submodule at the pinned revision if it exists, otherwise it will use the default latest revision of qmk_firmware from the main repository.
This can also be used to control which fork is used, though only upstream qmk_firmware will have support for external userspace until other manufacturers update their forks.
- (First time only)
git submodule add https://github.com/qmk/qmk_firmware.git - (To update)
git submodule update --init --recursive - Commit your changes to your userspace repository
