notepad++: How to return to previous position? without mark than position previously

10

If I am editing a large document in notepad++,

Then, I press Ctrl+End and the curso goes to the end of the file.

Is there any method to position the cursor in the previous position?

Emilio Platzer

Posted 2017-05-28T12:51:09.757

Reputation: 1 017

Short answer: No. Long answer: see Keyboard And Mouse Shortcuts

– DavidPostill – 2017-05-28T13:26:40.257

Thanks. May be there is another way. I change shortcut to methos. May be it is posible to program a macro or a pluggin. – Emilio Platzer – 2017-05-28T13:31:34.557

Answers

12

There is the plugin "location navigate".

https://sourceforge.net/projects/locationnav/

Features

Automatic record the cursor position, you can set each position offset.

You can jump to any position that your cursor have been visited.

Can use shortcut( ctrl + - for back position and ctrl + shift+ - for forward position ) to jump code back and forward

History position can automatic adjusted when text modify.

Support jump between open files, if files closed ,it will open it automatic.

Location history can be set to whether cleaned when file is closed

Can jump to any modified location ( ctrl+atl + z ) back and forward ( ctrl+atl + y ) in the history list it is marked by '!'

Will always record the position even after you jumped by setting 'Always record'.

Toolbar's button will auto be diabled or enabled in different state

Hans Hubert Vogts

Posted 2017-05-28T12:51:09.757

Reputation: 438

I test it. It is a very good plugin – Emilio Platzer – 2017-05-29T13:32:51.330

2Also, if you like, you can change the keyboard shortcut commands for this plugin in the Notepad++ keyboard settings. I set them to Alt-Left and Alt+Right Arrow. – Ray Hulha – 2018-01-21T02:20:17.350

0

For navigating back to the previous position I do CTRL-Z then CTRL-Y. That's the easiest and quickest method. When it undoes the previous text change and puts it back the cursor stays at the last change. If you have a large document enter a comment such as "mark here" and search for the comment.

subjectivist

Posted 2017-05-28T12:51:09.757

Reputation: 465