Instead of typing "<-", [Alt + -] is very useful. However, sometimes you accidentally enter [Alt + 0] just to the left of [-]. Then my codes hide in Left Right Arrow like images.
<img src="https://i.sstatic.net/4GG4D.jpg">
How can I goback and avoid the thousand of clicking? enter image description here
You may modify shortcuts in RStudio.
Go to Tools -> "Modify Keyboard Shortcuts..."