Keybind for connecting in the wifi list

This commit is contained in:
BirDt_ 2026-03-19 22:56:59 +08:00
parent 1f9ad98d6a
commit a75f9188f6

View file

@ -39,7 +39,10 @@
(use-package nm (use-package nm
:straight (nm :type git :host github :repo "theesfeld/nm") :straight (nm :type git :host github :repo "theesfeld/nm")
:ensure t) :ensure t
:config
(add-hook 'nm-ui-wifi-list-mode-hook (lambda ()
(define-key nm-ui-wifi-list-mode-map (kbd "RET") 'nm-ui-wifi-list-connect))))
(use-package bluetooth (use-package bluetooth
:straight (bluetooth :type git :host github :repo "emacsmirror/bluetooth") :straight (bluetooth :type git :host github :repo "emacsmirror/bluetooth")