Skip to content

Remap F-e to Ctrl-tab and F-w to Alt-tab #1468

Closed Answered by tesar-tech
tesar-tech asked this question in Q&A
Discussion options

You must be logged in to vote

yes, that kicked me in the right direction. working solution:

(defsrc w e f)

(defvirtualkeys
v-ctl ctl
v-alt alt
v-tab tab)


(defalias

 f (multi 
(on-release release-vkey v-alt)
(tap-hold 200 200 f
  (layer-while-held the_layer))

)
 e (multi (on-press press-vkey v-alt)   (on-press tap-vkey v-tab)   )
 w (multi (on-press press-vkey v-ctl)   (on-press tap-vkey v-tab)   )

)

(deflayer base  w e @f )

(deflayer the_layer @w @e _)

thank you

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@tesar-tech
Comment options

@jtroo
Comment options

jtroo Jan 8, 2025
Maintainer

@tesar-tech
Comment options

Answer selected by tesar-tech
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants