[edgy] command tab-completion broken in vim

Bug #63448 reported by Marius Gedminas
6
Affects Status Importance Assigned to Milestone
vim (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

If you want to, say, filter a number of lines through an external command, you do :!command-name. If command-name is something like ~/bin/myscript.py, I cannot use <tab> to complete the script name.

This is a regression from vim 6.4 in dapper. It is also fixed upstream in patch 7.0.081 (edgy has 7.0.035; upstream is now up to 7.0.110).

Revision history for this message
Andrew Moll (andrew-mac-boy) wrote :

confirmed here; same for any shell-like filename tab-completion (:r ~/path etc.)

Revision history for this message
Marius Gedminas (mgedmin) wrote :

No. This bug only manifests when completing shell commands. Regular file completion works fine, if you have the 'compatible' option disabled. Tab completion after :! only completes binaries found in $PATH, and upstream patch 7.0.081 fixes it to complete both binaries from $PATH and files on the filesystem.

Andrew: try :set nocp, and then try tab-completion. It works fine here, with edgy's vim.

Revision history for this message
Constantine Evans (cevans) wrote :

Thank you for reporting this. The problem has already been fixed in Feisty because it has a newer patch (7.0.122), which fixes the problem, as you mentioned.

It is unlikely that this will be fixed in Edgy Backports unless there is some other reason for a newer version of Vim to be backported.

Changed in vim:
status: Unconfirmed → Fix Released
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.