refactor
open editor
sel at 0
command path
add sel