https://www.vim.org/scripts/script.php?script_id=2796 https://github.com/chrisbra/CheckAttach
