Permalink
Browse files

Make sure that vim is the default is nothing else is set

  • Loading branch information...
1 parent b84997c commit d6e6317fcabe2af365cc0282571f5861f7f48fd8 Philip Borenstein committed Nov 22, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 README
  2. +1 −1 vimfluence
View
@@ -1,4 +1,4 @@
-Vimfluence - Edit Confluence with Vim
+Vimfluence - Edit Confluence with Vim (or some other editor)
Free yourself from the shackles of WYSIWYG and TextArea wiki editors. Reach
unheralded levels of productivity by editing your Confluence wiki with the
View
@@ -13,7 +13,7 @@ use URI::Split qw( uri_split uri_join );
my ($wiki_url, $space, $title, $editor);
-$editor = $ENV{WIKI_EDITOR} || $ENV{VISUAL} || $ENV{EDITOR};
+$editor = $ENV{WIKI_EDITOR} || $ENV{VISUAL} || $ENV{EDITOR} || "vim +\"set ft=confluencewiki\"";
if ($#ARGV == 1) {
# `WIKI_URL=... vimfluence SPACE "PAGE NAME"`

0 comments on commit d6e6317

Please sign in to comment.