mirror of
https://codeberg.org/scip/dot-emacs.git
synced 2025-12-17 12:30:59 +01:00
revert last change, not needed, M-<left|right> already does the job
This commit is contained in:
@@ -192,8 +192,8 @@ down and unfold it, otherwise jump paragraph as usual."
|
|||||||
(local-set-key (kbd "<C-down>") 'tvd-org-heading-down)
|
(local-set-key (kbd "<C-down>") 'tvd-org-heading-down)
|
||||||
|
|
||||||
;; move word left or heading up, depending where point is
|
;; move word left or heading up, depending where point is
|
||||||
(local-set-key (kbd "<C-right>") 'tvd-org-demote-heading)
|
;; (local-set-key (kbd "<C-right>") 'tvd-org-demote-heading)
|
||||||
(local-set-key (kbd "<C-left>") 'tvd-org-promote-heading)
|
;; (local-set-key (kbd "<C-left>") 'tvd-org-promote-heading)
|
||||||
|
|
||||||
;; use nicer bullets
|
;; use nicer bullets
|
||||||
(when (fboundp 'org-bullets-mode)
|
(when (fboundp 'org-bullets-mode)
|
||||||
@@ -218,7 +218,7 @@ down and unfold it, otherwise jump paragraph as usual."
|
|||||||
(global-set-key (kbd "C-n") (lambda () (interactive) (org-capture)))
|
(global-set-key (kbd "C-n") (lambda () (interactive) (org-capture)))
|
||||||
|
|
||||||
;; must be global since code edit sub buffers run their own major mode, not org
|
;; must be global since code edit sub buffers run their own major mode, not org
|
||||||
(global-set-key (kbd "C-c C-#") 'org-edit-src-exit)
|
(global-set-key (kbd "C-c C-#") 'org-edit-src-exit))
|
||||||
|
|
||||||
;; some org mode vars must be set globally
|
;; some org mode vars must be set globally
|
||||||
(setq org-default-notes-file tvd-org-file
|
(setq org-default-notes-file tvd-org-file
|
||||||
@@ -254,7 +254,7 @@ down and unfold it, otherwise jump paragraph as usual."
|
|||||||
(set-face-attribute 'fringe nil :background tvd-fringe-narrow-bg)))
|
(set-face-attribute 'fringe nil :background tvd-fringe-narrow-bg)))
|
||||||
|
|
||||||
;; I hate fundamental mode!
|
;; I hate fundamental mode!
|
||||||
(setq default-major-mode 'org-mode))
|
(setq default-major-mode 'org-mode)
|
||||||
|
|
||||||
|
|
||||||
(provide 'init-org)
|
(provide 'init-org)
|
||||||
|
|||||||
Reference in New Issue
Block a user