Get edit -w working