I have tried doing this which I found in another StackExchange post but it doesn't work for me, is there another way to disable the mouse in spacemacs completely, I use evil mode, thanks.
Add the following to your
dotspacemacs-additional-packages '( disable-mouse )
And put the following in the
dotspacemacs/user-config section of your
That should disable the mouse for everything in Emacs.
I tried that on two different machines, mouse still works :( Apr 11, 2018 at 20:29
1In the terminal (
emacs -nw), I managed to do the trick by setting
dotspacemacs/user-config.– JirSep 19, 2018 at 16:02
@Ryan I have tried the above but mouse still works, something else must be missing or I'm doing something wrong. Oct 25, 2018 at 16:59
This finally worked for me:
(defun dotspacemacs/user-config () (xterm-mouse-mode 0) )I got this from: emacs.stackexchange.com/questions/21540/… Jan 19 at 15:01
dotspacemacs-additional-packagesand make sure you have
(global-disable-mouse-mode)in your configuration.