1
0
Fork 0

Change ace-link keybinding from ‘C-c C-o’ to ‘C-S-e’

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.
This commit is contained in:
Tom Willemse 2023-10-02 22:38:27 -07:00
parent e074e76f09
commit 4d9d04323e
2 changed files with 4 additions and 4 deletions

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; 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) ;; 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 ;; 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 () (defun oni-core-set-ace-link-goto-addr-binding ()
"Set a key locally to open links using ace-link." "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) (add-hook 'goto-address-prog-mode-hook #'oni-core-set-ace-link-goto-addr-binding)

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; 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) ;; 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 ;; 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) (define-key org-mode-map (kbd "C-c C-S-w") #'oni-org-refile-to-top)
(with-eval-after-load 'ace-link (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 ;;; Export
(require 'ox-html) (require 'ox-html)