On 11 фев, 11:30, Aman Jain <[email protected]> wrote: > Hi > > I am trying to build a lexical analyzer using flex. Following is a > line which shows a regular expression and its corresponding action. > > [0-9] {printf("yada yada \n");} //regex1 > Is there a way to reuse {printf("yada yada \n");} from regex1 by auto- > completion features of vim, so that I don't need to write the whole > thing again while writing regex2? > > e.g. > > .* {printf("yada yada \n");} //regex2 > This goes beyond word completion, so I was wondering is this doable in > vim? > > P.S. > I know one can do this by storing the text in a register("aymotion), > but I am looking for some divine vim auto-completion. > > TIA
Have you seen my answer to your question at Stackoverflow.com? http://stackoverflow.com/questions/2242690/advanced-vim-autocompletion -- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php
