Loading ...
Sorry, an error occurred while loading the content.

127498suppress error?

Expand Messages
  • Bee
    Nov 30, 2011
    • 0 Attachment
      This function and its friend PrevDQ() work.

      If I am diffing goes to next change, or if doing helpgrep will go to
      the next.

      When at the end of the helpgrep, it presents:
      Error detected while processing function NextDQ:
      line 4:
      E553: No more items
      Press ENTER or type command to continue

      Can I suppress that message completely?

      function! NextDQ()
      if &diff
      normal! ]c
      else
      cn
      if v:version >= 700
      setlocal cursorline
      endif
      endif
      endfun
      nmap <F8> :call NextDQ()<cr>

      -Bill

      --
      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
    • Show all 3 messages in this topic