Talk:Move Window to Workspace Left/Right

Alternative method
I have a similar functionality with this alternative configuration. Feel free to use and modify it. Note that this method also moves to the new tag. -- Get a relative tag number function getrelativetag(delta, screen) return (awful.tag.getidx(selected) + delta - 1) % #tags[screen] + 1 end -- Move the focused window to the next tag function movetonexttag(delta) local stags = {} if client.focus then stags = tags[client.focus.screen] awful.client.movetotag(stags[getrelativetag(delta, 1)]) else stags = tags[1] end awful.tag.viewonly(stags[getrelativetag(delta, 1)]) end -- Set the key bindings globalkeys = awful.util.table.join(     awful.key({ "Mod4" }, "Left",  function  awful.tag.viewprev end),      awful.key({ "Mod4" }, "Right",  function  awful.tag.viewnext end),      awful.key({ "Mod4", "Shift" }, "Left",  function  movetonexttag(-1) end),      awful.key({ "Mod4", "Shift" }, "Right", function  movetonexttag( 1) end)  )