Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédente | |||
| vim [2018/07/16 10:28] – sasukelric | vim [2018/07/16 10:33] (Version actuelle) – sasukelric | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ===== VIM ===== | ===== VIM ===== | ||
| + | |||
| + | === Mouse === | ||
| + | |||
| + | Enable the use of the mouse. | ||
| + | (xterm, MS-DOS, Win32 |win32-mouse|, | ||
| + | sysmouse and Linux console with gpm). For using the mouse in the | ||
| + | GUI, see |gui-mouse|. | ||
| + | The mouse can be enabled for different modes: | ||
| + | n | ||
| + | v | ||
| + | i | ||
| + | c | ||
| + | h all previous modes when editing a help file | ||
| + | a all previous modes | ||
| + | r for |hit-enter| and |more-prompt| prompt | ||
| + | Normally you would enable the mouse in all four modes with: | ||
| + | :set mouse=a | ||
| + | When the mouse is not enabled, the GUI will still use the mouse for | ||
| + | modeless selection. | ||
| + | | ||
| + | |||
| + | Edit <sup> **/ | ||
| + | |||
| + | Change the line | ||
| + | < | ||
| + | if has(' | ||
| + | set mouse=a | ||
| + | endif | ||
| + | </ | ||
| + | to | ||
| + | < | ||
| + | if has(' | ||
| + | set mouse=r | ||
| + | endif | ||
| + | </ | ||
| === TIPS === | === TIPS === | ||