Remix.run Logo
triyambakam 6 days ago

Setting a single key as my leader 10 years ago has been really nice. Personally it is back tick for me, but space is probably a good one too.

EPendragon 6 days ago | parent | next [-]

For me, I use Spacebar as a leader key in Neovim, so I think they would conflict.

Does it ever create issues for you if you need to type the backtick in the terminal?

I found that Ctrl-A does a great job: it is conveniently located in relation to other keys that I need to interact with after I activate the prefix, and is in general easy to use.

homebrewer 6 days ago | parent | next [-]

Ctrl+A conflicts with readline's "go to the start of line" (unless you're using vim key bindings in your shell, which I find uncomfortable).

I've been using Ctrl+Q, it replaces an almost completely useless key combo (flow control if I'm not mistaken), and is easy to press.

dur-randir 5 days ago | parent [-]

Just use double Ctrl+A to pass it down:

    bind C-a send-prefix
xiaomai 6 days ago | parent | prev [-]

I also use backtick for my tmux leader key. It doesn't create issues for me in the terminal (but you need to tap it twice when you want a literal backtick). This became natural for me pretty quickly.

EPendragon 6 days ago | parent [-]

Good to know. Thanks for the tip!

aaronbaugher 6 days ago | parent | prev [-]

I use F2. Doesn't sound convenient, but it's just the right distance that when I reach out my middle finger hits it accurately.

hnlmorg 6 days ago | parent [-]

I use F2 too. I can’t even remember why I started using it. I think maybe because KDE already had a similar binding so it because my de facto control pallet binding back before control pallets were a thing.

resonator 6 days ago | parent [-]

I use F4 and have a dedicated button for it nestled amongst my other modifier buttons.