improve setting.vim: cache frame