Occasionally, my pinky will graze the ' key while reaching for enter, resulting in :w'<Enter>.
I've tried:
cabbrev w' :w
cabbrev w\' :w
cabbrev "w'" :w
None of them work. Is there a way to alias :w' to :w?
I also use cmdwin (:help cmdwin + nnoremap : :<C-F>) instead of the normal command-line, so bonus points if it works there too.