aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-29 19:06:01 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-29 19:06:01 +0200
commit15400ceb3d746eb90d47c2ca82e48a9a0264ccfd (patch)
tree83f3941613def25e0328c82553d667d2b2c3dae3
parentc0044f47f9e70067b05894280e2c231a35096bda (diff)
downloaddwim-15400ceb3d746eb90d47c2ca82e48a9a0264ccfd.tar.gz
Open vi with ISO8859-1 encoding
-rwxr-xr-xdwim2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwim b/dwim
index b171ee6..429ad14 100755
--- a/dwim
+++ b/dwim
@@ -8,7 +8,7 @@ use strict;
use subs qw/dir dirname env fail handle path run/;
my @OPENER = ('xtopen');
-my @EDITOR = (@OPENER, 'vi');
+my @EDITOR = (@OPENER, '-i', 'vi');
my @PDF_VIEWER = ('xpdf');
my @MAN_VIEWER = (@OPENER, 'man');
my @MAILER = (@OPENER, 'mutt');