feat(evil): optionally wrap move-window commands
Introduces an `+evil-want-move-window-to-wrap-around` option. If non-nil, `+evil/window-move-*` commands will wrap around the frame. If these commands are passed the prefix arg, behave as if `+evil-want-move-window-to-wrap-around` were inverted (just once). Close: #7218 Co-authored-by: agzam <agzam@users.noreply.github.com>
This commit is contained in:
parent
2cb8328f68
commit
04efd82590
2 changed files with 30 additions and 11 deletions
|
@ -12,6 +12,9 @@ Set this to `nil' to disable universal-repeating on these keys.")
|
|||
"If non-nil, the o/O keys will continue comment lines if the point is on a
|
||||
line with a linewise comment.")
|
||||
|
||||
(defvar +evil-want-move-window-to-wrap-around nil
|
||||
"If non-nil, `+evil/window-move-*' commands will wrap around.")
|
||||
|
||||
(defvar +evil-preprocessor-regexp "^\\s-*#[a-zA-Z0-9_]"
|
||||
"The regexp used by `+evil/next-preproc-directive' and
|
||||
`+evil/previous-preproc-directive' on ]# and [#, to jump between preprocessor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue