oats wrote:Oh no! I've become addicted to using the middle button... any chance you could support an option to map the middle button to shift-click for those not using Xwin?
I'll add it to the todo list.
gpfsmurf wrote:Makes sense, but what if a particular command needs to maintain a single state for a file or a whole window, what would be the best way to achieve this?
- For state associated with a single view, use object scoped variables in the command
- For state associated with a single buffer, either use the regions API if appropriate, otherwise store in a (global) buffer id keyed dictionary
- For state associated with a window, use a (global) window id keyed dictionary
Window ids aren't yet present in the X api, but they will be in the future.