I'd like to completely disable my mouse in Spacemacs. Following the advice in this answer, I set up the following in my .spacemacs file as
(defun dotspacemacs/user-config () "Configuration function for user code. This function is called at the very end of Spacemacs initialization after layers configuration. You are free to put any user code." ;;(add-hook 'after-change-major-mode-hook 'fci-mode) (add-hook 'change-major-mode-after-body-hook 'fci-mode) (neotree-show) (with-eval-after-load FILE ;; don't jump the cursor around in the window on clicking (define-key evil-motion-state-map [down-mouse-1] 'silence) ;; also avoid any '<mouse-1> is undefined' when setting to 'undefined (define-key evil-motion-state-map [mouse-1] 'silence) ) )
I see this in the Help menu that
FILE is normally a feature name, but it can also be a file name, in case that file does not provide any feature.
But I'm not sure what value I should use here.