Wednesday, August 24, 2011

Re: path completion after 'export PATH=/tmp' (C-X C-F)

On Wed, 24 Aug 2011, Peng Yu wrote:

> Hi,
>
> Path completion (C-X C-F) does not recognize /tmp as a path, rather it
> recognize PATH=/tmp as a path. I'm wondering if there is a way to
> change this "feature" of vim? Thanks!

Not sure why "feature" is in quotes. It is a feature. It's controlled
by the 'isfname' (= 'isf') option. Filenames can contain '='.

To prevent Vim from thinking '=' is valid:

set isf-==

See:

:help 'isf'

--
Best,
Ben

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: