editor/evil: fix typo in +evil-window-split-and-follow
And conform these commands to naming conventions.
This commit is contained in:
parent
27d3e73fb7
commit
2a4509c42a
2 changed files with 6 additions and 6 deletions
|
@ -93,15 +93,15 @@ the only window, use evil-window-move-* (e.g. `evil-window-move-far-left')."
|
|||
(interactive) (+evil--window-swap 'down))
|
||||
|
||||
;;;###autoload
|
||||
(defun +evil-window-split-and-follow ()
|
||||
(defun +evil/window-split-and-follow ()
|
||||
"Split current window horizontally, then focus new window.
|
||||
If `evil-split-window-right' is non-nil, the new window isn't focused."
|
||||
If `evil-vsplit-window-right' is non-nil, the new window isn't focused."
|
||||
(interactive)
|
||||
(let ((evil-vsplit-window-right (notevil-vsplit-window-right )))
|
||||
(let ((evil-vsplit-window-right (not evil-vsplit-window-right)))
|
||||
(call-interactively #'evil-window-split)))
|
||||
|
||||
;;;###autoload
|
||||
(defun +evil-window-vsplit-and-follow ()
|
||||
(defun +evil/window-vsplit-and-follow ()
|
||||
"Split current window vertically, then focus new window.
|
||||
If `evil-split-window-below' is non-nil, the new window isn't focused."
|
||||
(interactive)
|
||||
|
|
|
@ -531,8 +531,8 @@ directives. By default, this only recognizes C directives.")
|
|||
"C-l" #'evil-window-right
|
||||
"C-w" #'other-window
|
||||
;; Extra split commands
|
||||
"S" #'+evil-window-split-and-follow
|
||||
"V" #'+evil-window-vsplit-and-follow
|
||||
"S" #'+evil/window-split-and-follow
|
||||
"V" #'+evil/window-vsplit-and-follow
|
||||
;; Swapping windows
|
||||
"H" #'+evil/window-move-left
|
||||
"J" #'+evil/window-move-down
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue