faire un CTRL + ], c'est possible avec le mappage pouri des claviers mac?
Grrrr ca m'enerve le mapping qu'ils ont fait, c'est loin d'etre ideal...
function! s:insert_gates() let gatename = substitute(toupper(expand("%:t")), "\.", "_", "g") execute "normal i#ifndef " . gatename execute "normal o#define " . gatename execute "normal Go#endif /* " . gatename . " */" normal ko normal ko normal o endfunction au BufNewFile *.h call <SID>insert_gates()
JackosKing VNR
: J'ai vu cette fonction, mais en meme temps donner le temps en s... j'ai prefere faire appelle a date pour ne pas m'embetter