How to get vim `yiw` macro working

I am having some trouble implementing the vim yiw command which copies one word as a macro for my UHK.

The way I would like to implement it is with a ifGesture and then execute:

  • Option-Left (move the cursor to the start of the word)
  • Option+Shift+Right (to select the word)
  • Command+c

ifGesture 8 73 final ....

The problem is that I could not find the modifier ids for command or option and I am not sure how to combine this sequence in a single macro.

Assuming that mac option corresponds to left alt and command to left GUI, then:

ifGesture 8 73 final tapKeySeq LA-left LAS-right LG-c
...

ahh ok thanks makes sense!