aboutsummaryrefslogtreecommitdiff
path: root/modules/external-open.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-02-25 12:07:12 -0600
committerCraig Jennings <c@cjennings.net>2026-02-25 12:07:12 -0600
commitdcffb55bf9d2ac0fc63444220221691f21fb3891 (patch)
tree0a9be9c3c0dd73eb6b8ffaa189d088ba2e4d40d3 /modules/external-open.el
parent2ef797bedd0ac2a3184517a0be09618a9125f4b6 (diff)
downloaddotemacs-dcffb55bf9d2ac0fc63444220221691f21fb3891.tar.gz
dotemacs-dcffb55bf9d2ac0fc63444220221691f21fb3891.zip
feat(buffer): add open-with-default-app and open-with-program keybindings
Wire cj/xdg-open (C-; b o) and cj/open-this-file-with (C-; b O) into the buffer keymap. Fix xdg-open fallback to try buffer-file-name before dired context. Remove old C-c x o binding from external-open.
Diffstat (limited to 'modules/external-open.el')
-rw-r--r--modules/external-open.el7
1 files changed, 0 insertions, 7 deletions
diff --git a/modules/external-open.el b/modules/external-open.el
index 8c4db8104..71318e270 100644
--- a/modules/external-open.el
+++ b/modules/external-open.el
@@ -90,7 +90,6 @@
:group 'external-open)
;; ------------------------------- Open File With ------------------------------
-;; TASK: Add this to buffer custom functions
(defun cj/open-this-file-with (command)
"Open this buffer's file with COMMAND, detached from Emacs."
@@ -109,12 +108,6 @@
command (shell-quote-argument file))
nil 0)))))
-(keymap-global-set "C-c x o" #'cj/open-this-file-with)
-
-(with-eval-after-load 'which-key
- (which-key-add-key-based-replacements
- "C-c x" "external open menu"
- "C-c x o" "open file with"))
;; -------------------- Open Files With Default File Handler -------------------