On Mar 4, 1:49 am, Paul Isambert <[email protected]> wrote: > You should use ":exe[cute]": > au BufRead * for i in range(1,9) | exe "let @" . i . " = ''" | endfor
Does not seem to work. When I enter a new buffer, the numbered registers still contain older text. Have you tried this autocommand? I did try a version of execute, but I read in the docs that you could not use exe on part of a command. You had to execute the whole line, even if it contained multiple commands. -- 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
