Live data from Hacker News

My self-contained Tmux configuration

github.com

11–20 of 24 posts

Re: My self-contained Tmux configuration

#11

The (left,right)_seperators for me are | instead of the cool looking arrows. How do I enable these?

after having installed it,

$ cp ~/.tmux/.tmux.conf.local ~/

Then edit `.tmux.conf.local` and uncomment the #tmux_conf_theme=powerline_patched_font line.

For the powerline symbol to work, you need patched fonts: https://github.com/Lokaltog/powerline-fonts

Re: My self-contained Tmux configuration

#13
C-a conflicts with bash's move to start of line. Not everyone would care, but that's one of the few bash shortcuts I personally consider important.

I can't stand the default C-b either, it feels like an awkward reach to me and makes tmux seem to require way too much chording.

I've recently switched to using C-j, which duplicates the enter key. I also changed next and prev page from n / p to C-n / C-p. That way I can fly through my tabs with a single press & hold on the Ctrl key. So much nicer.

Re: My self-contained Tmux configuration

#14
post #13

C-a conflicts with bash's move to start of line. Not everyone would care, but that's one of the few bash shortcuts I personally consider important. I can't stand the default C-b either, it feels like an awkward reach to me and makes tmux seem to require way too much chording. I've recently switched to using C-j, which duplicates the enter key. I also changed next and prev page from n / p to C-n / C-p. That way I can…

C-a a is an extra keypress but good enough for me.

Re: My self-contained Tmux configuration

#15
post #13

C-a conflicts with bash's move to start of line. Not everyone would care, but that's one of the few bash shortcuts I personally consider important. I can't stand the default C-b either, it feels like an awkward reach to me and makes tmux seem to require way too much chording. I've recently switched to using C-j, which duplicates the enter key. I also changed next and prev page from n / p to C-n / C-p. That way I can…

I learnt to C-a twice and then I switched my prompt to vi input mode. But I get your concerns!

Re: My self-contained Tmux configuration

#17
post #11

The (left,right)_seperators for me are | instead of the cool looking arrows. How do I enable these?

after having installed it, $ cp ~/.tmux/.tmux.conf.local ~/ Then edit `.tmux.conf.local` and uncomment the #tmux_conf_theme=powerline_patched_font line. For the powerline symbol to work, you need patched fonts: https://github.com/Lokaltog/powerline-fonts

Ah great, I uncommented the line but I didn't have the fonts installed.

Re: My self-contained Tmux configuration

#18
post #15
post #13

C-a conflicts with bash's move to start of line. Not everyone would care, but that's one of the few bash shortcuts I personally consider important. I can't stand the default C-b either, it feels like an awkward reach to me and makes tmux seem to require way too much chording. I've recently switched to using C-j, which duplicates the enter key. I also changed next and prev page from n / p to C-n / C-p. That way I can…

I learnt to C-a twice and then I switched my prompt to vi input mode. But I get your concerns!

It would fight my ingrained emacs muscle memory habits, especially when not using tmux. But, I really should just change my habit to use the home key instead of using C-a at all. I had a narrative in my head about home & end keys not always working over ssh, but now I think they work everywhere I need; That story might have been burned into my head decades ago.

C-j does make a nice tmux prefix though; give it a whirl and see. Part of it for me is the two-hand chord versus one-hand chord. C-j feels easier for me to hit than either C-a or C-b.

In any case, I forgot to compliment you on the project - your tmux modeline does look awesome!

Re: My self-contained Tmux configuration

#19
post #13

C-a conflicts with bash's move to start of line. Not everyone would care, but that's one of the few bash shortcuts I personally consider important. I can't stand the default C-b either, it feels like an awkward reach to me and makes tmux seem to require way too much chording. I've recently switched to using C-j, which duplicates the enter key. I also changed next and prev page from n / p to C-n / C-p. That way I can…

There's always C-\ (I like it because it's opposite ends of the keyboard. Easy to find :)

Might steal C-n and C-P, although C-[ C-] are tempting.

Re: My self-contained Tmux configuration

#20
post #18
post #15

Earlier quoted context omitted.

I learnt to C-a twice and then I switched my prompt to vi input mode. But I get your concerns!

It would fight my ingrained emacs muscle memory habits, especially when not using tmux. But, I really should just change my habit to use the home key instead of using C-a at all. I had a narrative in my head about home & end keys not always working over ssh, but now I think they work everywhere I need; That story might have been burned into my head decades ago. C-j does make a nice tmux prefix though; give it a whirl…

Thanks, well credit where it's due, the look and feel steals from @myusuf3 who made me discover his powerline inspired configuration in https://www.youtube.com/watch?v=ASOwagptPB8.

Then, I made in sort everything is self-contained.

Post reply on HN