- Yesterday, I came out early of my home in search of my car's lost keys.
- Yesterday, I came out early of my home in searching of my car's lost keys.
First, are both these sentences correct? Second, how could you chose whether to use gerund (searching) after preposition or noun (search)?