[英]setting new shortcut for tag search on emacs org-mode
這可能很簡單,但是我已經嘗試了幾天,但沒有成功。 我有一個稱為:urgent:的標簽,可以通過以下方式訪問:
C-c / m urgent
問題是,我如何創建快捷方式來完成它,例如使用f9?
(defun hello-world ()
"My doc-string."
(interactive)
(org-tags-view nil "urgent"))
(global-set-key [f9] 'hello-world)
;; or, use the following form instead of the one immediately above:
;; (define-key global-map [f9] 'hello-world)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.