This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun my:is-end-of-line () | |
"Compare point with end of line." | |
(let* ((pos (current-column)) | |
(end-pos (save-excursion | |
(evil-end-of-line) | |
(current-column)))) | |
(eq pos end-pos))) | |
(defun my:compare-with-end-of-word () | |
"Compare point with end of word." |