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

Reply via email to