vim can't expand buffer names after detaching/reattaching from a screen session
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vim |
Incomplete
|
Undecided
|
Unassigned | ||
vim (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
1 - Open an xterm
2 - open a screen with: screen
3 - open vim
4 - edit more than one file, with
:edit some_file
:edit some_other_file
5 - change buffer with :b some_f then type TAB key to expand the name.
works fine.
Then:
6 - detach screen with control+a control+d
7 - screen -r to reattach
8 - now change buffer with :b some_f then type TAB key: a ^ prints, but buffer names are not expanded any more.
The only known workaround:
:mksession!
:qa
vim -S Session.vim
i.e. relaunch vim with the previous open buffers.
Some information on my system:
Thinkpad T60p with FireGL 5050 using fglrx binary proprietary driver, and dist-upgraded to today 2008-02-21.
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
I can't verify this in Ubuntu 8.04.
Proposed sequence of commands (screen, vim, detach, reattach, completion) works fine and as expected for me.
DISTRIB_ID=Ubuntu RELEASE= 8.04 CODENAME= hardy DESCRIPTION= "Ubuntu 8.04.1"
DISTRIB_
DISTRIB_
DISTRIB_
$ vim --version
VIM - Vi IMproved 7.1 (2007 May 12, compiled Jan 31 2008 12:00:11)
Included patches: 1-138
Compiled by <email address hidden>
Huge version with GTK2-GNOME GUI.
Maybe close this bug?