mirror of
https://github.com/larstvei/dot-emacs.git
synced 2024-11-26 07:28:31 +00:00
Add move text
This commit is contained in:
parent
7f541be0ef
commit
7951bbc451
14
init.org
14
init.org
@ -845,6 +845,20 @@
|
|||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
* Move Text
|
||||||
|
|
||||||
|
For moving lines up and down, there is the appropriately named [Move
|
||||||
|
Text](https://github.com/emacsfodder/move-text) package.
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
|
||||||
|
(use-package move-text
|
||||||
|
:bind (:map custom-bindings-map
|
||||||
|
("C-M-<down>" . move-text-down)
|
||||||
|
("C-M-<up>" . move-text-up)))
|
||||||
|
|
||||||
|
#+end_src
|
||||||
|
|
||||||
* Lorem ipsum
|
* Lorem ipsum
|
||||||
|
|
||||||
Do you ever want to insert some [[https://en.wikipedia.org/wiki/Lorem_ipsum][Lorem ipsum]]?
|
Do you ever want to insert some [[https://en.wikipedia.org/wiki/Lorem_ipsum][Lorem ipsum]]?
|
||||||
|
Loading…
Reference in New Issue
Block a user