Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update evil-bigword and use it #1451

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion evil-common.el
Original file line number Diff line number Diff line change
Expand Up @@ -1703,7 +1703,7 @@ WORD is a sequence of non-whitespace characters
'[^\\n\\r\\t\\f ]', or an empty line matching ^$."
(evil-forward-nearest count
#'(lambda (&optional cnt)
(evil-forward-chars "^\n\r\t\f " cnt))
(evil-forward-chars evil-bigword cnt))
#'forward-evil-empty-line))

(defun forward-evil-symbol (&optional count)
Expand Down
2 changes: 1 addition & 1 deletion evil-vars.el
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ selected. Possible values are `evil-word' or `evil-WORD'."
:type 'symbol
:group 'evil)

(defcustom evil-bigword "^ \t\r\n"
(defcustom evil-bigword "^ \f\t\r\n"
"The set of characters to be interpreted as WORD boundaries.
This is enclosed with square brackets and used as a regular
expression. By default, whitespace characters are considered
Expand Down