Skip to content

Commit

Permalink
C-Click to jump to definition (C-S-Click for multiple cursors)
Browse files Browse the repository at this point in the history
  • Loading branch information
Archenoth committed Feb 13, 2025
1 parent 361fa9e commit 43d59ca
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Archemacs.org
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,9 @@ Here are a bunch of things that I find handy universally. Which means most of th
(with-eval-after-load 'dired
(define-key dired-mode-map (kbd "<mouse-2>") 'dired-mouse-find-file))

;; Ctrl + Click for jump to definition is nice!
(global-set-key (kbd "C-<mouse-1>") 'xref-find-definitions-at-mouse)

;; Save my minibuffer history between sessions plz
(savehist-mode 1)
#+end_src
Expand Down Expand Up @@ -463,7 +466,7 @@ This adds multiple-cursor bindings similar to other editors that I find pretty h
:bind (("C-d" . mc/mark-next-like-this)
("C-M-<up>" . mc/mmlte--up)
("C-M-<down>" . mc/mmlte--down)
("C-<down-mouse-1>" . mc/add-cursor-on-click)))
("C-S-<mouse-1>" . mc/add-cursor-on-click)))
#+end_src

** Org Mode
Expand Down

0 comments on commit 43d59ca

Please sign in to comment.