org capture 如何跳到我的笔记目录下?而不是单个文件

org capture 如何跳转到我的笔记根目录下,而不是一个文件?这样我就可以在进入不同的笔记目录文件下,添加笔记。

这样的话,你可以直接设置跳转到你的笔记目录的快捷键,没有必要用org capture了。org capture的作用本来就是根据你设置的不同模板输入对应的笔记内容。

;;参考 f1 打开init.el配置文件

(defun open-my-init-file()

(interactive)

(find-file “~/.emacs.d/init.el”))

(global-set-key (kbd “<f1>”) 'open-my-init-file)

(defun mp-org/new-org-buffer-in-dropdire ()
  "Create a new buffer then init by mrg."
  (interactive)
  (let ((ξbuf (generate-new-buffer "Dropbox org buffer")))
    (switch-to-buffer ξbuf))
  (org-mode)
  (setq default-directory notes-org-directory-path)
  )

这样? notes-org-directory-path 是你的笔记目录

修改 interactive ,使用 ivy/helm 选择文件夹路径,就能达到你想要的效果