Moving Through i3 Workspaces

The default i3 config file only has commands to move to a specific numbered workspace (e.g. mod-1, mod-2). For better or worse, I'm in the habit of "traveling" through the workspace list using Ctrl-Alt-Up and Ctrl-Alt-Down (or Left and Right, if you prefer a horizontal feel for your workspaces). This is trivial to do in your ~/.i3/config:

# Use mod-Control-Up and Down to rotate through the workspace list.
bindsym $mod+Control+Up workspace prev
bindsym $mod+Control+Down workspace next

# Use mod-Shift-Control-Up and Down to move the selected window to an
# adjacent workspace. (This does *not* change your view to that workspace,
# it just "zaps" the window there.)
bindsym $mod+Shift+Control+Up move workspace prev
bindsym $mod+Shift+Control+Down move workspace next
Posted on 2012-05-16 by brian in linux .
Comments on this post are closed. If you have something to share, please send me email.