svenstaro / rofi-calc

🖩 Do live calculations in rofi!
MIT License
964 stars 31 forks source link

Support Home & End keys #77

Closed rakanalh closed 2 years ago

rakanalh commented 2 years ago

When trying to calculate something and you end up having to place brackets around certain operations and you want to move the cursor to the beginning: 1 + 1|, where | is the cursor position. Pressing HOME does nothing. Same goes for END.

It would be nice to have support for these keys in rofi-calc.

Thanks.

svenstaro commented 2 years ago

You should be able to do this using standard rofi CLI: -kb-move-front and -kb-move-end.

rakanalh commented 2 years ago

Thanks @svenstaro i didn't know these options exist.