Skip to content

Commit

Permalink
Default evil-multiedit-scope to nil instead of 'visible
Browse files Browse the repository at this point in the history
  • Loading branch information
hlissner committed Oct 10, 2016
1 parent 04a7633 commit 5de4a98
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,11 @@ Use `(evil-ex-define-cmd "ie[dit]" 'evil-multiedit-ex-match)` so you can use
* `evil-multiedit-ignore-indent-and-trailing` (default: `t`): When you match
forward whitespace and this is non-nil, leading and trailing whitespace will
be ignored.
* `evil-multiedit-scope` (default `'visible`): How far evil-multiedit should
look for additional matches. Accepts 'visible, or anything that
`bounds-of-thing-at-point` accept, such as `'defun`, `'sexp` or `'email`. If
set to `'visible`, evil-multiedit will only search until the end of the
visible window.
* `evil-multiedit-scope` (default `nil`): How far evil-multiedit should look for
incremental matches (doesn't affect `evil-multiedit-match-all` or
`evil-multiedit-ex-match`). Accepts 'visible, or anything that
`bounds-of-thing-at-point` accept, such as `'defun`, `'sexp` or `'email`. If `nil`,
evil-multiedit search the whole buffer.
* `evil-multiedit-smart-match-boundaries` (default `t`): If non-nil, multiedit
will try to be smart about match boundaries when invoked from normal mode.
E.g.
Expand Down
5 changes: 2 additions & 3 deletions evil-multiedit.el
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,10 @@ history."
:group 'evil-multiedit
:type 'boolean)

(defcustom evil-multiedit-scope 'visible
(defcustom evil-multiedit-scope nil
"How far evil-multiedit should look for additional matches. Accepts 'visible,
or anything that `bounds-of-thing-at-point' accept, such as 'defun, 'sexp or
'email. If set to 'visible (the default), evil-multiedit will only search until
the end of the visible window."
'email. If nil (the default), evil-multiedit will search the whole buffer."
:group 'evil-multiedit
:type 'symbol)
(make-variable-buffer-local 'evil-multiedit-scope)
Expand Down

0 comments on commit 5de4a98

Please sign in to comment.