mediummode
mediummode copied to clipboard
Use CursorMoved event to reset after jump commands
There doesn't seem to be an event for a jump command, but a CursorMoved autocmd could track the previous position, and reset whenever it changes by more than one.
Excellent idea! I had experimented with CursorMoved but didn't think to look at the distance moved.