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
commitbdb82187ea3c40a6c3affc3b9501191d8b2ae58c (patch)
tree49bf5c6b09dfd5a3e9943a0d22271c10d773bcc4 /modules/external-open.el
parent7fb46d00ea95952ddb4c4eb42ae9deff2b20639a (diff)
downloaddotemacs-bdb82187ea3c40a6c3affc3b9501191d8b2ae58c.tar.gz
dotemacs-bdb82187ea3c40a6c3affc3b9501191d8b2ae58c.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 -------------------