On Thu, April 28, 2011 3:04 pm, cyboman wrote: > i'm trying to learn a bit of vim scripting, specifically i'm trying to > understand how to do something similar to scanf(). > > say we have a command > > map ,cd :cd %:p:h<CR> > > what do those %:p:h mean? can anyone recommend a help file i need do > read in order to understand the meanings of %:p:h? > > any help is appreciated
:h cmdline-special :h filename-modifiers regards, Christian -- 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
