diff options
| author | Thomas Ulmer <thomas.ulmer@redflagai.co> | 2025-06-03 14:00:23 -0700 |
|---|---|---|
| committer | Thomas Ulmer <thomas.ulmer@redflagai.co> | 2025-06-12 15:17:20 -0700 |
| commit | a2f3d65ef8824e231a8a4d4b3618762a5d40fde1 (patch) | |
| tree | 838009ffa9fc0321d7af68e508a9dc1ee2596ad3 /emacs/init.el | |
| parent | 984d22a87cddfc4e621f095dc036181a81b5579a (diff) | |
lsp and exwm multi-monitor fixes
Diffstat (limited to 'emacs/init.el')
| -rw-r--r-- | emacs/init.el | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/emacs/init.el b/emacs/init.el index 403feb2..30d7d54 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -456,7 +456,15 @@ the cyclic ordering. Don't involve windows that are dedicated." (use-package lsp-mode :commands (lsp) :init - (use-package lsp-haskell)) + (use-package lsp-haskell) + :custom + (lsp-completion-provider . :none) + :config + (defun corfu-lsp-setup () + (setq-local completion-styles '(orderless) + completion-category-defaults nil)) + (add-hook 'lsp-completion-mode-hook #'corfu-lsp-setup) + ) (use-package pyvenv) @@ -626,6 +634,7 @@ the cyclic ordering. Don't involve windows that are dedicated." (require 'exwm-xim) (require 'exwm-systemtray) (require 'exwm-manage) + (add-to-list 'exwm-manage-configurations '((equal exwm-class-name "Slack") managed t)) (use-package exwm-modeline) ;;(exwm-xim-mode 1) @@ -732,9 +741,7 @@ the cyclic ordering. Don't involve windows that are dedicated." ;; Bind "s-w" to window switcher ([?\M-W] . consult-buffer) ([?\M-o] . other-window) - - ;;fast workspace switch - ([?\M-O] . exwm-other-assigned-workspace) + ([?\M-O] . my/exwm-other-assigned-workspace) ([?\M-D] . my/dmenu) ([?\M-E] . my/browser) |
