home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / vim53os2.zip / vim-5.3 / bugreport.vim next >
Text File  |  1998-08-30  |  641b  |  27 lines

  1. :" use this script to create the file "bugreport.txt", which contains
  2. :" information about the environment of a possible bug in Vim.
  3. :" e.g., ":so $VIM/bugreport.vim" inside Vim, or "vim -s $VIM/bugreport.vim".
  4. :let more_save = &more
  5. :set nomore
  6. :if has("unix")
  7. :  !echo "uname -a" >bugreport.txt
  8. :  !uname -a >>bugreport.txt
  9. :endif
  10. :redir >>bugreport.txt
  11. :version
  12. :set all
  13. :set termcap
  14. :au
  15. :echo "--- Normal mode mappings ---"
  16. :map
  17. :echo "--- Insert mode mappings ---"
  18. :map!
  19. :echo "--- Abbreviations ---"
  20. :ab
  21. :echo "--- Highlighting ---"
  22. :highlight
  23. :echo "--- Variables ---"
  24. :let
  25. :redir END
  26. :let &more = more_save
  27.