]> git.cworth.org Git - sup/commitdiff
default to fancy vi as editor unless is set (thanks to brian)
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Wed, 23 May 2007 18:01:15 +0000 (18:01 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Wed, 23 May 2007 18:01:15 +0000 (18:01 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@413 5c8cc53c-5e98-4d25-b20a-d8db53a31250

lib/sup.rb

index ea912f875bbc522c605cc0324a39cce74a788915..afd18dbe4fc29a7fe2eae84e80cc777a92837856 100644 (file)
@@ -159,7 +159,7 @@ else
         :signature => File.join(ENV["HOME"], ".signature")
       }
     },
-    :editor => ENV["EDITOR"] || "/usr/bin/vi",
+    :editor => ENV["EDITOR"] || "/usr/bin/vim -f -c 'setlocal spell spelllang=en_us' -c 'set filetype=mail'",
     :thread_by_subject => false,
   }
   begin