it copyed from http://www.vim.org/scripts/script.php?script_id=1355 and modified for my nedds :-)