How do I unbind `<prefix> space` in tmux?
Asked Answered
R

1

6

<prefix> space by default switches to the next layout. I never want to do this, as I like to keep it default but sometimes I accidentally trigger it.

In my tmux conf I have:

# unbind prefix-space to rearrage windows
unbind C-Space

But it doesn't seem to do the trick. What am I missing?

Rotate answered 6/7, 2016 at 1:27 Comment(0)
C
8

next-layout binding is bound to Space not C-Space so you basically need to

unbind Space

Don't forget to source your tmux.conf after this

tmux source-file ~/.tmux.conf
Cenesthesia answered 6/7, 2016 at 5:22 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.