Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

the main draw for me was being able to use the spacebar as a modifier, and being able to press ikjl when the spacebar is held to send the arrow keys. the ctrl and shift keys still work while the spacebar is being held which makes it great for moving the caret around and editing text, like using ctrl + right then ctrl + shift + left to select a word, but without having to move away from the home row

i also have home, end, backspace, delete, pgup, pgdn, all close enough to the homerow on that layer as well so i dont have to reach out to the corners of the keyboard

then finally on the edsf keys i have it send whether the vscode shortcuts are to move the line up or down or indent/unindent.

most of the rest of the things i have remapped are just single key things that can be done in most other remappers, sending esc when the alt key is tapped, capslock to ctrl etc



What function and timings do you use to make the space bar a modifier, but still work normally when typing? I tried a few things but couldn't figure out what to use.


tap-hold-release 200 200 spc (layer-toggle spc_layer)


That's what I am doing right now. The issue seems to be when I am sloppy with the spacebar and some unknown input processing. When this is input:

  - keydown space
  - keydown a
  - keyup a
  - keyup space
I normally get the output <space><a>, interpreted in order of keydown, but kanata outputs in order of keyup, so I get <a><space>.


im using the "kanata_gui_cmd_allowed" version on windows, but maybe if youre on linux or mac maybe it might work differently im not sure

i dont know if this would make a difference but i have "process-unmapped-keys yes" in my defcfg section




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: