Restore default TAB behavior in Org mode
This commit is contained in:
parent
ee25d7c72d
commit
ab38e2384b
10
config.org
10
config.org
|
@ -8,6 +8,7 @@
|
||||||
- [[#lsp][LSP]]
|
- [[#lsp][LSP]]
|
||||||
- [[#rust][Rust]]
|
- [[#rust][Rust]]
|
||||||
- [[#cc][C/C++]]
|
- [[#cc][C/C++]]
|
||||||
|
- [[#org-mode][Org mode]]
|
||||||
|
|
||||||
* Misc
|
* Misc
|
||||||
|
|
||||||
|
@ -97,3 +98,12 @@ Setup the default format for C/C++ editing.
|
||||||
(setq c-basic-offset 2)
|
(setq c-basic-offset 2)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
* Org mode
|
||||||
|
|
||||||
|
Doom replaces the default tab behavior on headings, this restores the default
|
||||||
|
one. Taken from [[https://github.com/hlissner/doom-emacs/tree/develop/modules/lang/org#hacks][here]].
|
||||||
|
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(after! evil-org
|
||||||
|
(remove-hook 'org-tab-first-hook #'+org-cycle-only-current-subtree-h))
|
||||||
|
#+END_SRC
|
||||||
|
|
Loading…
Reference in a new issue