improve reviving
fix s:select
implement filetype include/exclude (close #19)