Skip to content

Instantly share code, notes, and snippets.

@c02y
Last active April 29, 2019 09:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save c02y/d809dc4342da9a3b20e41fe1560b2c71 to your computer and use it in GitHub Desktop.
Save c02y/d809dc4342da9a3b20e41fe1560b2c71 to your computer and use it in GitHub Desktop.
change the last line of C-w and C-x w to fix the problem when using for multiple blank lines(it will tab in only one blank line)
replace last line of C-w and C-x w to
(when (not (current-line-empty-p)) (indent-for-tab-command)))))
;; use different bullet for a sub-list
(setq org-list-demote-modify-bullet
'(("-" . "+") ("+" . "*") ("*" . "-") ("1." . "+") ("1)" . "+")
("a." . "-") ("a)" . "-") ("A." . "-") ("A)" . "-")))
;; Comment this line out, since it will cause the sub-list indentation problem,
;; the confliction of this with other config may cause the bug, not itself
;; (setq org-startup-indented t)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment