>
> au VimEnter * if expand('%') != '""' | cd %:h | endif
This is still not what was intended, though syntactically correct. There
should not be any double quotes at all:
au VimEnter * if expand('%') != '' | cd %:h | endif
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:
Post a Comment