before upgrade
This commit is contained in:
18
.spacemacs
18
.spacemacs
@@ -683,6 +683,7 @@ before packages are loaded."
|
||||
(global-set-key (kbd "<f9> s") 'jp/set-dotfiles-environment)
|
||||
(global-set-key (kbd "<f9> u") 'jp/unset-dotfiles-environment)
|
||||
|
||||
|
||||
(defun jp/set-scm-git()
|
||||
(interactive)
|
||||
(setq magit-git-executable "/usr/local/bin/scm-git"))
|
||||
@@ -708,6 +709,23 @@ before packages are loaded."
|
||||
;; test from https://superuser.com/questions/452649/org-mode-to-markdown-converter
|
||||
(require 'ox-md nil t)
|
||||
|
||||
|
||||
|
||||
;; org mode should not use tabs
|
||||
;; work-around for 'tab width in org files must be 8, not 2. please adjust your tab-width settings for org mode'
|
||||
|
||||
(defun jp/org-mode-tab-setup ()
|
||||
;; Don't use real TAB characters in Org
|
||||
(setq-local indent-tabs-mode nil)
|
||||
;; But keep tab-width at 8 so Org's parser is happy
|
||||
(setq-local tab-width 8))
|
||||
|
||||
(add-hook 'org-mode-hook #'pn/org-mode-tab-setup)
|
||||
|
||||
;; end of tabs work-around
|
||||
|
||||
|
||||
|
||||
(setq org-directory "~/Documents/org")
|
||||
(setq org-default-notes-file "~/Documents/org/inbox.org")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user