Open stapelberg opened 9 years ago
I'm not sure what the best way to determine what the window to the left is. You could just use geometry, which is pretty straightforward, but might not always be what you want. Another option would be to add an extra method to the layout which returns the window to the left, and that would probably be able to make smarter choices.
In either case, I think I would be fine with adding an alternate focus_{left,right,up,down}
, and allow the user to bind those to actions in their config if they want.
You can made layout just like in tmux. In tmux you can change width and length of window, you can choose window by direction left, right, up, down.
I am used to thinking in terms of “focus the window left of the current window”, not “focus the previous window until I arrive at the window left of the current window”. The latter is what the
focus_prev
velox action does. Would you be okay with adding an action for the former as well?