Skip to content

Commit

Permalink
add drag-stuff package
Browse files Browse the repository at this point in the history
  • Loading branch information
adasium committed Nov 27, 2024
1 parent 6fa25e2 commit e5c635f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 8 additions & 2 deletions doom/config.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
"<M-k>" #'drag-stuff-up
"<M-j>" #'drag-stuff-down
"<M-h>" #'drag-stuff-left
"<M-;>" #'drag-stuff-right))

(after! (:or evil evil-mc)
(map! :map evil-mc-key-map :nv "C-n" nil)
Expand Down
2 changes: 2 additions & 0 deletions doom/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,5 @@

(package! evil-textobj-line
:recipe (:host github :repo "emacsorphanage/evil-textobj-line" :files ("*.el" "dist")))

(package! drag-stuff)

0 comments on commit e5c635f

Please sign in to comment.