Disable horizontal auto-scroll when pasting text

When I paste text, the window scrolls to the end of the text. How can I disable this behavior? I don't like pressing home every time to go back to the beginning. Please check attached.

3 comments
Comment actions Permalink

I don't think it's possible, otherwise you would end up with a cursor not visible.

You can instead just press up or down.

0
Comment actions Permalink

I am pasting text from multiple text files for translations, and I am not sure what is the quickest way to do it, pasting text scrolls the page and that takes time.
Pressing up and down will move the cursor to the end of the previous line not to the beginning. Thx anyway.

0
Comment actions Permalink

As some kind of a dirty workaround, you may want to record a macro with a sequential Paste and Home actions. Afterwards, the macro can be assigned to a specific key combo.

A little bit more about it:

https://www.jetbrains.com/help/phpstorm/using-macros-in-the-editor.html 

0

Please sign in to leave a comment.