aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarstrom <john@ankarstrom.se>2021-06-30 17:36:27 +0200
committerJohn Ankarstrom <john@ankarstrom.se>2021-06-30 17:36:27 +0200
commitcf19637336ad36f6e58519c2696742c079e6bbf8 (patch)
tree8c0026a8042adc489f3ab0c255b80d2731831970
parent54d3295876af4709245b2e75776d61d18d6d921b (diff)
downloaddwim-cf19637336ad36f6e58519c2696742c079e6bbf8.tar.gz
Open vi with UTF-8 encoding
-rwxr-xr-xdwim2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwim b/dwim
index f15a2df..5ace0a6 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, '-putf8', 'vi');
my @PDF_VIEWER = ('xpdf');
my @MAN_VIEWER = (@OPENER, 'man');
my @MAILER = (@OPENER, 'mutt');