<snip>
vim comandline completion if programmable: :helpgrep -complete=file :helpgrep -complete=custom
This is what I need. However, I hoped to be able to define it for standard vim commands such as split, edit, etc Isn't there a way to specify a custom completion if the filename starts with radiant/ , like I defined the autocommands for filename starting with radiant/ ? Examples of what I want to achieve: :split radiant/p<TAB> -> :split radiant/pages/ :split radiant/l<TAB> -> :split radiant/layouts/ :split radiant/<TAB> -> cycles through pages,layouts,snippets :split radiant/pages/<TAB> -> :split radiant/pages/Home\ Page This should also work with edit, vsplit, etc If you want to see the complete code of the vim script, it is available at http://www.raphinou.com/radiant.vim/ Thanks Raph -- Web database: http://www.myowndb.com Free Software Developers Meeting: http://www.fosdem.org
