about summary refs log tree commit diff stats
path: root/config
Commit message (Collapse)AuthorAgeFilesLines
* Add quotes to the default pinned-tab-markerZoltan Kalmar2020-03-131-1/+1
| | | | | | | | | | It's a fix for: https://todo.sr.ht/~sircmpwn/aerc2/361 Using an unquoted backtick char is leading to a config error: ``` Failed to load config: missing closing key quote from '` ' to '' ```
* Add pinned tabsJeffas2020-03-092-0/+7
| | | | | | This adds the commands pin-tab and unpin-tab. Once pinned a tab lives on the left of the tabstrip and has a configurable marker, defaulting to ` before its name.
* config: Strongly type context typeReto Brunner2020-01-241-4/+7
| | | | | | | | The go compiler can't help much with untyped int constants. Even though the only valid constants are 0-3 it will happily accept 4 as input. Let's let the go compiler worry about correctness here. This also allows people not very familiar with the code to use it properly via auto completion.
* Contextual UI ConfigurationSrivathsan Murali2020-01-241-10/+100
| | | | | | | | | + Adds parsing of contextual ui sections to aerc config. + Add GetUiConfig method for AercConfig that is used to get the specialized UI config. + Add UiConfig method to AccountView to get specialized UI Config. + Modifies Aerc codebase to use specialized UIConfig instead. + Adds documentation for Contextual UI Configuration
* Fix handling of multiple template-dirsBen Burwell2020-01-241-3/+3
| | | | | | | | Before, while the docs stated that template-dirs was a colon-separated list, a delimiter was not specified in the struct tag, so it was falling back to the default for the ini library (a comma). Also added a note to the docs to clarify that templates are configured in the [templates] section.
* binds.conf: mark bindingsReto Brunner2019-12-211-0/+3
|
* msglist: highlight marked messagesReto Brunner2019-12-212-2/+2
| | | | | | Note that, until we get color configuration, this means that the user *must* have the %Z verb in the index format else it'll be horribly confusing as no visual indication is provided
* Add address book completion in composerBen Burwell2019-12-212-2/+15
| | | | | Complete email address fields in the message composer with an external address book command, compatible with mutt's query_cmd.
* Show textinput completions in popoversBen Burwell2019-12-212-15/+31
| | | | | | Rather than showing completions inline in the text input, show them in a popover which can be scrolled by repeatedly pressing the tab key. The selected completion can be executed by pressing enter.
* Add custom sorting for foldersMichele Finotto2019-12-091-0/+1
| | | | | | | | | | | | | | A new config options for accounts.conf (folders-sort) was added to allow a user to choose which folders should be shown on top. My use case was to avoid stepping into heavy, but rarely viewed folders when cycling through other often accessed ones. To test add this to your account.conf: folders-sort = INBOX,Sent,Archive INBOX, Sent and Archive should then show at the top of your dirlist, and all other folders should come next in alphabetical order.
* Complete the F rune.Srivathsan Murali2019-11-171-1/+3
| | | | | %F now shows the auth name or recepient name/address if the message is from you.
* Add some defaults for template optionsDrew DeVault2019-11-101-1/+9
|
* Add Templates with ParsingSrivathsan Murali2019-11-102-10/+56
| | | | | | | | | | | | | | | + Changes NewComposer to return error. + Add lib to handle templates using "text/template". + Add -T option to following commands - compose. - reply - forward + Quoted replies using templates. + Forwards as body using templates + Default templates are installed similar to filters. + Templates Config in aerc.conf. - Required templates are parsed while loading config. + Add aerc-templates.7 manual for using template data.
* Config for deleting message from message viewerSrivathsan Murali2019-09-202-24/+31
| | | | | As suggested in #268, this adds a behaviour setting for deleting message from message viewer.
* Add documentation for sortJeffas2019-09-201-0/+9
| | | | This adds documentation for the config option and the command.
* Add sorting functionalityJeffas2019-09-201-0/+1
| | | | | | | | There is a command and config option. The criteria are a list of the sort criterion and each can be individually reversed. This only includes support for sorting in the maildir backend currently. The other backends are not supported in this patch.
* Add signaturesJeffas2019-09-121-0/+2
| | | | | | | | | | | | | This adds the ability for per-account signatures in the accounts.conf config file. The signature is added to emails in the editor at the bottom of the email. This includes when forwarding, replying to, and composing emails. There are two config options: signature-file and signature-cmd. The former allows a signature to be read from a file and the latter allows an arbitrary command to be executed to return the signature. The config options have been documented in aerc-config
* Add display of unread messages in dirlistJeffas2019-09-112-3/+9
| | | | | | | Add an onUpdateDirs handler. This is used to invalidate the dirlist and redraw with the correct number of recent/unread/total messages is shown. A config option and formatting options are provided.
* all: use fmt.Errorf for fomartting errorsWagner Riffel2019-09-041-1/+1
| | | | Signed-off-by: Wagner Riffel <wgrriffel@gmail.com>
* Allow custom spinner via config filePaul Spooren2019-08-301-0/+5
| | | | | | | | | | | Allows to set `ui.spinner=` to a string which is then split by `ui.spinner-delimiter=` (Default: comma) instead of having a hard coded animation. This implementation doesn't use INIs capabilities to split strings as it trims whitespaces breaking the default animation. Signed-off-by: Paul Spooren <mail@aparcar.org>
* Pass os stdin to credential commandJonas Mueller2019-08-121-0/+1
| | | | | This is neccessary for `gpg-agent` to display a prompt and get the key to unlock a given password. See https://todo.sr.ht/~sircmpwn/aerc2/250.
* Ring bell when new messages arrive 0.2.0Ben Burwell2019-07-292-0/+8
| | | | | | | | Add a "new-message-bell" option to the UI section of aerc.conf. A new hook into the message store allows the msglist widget to detect new messages being added to the displayed list. When new messages are delivered, and the new-message-bell option is enabled (as it is by default), the terminal will beep.
* Print errors from config load issues.Reto Brunner2019-07-291-3/+3
| | | | | | Currently we /dev/null stdout, if it is a tty. The checkConfigPerms function, as well as the error print were incorrectly writing to stdout and therefore weren't visible to most users.
* Support configurable header layout in compose widgetDaniel Bridges2019-07-262-1/+22
|
* Add new-email triggerJeffas2019-07-263-0/+71
| | | | | | | | | | | | | | | | | This patch sets up the trigger config section of aerc.conf. Each trigger has its own function which is called from the place where it is triggered. Currently only the new-email trigger is implemented. The triggers make use of format strings. For instance, in the new-email trigger this allows the user to select the trigger command and also the information extracted from the command and placed into their command. To actually execute the trigger commands the keypresses are simulated. Further triggers can be implemented in the future. Formatting of the command is moved to a new package.
* Implement :filter, :clearKevin Kuehler2019-07-191-0/+1
| | | | Signed-off-by: Kevin Kuehler <keur@ocf.berkeley.edu>
* Change default attach keybindingDrew DeVault2019-07-191-1/+1
|
* Add :cp alias for :copyDrew DeVault2019-07-171-2/+2
|
* Add option to always show mimetype in viewerJeffas2019-07-172-4/+10
| | | | | | | | | | A user may want to be able to see what mimetype they are viewing, so that they can determine what program it may be opened in or for some other reason. The config option is under the [viewer] section and is called 'always-show-mime'. It defaults to false to preserve the current behaviour.
* Display user specified headers in viewer if presentDaniel Bridges2019-07-172-1/+33
|
* Add MouseEnabled config settingJeffas2019-07-172-0/+7
| | | | | This patch adds the ability to control whether aerc captures mouseevents or not. By default it will be set to not capture events.
* lowercase all key bindingsReto Brunner2019-07-171-32/+32
|
* 71: Allow user to change config options at runtimePedro L. Ramos2019-07-151-50/+59
| | | | | | | | | There is a LoadConf and a LoadConfFromFile. LoadConfFromFile reads the iniFile into memory and and calls LoadConf, which executes the old parsing commands from LoadConf (old func). The remaining of the LoadConfFromFile is the same as the old OldConf.
* Don't bind $noinheritEyal Sawady2019-07-111-0/+1
| | | | | | Fixes #112 Signed-off-by: Eyal Sawady <eyalsawady@gmail.com>
* Document message index format specifiersBen Burwell2019-07-041-1/+1
|
* Update binds.confDrew DeVault2019-07-041-2/+2
|
* Correct default filter order in aerc.conf.inDrew DeVault2019-07-021-1/+1
|
* Implement :search, :next-result, :prev-resultDrew DeVault2019-06-261-0/+4
|
* add DefaultSavePath configReto Brunner2019-06-251-0/+10
|
* Fix reply bindings in [view]Drew DeVault2019-06-191-4/+4
|
* Set empty message in dirlist if no folder exist.Reto Brunner2019-06-142-0/+7
|
* Make awk filters more portableDrew DeVault2019-06-131-2/+2
|
* Add :next/:prev binds for [viewer]Drew DeVault2019-06-111-4/+8
|
* Override $ex in compose viewYash Srivastav2019-06-091-0/+1
|
* Add archive commandRobert Günzler2019-06-092-0/+6
| | | | | | | | | | | | | | | Adds an archive command that moves the current message into the folder specified in the account config entry. Supports three layouts at this point: - flat: puts all messages next to each other - year: creates a folder per year - month: same as above, plus folders per month This also adds a "-p" argument to "cp" and "mv" that works like "--parents" on mkdir(1). We use this to auto-create the directories for the archive layout.
* Message list: implement index-format optionYash Srivastav2019-06-072-6/+6
|
* Rewrite Python filters in awkDrew DeVault2019-06-071-2/+2
|
* Add image/* filter, commented out by defaultDrew DeVault2019-06-071-0/+1
|
* Disable HTML filter by defaultDrew DeVault2019-06-071-1/+1
|
* Add binding to toggle headersDrew DeVault2019-06-071-0/+1
|