cajhin / capsicain

Powerful low-level keyboard remapping tool for Windows
334 stars 18 forks source link

Vim leader key mapping #90

Closed pl643 closed 1 year ago

pl643 commented 1 year ago

Is it possible to use capsicain to do the below mapping?

Leader Key Keyboard - inspired from the vi editor's mapleader feature

Mappings

Example key sequences

cajhin commented 1 year ago

Most of it should be possible, not very elegant but doable with deadkeys See https://github.com/cajhin/capsicain/wiki/Function%3A-deadkey%28%29

What won't work is the generic modifier combos ("leader key, F" -> Ctrl is applied to the next key). You'd have to create a rule for every specific Ctrl+key combo (like: leader Key, F, S -> ctrl+S

Comment here if you have questions.