aboutsummaryrefslogtreecommitdiff
path: root/tests/test-integration-buffer-diff.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-27 15:08:52 -0500
committerCraig Jennings <c@cjennings.net>2026-05-27 15:08:52 -0500
commitc314db4c9581d1d85a8069e9375995240b89c7a2 (patch)
treeee90e3155dccb6b77cd137af29c1530d1130ed4a /tests/test-integration-buffer-diff.el
parenta371e72e0278cb238efb97f2127d9bc1928af2e5 (diff)
downloaddotemacs-c314db4c9581d1d85a8069e9375995240b89c7a2.tar.gz
dotemacs-c314db4c9581d1d85a8069e9375995240b89c7a2.zip
feat(org): open file links in the same window on shift/right-click
Plain left-click on an Org file link keeps org's default of opening in the other window. I added S-mouse-1 and mouse-3 as a second gesture that opens the file link in the current window instead, for when I want the file to replace the buffer the link sits in. The bindings live in org-mouse-map, the keymap org attaches to each link as a text property, rather than org-mode-map. That layer outranks both org-mode-map and the mouse-trap-mode emulation keymap, which otherwise swallows clicks in org buffers. Off a link the gesture does nothing, so a stray right-click is a silent no-op instead of a "No link found" error.
Diffstat (limited to 'tests/test-integration-buffer-diff.el')
0 files changed, 0 insertions, 0 deletions