Why are the inputs of an ideal op-amp "inverting input" and "non-inverting input"?
Your second circuit will not work as an amplifier because it has positive feedback. It's actually a comparator with hysteresis.