Function: evil-window-vsplit
evil-window-vsplit is an interactive and byte-compiled function
defined in evil-commands.el.
Signature
(evil-window-vsplit &optional COUNT FILE)
Documentation
Split the current window vertically, COUNT columns width,
editing a certain FILE. The new window will be created to the
right when evil-vsplit-window-right is non-nil. If COUNT and
evil-auto-balance-windowsare both non-nil then all children
of the parent of the splitted window are rebalanced.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-commands.el
(evil-define-command evil-window-vsplit (&optional count file)
"Split the current window vertically, COUNT columns width,
editing a certain FILE. The new window will be created to the
right when `evil-vsplit-window-right' is non-nil. If COUNT and
`evil-auto-balance-windows'are both non-nil then all children
of the parent of the splitted window are rebalanced."
:repeat nil
(interactive "<wc><f>")
(select-window
(split-window (selected-window) (when count (- count))
(if evil-vsplit-window-right 'right 'left)))
(when (and (not count) evil-auto-balance-windows)
(balance-windows (window-parent)))
(when file
(evil-edit file)))