add local init and init-cc
hook up windmove