Skip to content

Commit

Permalink
Make sure that vim is the default is nothing else is set
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip Borenstein committed Nov 22, 2010
1 parent b84997c commit d6e6317
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion vimfluence
Expand Up @@ -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"`
Expand Down

0 comments on commit d6e6317

Please sign in to comment.