summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/km-ido.el2
-rw-r--r--init/km-org.el17
2 files changed, 6 insertions, 13 deletions
diff --git a/init/km-ido.el b/init/km-ido.el
index d06163c..7f31ed2 100644
--- a/init/km-ido.el
+++ b/init/km-ido.el
@@ -7,6 +7,8 @@
ido-max-prospects 10
ido-save-directory-list-file "~/.emacs.d/cache/ido.hist")
+(setq ido-max-directory-size 100000)
+
;; recent files
(setq recentf-save-file "~/.emacs.d/cache/recentf"
recentf-max-saved-items 200
diff --git a/init/km-org.el b/init/km-org.el
index fdb9a14..62749a6 100644
--- a/init/km-org.el
+++ b/init/km-org.el
@@ -77,26 +77,17 @@
(setq org-cycle-separator-lines 1)
+
+;;;; Refile settings
+
;; from http://doc.norang.ca/org-mode.html
(setq org-refile-targets (quote ((nil :maxlevel . 3)
(km/org-refiling-targets :maxlevel . 2))))
-;; Stop using paths for refile targets - we file directly with IDO
-(setq org-refile-use-outline-path nil)
-
-;; Targets complete directly with IDO
+;; use IDO for refiling
(setq org-outline-path-complete-in-steps nil)
-
-;; Allow refile to create parent tasks with confirmation
-(setq org-refile-allow-creating-parent-nodes (quote confirm))
-
-;; Use IDO for both buffer and file completion and ido-everywhere to t
(setq org-completion-use-ido t)
-(setq ido-everywhere t)
-(setq ido-max-directory-size 100000)
-(ido-mode (quote both))
-;;;; Refile settings
;; Exclude DONE state tasks from refile targets
(defun km/verify-refile-target ()
"Exclude todo keywords with a done state from refile targets"