Close All Windows The Vim command :only, or :on, closes all windows except the one you are currently in. Tweet