[code_complete] Do tab and untab in template code ?
Hello, First, Mingbai, congratulation on your code_complete script. Now, I would like to use indent and unindent in my template code. Example : let g:template['php']['if'] = if( .s:rs.s:re. )\cr{\cr\tab.s:rs.s:re.\cr\untab} To indent, I use tab. I haven't found char to unindent, untab doesn't exists. How can I do that ? Thanks for your help, Stephane
Re: [code_complete] Do tab and untab in template code ?
2007/1/29, KLEIN Stéphane [EMAIL PROTECTED]: Hello, First, Mingbai, congratulation on your code_complete script. Now, I would like to use indent and unindent in my template code. Example : let g:template['php']['if'] = if( .s:rs.s:re. )\cr{\cr\tab.s:rs.s:re.\cr\untab} To indent, I use tab. I haven't found char to unindent, untab doesn't exists. How can I do that ? I found one solution to my issue : I use C-D char then I use this : let g:template['php']['if'] = if( .s:rs.s:re. )\cr{\cr\tab.s:rs.s:re.\cr\C-D} Regards, Stephane
Re: [code_complete] Do tab and untab in template code ?
KLEIN Stéphane wrote: Hello, First, Mingbai, congratulation on your code_complete script. Now, I would like to use indent and unindent in my template code. Example : let g:template['php']['if'] = if( .s:rs.s:re. )\cr{\cr\tab.s:rs.s:re.\cr\untab} To indent, I use tab. I haven't found char to unindent, untab doesn't exists. How can I do that ? Thanks for your help, Stephane S-Tab (shift-tab) maybe? Best regards, Tony.