mirror of
https://github.com/larstvei/dot-emacs.git
synced 2024-11-26 07:28:31 +00:00
Compare commits
2 Commits
7f541be0ef
...
f4477217ec
Author | SHA1 | Date | |
---|---|---|---|
f4477217ec | |||
7951bbc451 |
33
init.org
33
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]]?
|
||||||
@ -1020,6 +1034,25 @@
|
|||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
** Org appear
|
||||||
|
|
||||||
|
Setting ~org-hide-emphasis-markers~ to ~t~ often makes it harder to edit markup
|
||||||
|
(i have found myself sometimes reverting to ~fundamental-mode~ because of
|
||||||
|
this). The package [[https://github.com/awth13/org-appear][org-appear]] automatically shows the hidden markup when the
|
||||||
|
cursor is on it.
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
|
||||||
|
(use-package org-appear
|
||||||
|
:hook (org-mode . org-appear-mode)
|
||||||
|
:config
|
||||||
|
(setq org-appear-autosubmarkers t
|
||||||
|
org-appear-autoentities t
|
||||||
|
org-appear-autolinks t
|
||||||
|
org-appear-inside-latex t))
|
||||||
|
|
||||||
|
#+end_src
|
||||||
|
|
||||||
** GitHub flavored markdown
|
** GitHub flavored markdown
|
||||||
|
|
||||||
I guess I have to include my (semi-abandoned) mode [[https://github.com/larstvei/ox-gfm][ox-gfm]] for exporting org
|
I guess I have to include my (semi-abandoned) mode [[https://github.com/larstvei/ox-gfm][ox-gfm]] for exporting org
|
||||||
|
Loading…
Reference in New Issue
Block a user