mooz / xkeysnail

Yet another keyboard remapping tool for X environment
891 stars 112 forks source link

Toggle the mark #83

Open thiagoa opened 4 years ago

thiagoa commented 4 years ago

It would be great if there was a function like this:

def toggle_mark():
    def _set_mark():
        global _mark_set
        _mark_set = not _mark_set
    return _set_mark

It simulates the C-SPC Emacs shortcut much better. I've already implemented it in my own copy.

joshgoebel commented 2 years ago

Related: https://github.com/joshgoebel/xkeysnail/issues/8

I'd happily accept a PR for this... makes total sense. How do you keep track of the mark though, just in your head?

I've forked/rebooted the project as it doesn't seem to be actively maintained here any longer.