I think it's better to inline `cursorhold_key` back here. `cursorhold_key()` is not called anywhere else and by extracting the code from here the `maxlen >= 3` test becomes very mysterious.