mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-24 17:50:15 +09:00
Add note for macOS terminals in docs
This commit is contained in:
@@ -73,6 +73,12 @@ You can also bind a key to execute a command in command mode (see
|
||||
}
|
||||
```
|
||||
|
||||
**Note for macOS**: By default, macOS terminals do not forward alt events and
|
||||
instead insert unicode characters. To fix this, do the following:
|
||||
|
||||
* iTerm2: select `Esc+` for `Left Option Key` in `Preferences->Profiles->Keys`.
|
||||
* Terminal.app: Enable `Use Option key as Meta key` in `Preferences->Profiles->Keyboard`.
|
||||
|
||||
Now when you press `Alt-p` the `pwd` command will be executed which will show
|
||||
your working directory in the infobar.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user