From 3373b18f3537401ebdf09a017bd666a6def0830d Mon Sep 17 00:00:00 2001 From: jao Date: Sun, 23 Nov 2025 01:51:39 +0000 Subject: keybindings --- init.el | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'init.el') diff --git a/init.el b/init.el index 152eda9..8b4eb68 100644 --- a/init.el +++ b/init.el @@ -1603,8 +1603,8 @@ :init (setq forge-topic-list-limit (cons 100 -1) forge-pull-notifications nil) - :config (use-package embark-vc :ensure t) + :config :bind ((:map forge-topic-mode-map ("M-w" . copy-region-as-kill)))) ;;;; other git packages @@ -1926,7 +1926,8 @@ (global-set-key (kbd "s-f") #'jao-open-safari) ;; (global-set-key (kbd "s-n") #'jao-open-nnw) - (global-set-key (kbd "s-t") #'jao-open-telegram) + ;; (global-set-key (kbd "s-t") #'jao-open-telegram) + (global-set-key (kbd "s-t") #'eat) (defun jao-safari-internal-browse () (interactive) @@ -1936,10 +1937,10 @@ (transient-define-prefix jao-transient-utils () "Global operations." [["Notes" - ("nn" "create new note" jao-org-notes-create) - ("no" "open note" jao-org-notes-open) - ("nt" "open note by tags" jao-org-notes-consult-tags) - ("ng" "ripgrep notes" jao-org-notes-consult-ripgrep)] + ("n" "create new note" jao-org-notes-create) + ("/" "open note" jao-org-notes-open) + ("\\" "open note by tags" jao-org-notes-consult-tags) + ("N" "ripgrep notes" jao-org-notes-consult-ripgrep)] ["Documents" ("d" "go to doc" jao-select-pdf) ("o" "open doc" jao-open-doc) @@ -1948,7 +1949,8 @@ ("xn" "browse NNW article" jao-nnw-browse-current-article) ("xs" "browse safary article" jao-safari-internal-browse) ("xk" "open skim doc" jao-open-skim-doc-in-emacs) - ("xe" "choose an emoji" ns-do-show-character-palette)] + ("xe" "choose an emoji" ns-do-show-character-palette + :if display-graphic-p)] ["Blog" ("bn" "create post" jao-org-static-blog-create-new-post) ("bd" "create draft" jao-org-static-blog-create-new-draft) @@ -2023,6 +2025,7 @@ jao-kb-toggle :if jao-x11-p)]])) (global-set-key (kbd "s-w") #'jao-transient-utils) +(global-set-key (kbd "") #'jao-transient-utils) ;;; Global key bindings (defun jao-global-keybindings () -- cgit v1.2.3