The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
1

Why are $mod v and $mod h inverted?

asked Jul 1 '14

anonymous user

Anonymous

Hello,

Just started using i3 and got myself a working desktop, but just have to ask why $mod+v gives me a horizontal layout and $mod+h gives you a vertical layout?

What is the reason for the inversion?

Comments

I just created a clean config with i3-config-wizard, the behavior you describe is the opposite of the default. How did you set up i3?

ANOKNUSA gravatar imageANOKNUSA (Jul 1 '14)edit

I just installed the package on Arch. $mod+v: http://i.imgur.com/3idRuR9.png $mod+h: http://i.imgur.com/9khfL9h.png

Farioko gravatar imageFarioko (Jul 1 '14)edit

Vertical layout = windows laid out vertically; horizontal layout = windows laid out horizontally. There's nothing wrong here, you're just thinking of it backwards.

ANOKNUSA gravatar imageANOKNUSA (Jul 1 '14)edit

1 answer

Sort by » oldest newest most voted
1

answered Jul 1 '14

lasers gravatar image

updated Jul 1 '14

Correct behaviour. Focus more on the new window, not the current window. You're going to need to put it somewhere next to the current window... vertical or horizontal.

$mod+v will indicate the current window to be split under (vertical) for the new window and mod+h will indicate the current window to be split along (horizontal) for the new window. The videos may be helpful. http://i3wm.org/screenshots/ :)

Comments

Another way of looking at is splits vs windows. a lot of programs and IDE's use the split analogy and focus on creating vertical or horizontal splits i.e. which axis does the split run along. All I care is that all my programs are consistent - I changed the default bindings to match others in this

platz gravatar imageplatz (Jul 1 '14)edit

Question Tools

Stats

Asked: Jul 1 '14

Seen: 202 times

Last updated: Jul 01 '14