diff options
author | Case Duckworth | 2021-12-30 12:27:55 -0600 |
---|---|---|
committer | Case Duckworth | 2021-12-30 12:27:55 -0600 |
commit | f6103b68d5430251028a615c51bd97c0f5b452f6 (patch) | |
tree | 1207dead5d78b69a51437e2ff621b4d55a8a01ef /init.el | |
parent | Move yank-indent advice to +emacs.el (diff) | |
download | emacs-f6103b68d5430251028a615c51bd97c0f5b452f6.tar.gz emacs-f6103b68d5430251028a615c51bd97c0f5b452f6.zip |
Add mouse context-menu-mode config
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/init.el b/init.el index 6e45383..925dc87 100644 --- a/init.el +++ b/init.el | |||
@@ -328,6 +328,16 @@ | |||
328 | (:with-map minibuffer-local-map | 328 | (:with-map minibuffer-local-map |
329 | (:bind "M-/" #'+minibuffer-complete-history))) | 329 | (:bind "M-/" #'+minibuffer-complete-history))) |
330 | 330 | ||
331 | (setup mouse | ||
332 | ;; Brand new for Emacs 28: see https://ruzkuku.com/texts/emacs-mouse.html | ||
333 | (when (fboundp 'context-menu-mode) | ||
334 | ;; (:option context-menu-functions | ||
335 | ;; '(context-menu-ffap | ||
336 | ;; context-menu-region | ||
337 | ;; context-menu-undo | ||
338 | ;; context-menu-dictionary)) | ||
339 | (context-menu-mode +1))) | ||
340 | |||
331 | (setup org-agenda | 341 | (setup org-agenda |
332 | (:option org-agenda-skip-deadline-if-done t) | 342 | (:option org-agenda-skip-deadline-if-done t) |
333 | (:+leader "a" #'org-agenda "C-a" #'org-agenda)) | 343 | (:+leader "a" #'org-agenda "C-a" #'org-agenda)) |
@@ -361,6 +371,11 @@ | |||
361 | (:face aw-mode-line-face ((t (:foreground "red")))) | 371 | (:face aw-mode-line-face ((t (:foreground "red")))) |
362 | (+ace-window-display-mode +1)) | 372 | (+ace-window-display-mode +1)) |
363 | 373 | ||
374 | (setup (:straight (actually-selected-window | ||
375 | :host github | ||
376 | :repo "duckwork/actually-selected-window.el")) | ||
377 | (actually-selected-window-mode +1)) | ||
378 | |||
364 | (setup (:straight anzu) | 379 | (setup (:straight anzu) |
365 | (:option anzu-cons-mode-line-p nil) | 380 | (:option anzu-cons-mode-line-p nil) |
366 | (:+key [remap query-replace] #'anzu-query-replace-regexp | 381 | (:+key [remap query-replace] #'anzu-query-replace-regexp |
@@ -1050,8 +1065,3 @@ See also `crux-reopen-as-root-mode'." | |||
1050 | (interactive "P") | 1065 | (interactive "P") |
1051 | (call-interactively | 1066 | (call-interactively |
1052 | (if prefix #'zzz-up-to-char #'zzz-to-char))))) | 1067 | (if prefix #'zzz-up-to-char #'zzz-to-char))))) |
1053 | |||
1054 | (setup (:straight (actually-selected-window | ||
1055 | :host github | ||
1056 | :repo "duckwork/actually-selected-window.el")) | ||
1057 | (actually-selected-window-mode +1)) | ||