Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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.


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.


Just use double Ctrl+A to pass it down:

    bind C-a send-prefix


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.


Good to know. Thanks for the tip!


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.


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.


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: