split search command: move logic to ui model
move liftIO for less duplication
decouple replace handler from search handler
invoke generic commands only once [on press key]
move invokeOnActiveEditor to reusable location
stylish + hlint
move replace logic to ui model
stylish + hlint