vim confused by \~/

Bug #1903057 reported by gregrwm
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vim
Unknown
Unknown
vim (Ubuntu)
New
Undecided
Unassigned

Bug Description

 $ cd
 $ mkdir \~
 $ echo content a>\~/a
 $ echo content b>b
 $ less \~/a b
:n
:e#
:q
 $ vim \~/a b
:n
:e#

less is not confused, but vim has forgotten where the first file was.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: vim 2:8.0.1453-1ubuntu1.3
ProcVersionSignature: Ubuntu 5.3.0-51.44~18.04.2-generic 5.3.18
Uname: Linux 5.3.0-51-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.14
Architecture: amd64
Date: Thu Nov 5 08:50:54 2020
InstallationDate: Installed on 2019-11-16 (354 days ago)
InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210)
ProcEnviron:
 LC_TIME=en_DK.utf8
 TERM=screen
 PATH=(custom, no user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: vim
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
gregrwm (gregrwm) wrote :
Revision history for this message
gregrwm (gregrwm) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.