Oh, sorry , I m using C on unix platform , and I am working in Vim.Your advice is clear to me , I ll try to do so , but I want to use commands too. As I suppose , I need to make some functions for that like if to print word "add" and press enter , one of the functions ll be used. How to do that?