Update README.md
This commit is contained in:
@@ -627,9 +627,9 @@ To configure `corfu` and `cape`, add the following to `~/.emacs.d/post-init.el`:
|
|||||||
|
|
||||||
The **inhibit-mouse** package disables mouse input in Emacs.
|
The **inhibit-mouse** package disables mouse input in Emacs.
|
||||||
|
|
||||||
This package is useful for users who do not need the mouse:
|
This package is useful for users who want to disable the mouse to:
|
||||||
- To prevent accidental clicks or cursor movements that may unexpectedly change the cursor position.
|
- Prevent accidental clicks or cursor movements that may unexpectedly change the cursor position.
|
||||||
- To reinforce a keyboard-centric workflow by discouraging reliance on the mouse for navigation.
|
- Reinforce a keyboard-centric workflow by discouraging reliance on the mouse for navigation.
|
||||||
|
|
||||||
To configure **inhibit-mouse**, add the following to `~/.emacs.d/post-init.el`:
|
To configure **inhibit-mouse**, add the following to `~/.emacs.d/post-init.el`:
|
||||||
```emacs-lisp
|
```emacs-lisp
|
||||||
@@ -639,6 +639,8 @@ To configure **inhibit-mouse**, add the following to `~/.emacs.d/post-init.el`:
|
|||||||
(inhibit-mouse-mode))
|
(inhibit-mouse-mode))
|
||||||
```
|
```
|
||||||
|
|
||||||
|
NOTE: `inhibit-mouse-mode` allows users to disable and re-enable mouse functionality, giving them the flexibility to use the mouse when needed.
|
||||||
|
|
||||||
### How to configure straight.el?
|
### How to configure straight.el?
|
||||||
|
|
||||||
[Add the straight.el bootstrap code](https://github.com/radian-software/straight.el?tab=readme-ov-file#getting-started) to `~/.emacs.d/pre-init.el`:
|
[Add the straight.el bootstrap code](https://github.com/radian-software/straight.el?tab=readme-ov-file#getting-started) to `~/.emacs.d/pre-init.el`:
|
||||||
|
|||||||
Reference in New Issue
Block a user