Custom caret plugin (X-Caret)