Some language corrections, and more info about deleting characters from mutt aliases

This commit is contained in:
Trey Blancher 2023-04-30 17:25:05 -04:00
parent 8d750eea1d
commit 1b5a1c7c41
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ As of this writing (2023-04-30), this has only been tested in Vim v9, but is als
\ 'completor': function('asyncomplete#sources#muttgoobook#completor'),
\ })
```
If you have other file types to use this plugin, you may add them to the `allowlist` above.
If you want to have other file types to use this plugin, you may add them to the `allowlist` above.
1. By default, this plugin tries to determine if the cursor is in an email address field ('From:', 'To:', 'Cc:', 'Bcc:', in English). The matching is case-insensitive. If you use another language, that names these fields differently, you can modify this in $MYVIMRC by adding the `g:muttgoobook_address_fields` global variable. This is designed to be a Vim regular expression, replace `['from', 'to', 'b\?cc']` accordingly:
```
@ -40,7 +40,7 @@ As of this writing (2023-04-30), this has only been tested in Vim v9, but is als
```
let g:mutt_aliases = '~/.mutt/aliases'
```
Again, what appears above is the default if not set explicitly to something else. Any double-quotes (`"`) and backslashes (`\`) in the mutt aliases file will be removed.
Again, what appears above is the default if not set explicitly to something else. Any double-quotes (`"`) and backslashes (`\`) in the mutt aliases file will be removed before pasting the results of the completion to the currently edited mail file.
## TODO
* possibly set up some kind of trigger to post an email address from the mutt aliases file or Google Contacts, within the body of the message.