From 4d9d04323eb3e3a79b0f73dfeae7081f66873ba4 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 2 Oct 2023 22:38:27 -0700 Subject: [PATCH] =?UTF-8?q?Change=20ace-link=20keybinding=20from=20?= =?UTF-8?q?=E2=80=98C-c=20C-o=E2=80=99=20to=20=E2=80=98C-S-e=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I was trying to think of a good keybinding that I would like, and then I remembered that kitty uses the ‘C-S-e’ keybinding and I've grown accustomed to it. --- oni-core.el | 4 ++-- oni-org/oni-org.el | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/oni-core.el b/oni-core.el index d57fac6..843efeb 100644 --- a/oni-core.el +++ b/oni-core.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2023.1002.222641 +;; Version: 2023.1002.223638 ;; Package-Requires: (oni-data-dir oni-embrace oni-hydra expand-region multiple-cursors gcmh diminish ws-butler which-key insert-char-preview mixed-pitch ace-window vertico marginalia orderless consult embark docstr mini-frame) ;; This program is free software; you can redistribute it and/or modify @@ -197,7 +197,7 @@ _s_: String list" (defun oni-core-set-ace-link-goto-addr-binding () "Set a key locally to open links using ‘ace-link’." - (local-set-key (kbd "C-c C-o") 'ace-link-addr)) + (local-set-key (kbd "C-S-e") 'ace-link-addr)) (add-hook 'goto-address-prog-mode-hook #'oni-core-set-ace-link-goto-addr-binding) diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el index 8890904..c82aea8 100644 --- a/oni-org/oni-org.el +++ b/oni-org/oni-org.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2023.1002.222539 +;; Version: 2023.1002.223815 ;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org org-bullets org-edna diminish all-the-icons olivetti form-feed org-pretty-table ob-async) ;; This program is free software; you can redistribute it and/or modify @@ -775,7 +775,7 @@ After running it once remove it from `org-capture-after-finalize-hook'." (define-key org-mode-map (kbd "C-c C-S-w") #'oni-org-refile-to-top) (with-eval-after-load 'ace-link - (define-key org-mode-map (kbd "C-c C-o") 'ace-link-org)) + (define-key org-mode-map (kbd "C-S-e") 'ace-link-org)) ;;; Export (require 'ox-html)