Created
September 2, 2016 15:54
-
-
Save lislon/afc5a41df7956c6b77d58735ed55c18a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| (evil-define-motion evil-search-forward () | |
| (format "Search forward for user-entered text. | |
| Searches for regular expression if `evil-regexp-search' is t.%s" | |
| (if (and (fboundp 'isearch-forward) | |
| (documentation 'isearch-forward)) | |
| (format "\n\nBelow is the documentation string \ | |
| for `isearch-forward',\nwhich lists available keys:\n\n%s" | |
| (documentation 'isearch-forward)) "")) | |
| :jump t | |
| :type exclusive | |
| :repeat evil-repeat-search | |
| (progn ;MADE CHANGES HERE | |
| (evil-insert-state) | |
| (evil-search-incrementally t evil-regexp-search) | |
| (evil-normal-state) | |
| )) | |
| (evil-define-motion evil-search-backward () | |
| (format "Search forward for user-entered text. | |
| Searches for regular expression if `evil-regexp-search' is t.%s" | |
| (if (and (fboundp 'isearch-forward) | |
| (documentation 'isearch-forward)) | |
| (format "\n\nBelow is the documentation string \ | |
| for `isearch-forward',\nwhich lists available keys:\n\n%s" | |
| (documentation 'isearch-forward)) "")) | |
| :jump t | |
| :type exclusive | |
| :repeat evil-repeat-search | |
| (progn ;MADE CHANGES HERE | |
| (evil-insert-state) | |
| (evil-search-incrementally nil evil-regexp-search) | |
| (evil-normal-state) | |
| )) | |
| (evil-define-motion evil-search-forward () | |
| (format "Search forward for user-entered text. | |
| Searches for regular expression if `evil-regexp-search' is t.%s" | |
| (if (and (fboundp 'isearch-forward) | |
| (documentation 'isearch-forward)) | |
| (format "\n\nBelow is the documentation string \ | |
| for `isearch-forward',\nwhich lists available keys:\n\n%s" | |
| (documentation 'isearch-forward)) "")) | |
| :jump t | |
| :type exclusive | |
| :repeat evil-repeat-search | |
| (progn ;MADE CHANGES HERE | |
| (evil-insert-state) | |
| (evil-search-incrementally t evil-regexp-search) | |
| (evil-normal-state) | |
| )) | |
| (evil-define-motion evil-search-backward () | |
| (format "Search forward for user-entered text. | |
| Searches for regular expression if `evil-regexp-search' is t.%s" | |
| (if (and (fboundp 'isearch-forward) | |
| (documentation 'isearch-forward)) | |
| (format "\n\nBelow is the documentation string \ | |
| for `isearch-forward',\nwhich lists available keys:\n\n%s" | |
| (documentation 'isearch-forward)) "")) | |
| :jump t | |
| :type exclusive | |
| :repeat evil-repeat-search | |
| (progn ;MADE CHANGES HERE | |
| (evil-insert-state) | |
| (evil-search-incrementally nil evil-regexp-search) | |
| (evil-normal-state) | |
| )) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment