summaryrefslogtreecommitdiff
path: root/alot
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2011-10-19 15:03:25 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2011-10-19 15:03:25 +0100
commitd648b0f083500debe628d01ef52decc21943946b (patch)
tree034832ca48f0ee4763f385a1677d79304f451fc1 /alot
parent71148e3452154d45574d5dd7ae322ec8aa3f8099 (diff)
renamed option global.spawn_editor to editor_spawn
Diffstat (limited to 'alot')
-rw-r--r--alot/commands/globals.py2
-rw-r--r--alot/defaults/alot.rc5
2 files changed, 5 insertions, 2 deletions
diff --git a/alot/commands/globals.py b/alot/commands/globals.py
index 807bee69..cda492a0 100644
--- a/alot/commands/globals.py
+++ b/alot/commands/globals.py
@@ -172,7 +172,7 @@ class EditCommand(ExternalCommand):
if spawn != None:
self.spawn = spawn
else:
- self.spawn = settings.config.getboolean('general', 'spawn_editor')
+ self.spawn = settings.config.getboolean('general', 'editor_spawn')
if thread != None:
self.thread = thread
else:
diff --git a/alot/defaults/alot.rc b/alot/defaults/alot.rc
index 11149cde..4243e5f0 100644
--- a/alot/defaults/alot.rc
+++ b/alot/defaults/alot.rc
@@ -24,12 +24,15 @@ envelope_headers_blacklist = Content-Type,MIME-Version
# set terminal command used for spawning shell commands
terminal_cmd = x-terminal-emulator -e
+####################
+# EDITOR settings #
+####################
# editor command
editor_cmd = /usr/bin/vim -f -c 'set filetype=mail' +
editor_writes_encoding = UTF-8
# use terminal_command to spawn a new terminal for the editor?
-spawn_editor = False
+editor_spawn = False
# call editor in separate thread.
# in case your editor doesn't run in the same window as alot, setting true here