Hi, I try to have that will define the next content of my buffer. For example: I run a command 'foo' and the next command will be pre-write with 'bar' (or replace 'foo' by 'bar'). I imagine made it with a function, but I can't use zle to manipulate the buffer, it seems to be required to use a widget and run it from a shortcut. Anyone have already tried this? Do you know how I can make it? Thanks _____________________ Michel BARRET