Thank you, it worked. But, I had to use it in a slightly different form. the following didn't quite worked: exec 'g!/execute'.name.'/d'
But, this one worked perfect: exec 'g!/'.name.'/d' thanks again RB On Jul 12, 2:23 am, Marc Weber <[email protected]> wrote: > This all has been done for > you:https://github.com/MarcWeber/vim-addon-other/blob/master/plugin/vim-a... > copy paste line 34 35 and the functions found in the autoload file. > This also works in quickfix :) > > > function! SelectBeam() > > call inputsave() > > let name = input('Enter Beam #: ') > > call inputrestore() > > :g!/execute . name/d > > endfunction > > I've neven used inputsave before :) > > You want to use execute in a different way: > > execute 'a string' > > The string is made up of var contents and the final command: > > So it finally look like this: > > exec 'g!/execute'.name.'/d' > > Is this what you're look for? > > Marc Weber -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
