summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--custom/jao-custom-programming.el5
-rw-r--r--init.el17
2 files changed, 11 insertions, 11 deletions
diff --git a/custom/jao-custom-programming.el b/custom/jao-custom-programming.el
index ed62b32..b1f494a 100644
--- a/custom/jao-custom-programming.el
+++ b/custom/jao-custom-programming.el
@@ -268,8 +268,6 @@
(rustic-cargo-use-last-stored-arguments t)
(rustic-analyzer-command '("rustup" "run" "stable" "rust-analyzer")))
-
-
;;;; Clojure
(use-package clojure-mode
:ensure t
@@ -322,8 +320,7 @@
cider-use-fringe-indicators nil
cider-use-overlays nil
clojure-docstring-fill-column 72
- nrepl-prompt-to-kill-server-buffer-on-quit nil)
- :bind (("<f3>" . cider-selector)))
+ nrepl-prompt-to-kill-server-buffer-on-quit nil))
(with-eval-after-load "cider-test"
(advice-add 'cider-scale-background-color :override
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 "<f4>") #'jao-transient-utils)
;;; Global key bindings
(defun jao-global-keybindings ()