diff options
author | Daniel <quite@hack.org> | 2012-03-15 12:01:32 +0100 |
---|---|---|
committer | Daniel <quite@hack.org> | 2012-03-15 12:01:32 +0100 |
commit | 90f59a228e461ec61631ed8c67625d018a5377fa (patch) | |
tree | 91e592f70926a99a4899954ad2e9f7c80e23e2a1 | |
parent | 0125134d9f2a59503b80169420618b809b84c31d (diff) |
bindings file becomes config.stub, with added contents
-rw-r--r-- | alot/defaults/config.stub (renamed from alot/defaults/bindings) | 27 | ||||
-rw-r--r-- | alot/settings/__init__.py | 2 |
2 files changed, 28 insertions, 1 deletions
diff --git a/alot/defaults/bindings b/alot/defaults/config.stub index a59ecb0c..c6619897 100644 --- a/alot/defaults/bindings +++ b/alot/defaults/config.stub @@ -1,3 +1,30 @@ + +# editor command +# if unset, alot will first try the EDITOR env variable, then file /usr/bin/editor +#editor_cmd = nano + + +#[accounts] + # your main email address +# address = me@example.com + + # used to format the (proposed) From-header in outgoing mails +# realname = string + + # used to clear your addresses/ match account when formatting replies +# aliases = string_list(default=list()) + + # where to store outgoing mails, e.g. `maildir:///home/you/mail//Sent` + # You can use mbox, maildir, mh, babyl and mmdf in the protocol part of the URL. +# sent_box = mail_container(default=None) + + # where to store draft mails, see :ref:`sent_box <sent-box>` for the format +# draft_box = mail_container(default=None) + + # list of tags to automatically add to outgoing messages +# sent_tags = string_list(default=list('sent')) + + [bindings] j = move down k = move up diff --git a/alot/settings/__init__.py b/alot/settings/__init__.py index ae174d09..38847951 100644 --- a/alot/settings/__init__.py +++ b/alot/settings/__init__.py @@ -95,7 +95,7 @@ class SettingsManager(object): pass else: raise - shutil.copyfile(os.path.join(DEFAULTSPATH, 'bindings'), path) + shutil.copyfile(os.path.join(DEFAULTSPATH, 'config.stub'), path) def _parse_accounts(self, config): """ |