💥 Move :private modules to :config
This commit is contained in:
parent
dfefbd0176
commit
6d7db48dc1
10 changed files with 101 additions and 38 deletions
|
@ -1,38 +0,0 @@
|
|||
;; private/default/autoload/evil.el -*- lexical-binding: t; -*-
|
||||
;;;###if (featurep! :feature evil)
|
||||
|
||||
;;;###autoload (autoload '+default:multi-next-line "private/default/autoload/evil" nil t)
|
||||
(evil-define-motion +default:multi-next-line (count)
|
||||
"Move down 6 lines."
|
||||
:type line
|
||||
(let ((line-move-visual (or visual-line-mode (derived-mode-p 'text-mode))))
|
||||
(evil-line-move (* 6 (or count 1)))))
|
||||
|
||||
;;;###autoload (autoload '+default:multi-previous-line "private/default/autoload/evil" nil t)
|
||||
(evil-define-motion +default:multi-previous-line (count)
|
||||
"Move up 6 lines."
|
||||
:type line
|
||||
(let ((line-move-visual (or visual-line-mode (derived-mode-p 'text-mode))))
|
||||
(evil-line-move (- (* 6 (or count 1))))))
|
||||
|
||||
;;;###autoload (autoload '+default:cd "private/default/autoload/evil" nil t)
|
||||
(evil-define-command +default:cd ()
|
||||
"Change `default-directory' with `cd'."
|
||||
(interactive "<f>")
|
||||
(cd input))
|
||||
|
||||
;;;###autoload (autoload '+default:kill-all-buffers "private/default/autoload/evil" nil t)
|
||||
(evil-define-command +default:kill-all-buffers (&optional bang)
|
||||
"Kill all buffers. If BANG, kill current session too."
|
||||
(interactive "<!>")
|
||||
(if bang
|
||||
(+workspace/kill-session)
|
||||
(doom/kill-all-buffers)))
|
||||
|
||||
;;;###autoload (autoload '+default:kill-matching-buffers "private/default/autoload/evil" nil t)
|
||||
(evil-define-command +default:kill-matching-buffers (&optional bang pattern)
|
||||
"Kill all buffers matching PATTERN regexp. If BANG, only match project
|
||||
buffers."
|
||||
(interactive "<a>")
|
||||
(doom/kill-matching-buffers pattern bang))
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue