this is starting to become useful to me...
I'm always editing files that I haven't checked out yet (in perforce, it removes write access to stop you doing this). So, I need to check it out.
p4 edit <filename>
is the command that does the job. I know there's some way of setting up a macro or command or something to do this for me, but having wandered through the documentation, I can't find the magic
$1 or whatver variable, which contains the name of the file being edited.
Any vimish guru's left?
Liam Bedford | It's just the facts of life
--------------| There's no masterplan
Belle & Walk me home from school
Sebastien I'll let you hold my hand
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!