I thought this was already implemented in Krita, but I recently tried to hold Ctrl and Alt when moving my selection to prevent it from snapping to unwanted locations, but it didn’t work.
It would be faster to hold a modifier key than doing Shift+S / View > Snap To > disable the unwanted snap every time, then re-enabling them.
In many graphics software, a modifier key does the job. Some like Inkscape have a single shortcut command to toggle snapping entirely (for all categories), which is also quite fast (press % key by default), but Krita has neither.
The Shift key is already used to snap to horizontal or vertical motion, hence Ctrl or Alt. Alt + drag moves the window on some Linux distro default settings, but since you can hold the modifier after starting the drag, it shouldn’t be an issue. Finally there is Meta but it’s more rarely used. Anyway, this could be a tunable user preference.
Some people mentioned the idea of holding modifier the temporarily enable snap (see this thread Shortcut to turn off 'snap to assistants' momentarily which is similar to my request but for assistants), I’d say why not.
To sum-up:
- hold Ctrl/Alt to temporarily disable snap (if active)
- bonus: hold Ctrl/Alt to temporarily enable snap (if inactive)
- alternative (but good to have besides): a command + shortcut to permanently toggle all snapping
- scope: apply this to all forms of snapping, including snap to assistants, so it will also solve the mentioned other thread (which is currently resolved only via hack exploiting erasal shortcut)