Definitely had my share of suicidal thoughts. Almost did it once too, but my friend convinced me not to and made me watch a movie with him that oddly enough made me rethink.
The last year I've ha a number of serious suicidal ideation despite being free of these thoughts or nearly 8 years, but thoughts of my future wife keep me strong. I love her more than i love myself and she is worth sticking round for even if some days im a grumpy pants.
I remind myself that no matter how bad it gets, it can only get better if i think i should kill myself, because at that point a simple smile or a funny comedy can brighten my day even if only for a moment. These moments can compound, and continue.
Glad you made the right choice OP.