Add easier navigation through wrapped lines, increase history and function which removes all trailing whitespaces