This page is for one-line commands that extend hlwm's built-in commands.
The following snippits enable edge-wrapping, that is, shift and focusing such that when no more neighbors are found, you are teleported to the opposite side of the tag.
In general, you use
focus $DIR || focus_edge $ANTIDIR, where
$ANTIDIR is the opposite direction of
#Binding normal vim-hjkl shifting/focusing with edge-wrapping. #focus hc keybind $Mod-h or , focus left , focus_edge right hc keybind $Mod-j or , focus down , focus_edge up hc keybind $Mod-k or , focus up , focus_edge down hc keybind $Mod-l or , focus right , focus_edge left #shift hc keybind $Mod-Shift-h or , shift left , shift_edge right hc keybind $Mod-Shift-j or , shift down , shift_edge up hc keybind $Mod-Shift-k or , shift up , shift_edge down hc keybind $Mod-Shift-l or , shift right , shift_edge left