Ported notes from vim