diff --git a/doom/config.el b/doom/config.el index f751bbb..7ecef06 100644 --- a/doom/config.el +++ b/doom/config.el @@ -116,8 +116,14 @@ type)) (map! :textobj "l" #'chom/textobj-inner-line #'chom/textobj-outer-line) -(map! :nvi "M-j" #'drag-stuff-down) -(map! :nvi "M-k" #'drag-stuff-up) +(use-package! drag-stuff + :defer t + :init + (map! :nvi + "" #'drag-stuff-up + "" #'drag-stuff-down + "" #'drag-stuff-left + "" #'drag-stuff-right)) (after! (:or evil evil-mc) (map! :map evil-mc-key-map :nv "C-n" nil) diff --git a/doom/packages.el b/doom/packages.el index 58c7231..af3bdf2 100644 --- a/doom/packages.el +++ b/doom/packages.el @@ -57,3 +57,5 @@ (package! evil-textobj-line :recipe (:host github :repo "emacsorphanage/evil-textobj-line" :files ("*.el" "dist"))) + +(package! drag-stuff)