This will accomplish what you want.

let s:prev_val = ""
for d in getqflist()
    let s:curr_val = bufname(d.bufnr)
    if (s:curr_val != s:prev_val)
        "echo s:curr_val
        exec "edit " . s:curr_val
    end
    let s:prev_val = s:curr_val
endfor

-- 
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

Reply via email to