• Login
Community
  • Login

Ctrl+- (Ctrl+dash) to jump back to last modified position

Scheduled Pinned Locked Moved General Discussion
5 Posts 4 Posters 1.5k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D
    David Tribble
    last edited by Jun 24, 2020, 10:12 PM

    The MS Visual Studio IDE has a neat feature of keeping a stack of locations where edits have occurred. Ctrl+- (Ctrl+dash) pops that stack, jumping back to the previously modified location. Pressing Ctrl+- repeatedly keeps popping the stack, even across multiple files, essentially rewinding through your edit location history.

    It would be nice if N++ had something similar, so that we could make a change somewhere (e.g., at line 100), search for something and make another change (e.g., at line 200), then hit Ctrl+- to jump back to the previously modified location (e.g., back to line 100), where we could continue similar edit/search/jump-back operations.

    I would prefer if such a feature did not jump back across files, but kept a separate edit location stack for each file. The stack would not have to be very large, perhaps as short as the last 20 or so locations per file.

    (Note that we are not talking about the Ctrl+Keypad- key, which reduce the display font size, but the dash character in the top row of the main QWERTY keyboard.)

    P M 2 Replies Last reply Jun 24, 2020, 10:17 PM Reply Quote 0
    • P
      PeterJones @David Tribble
      last edited by Jun 24, 2020, 10:17 PM

      @David-Tribble ,

      Please see the Feature Request FAQ

      1 Reply Last reply Reply Quote 0
      • D
        David Tribble
        last edited by David Tribble Jun 24, 2020, 10:32 PM Jun 24, 2020, 10:31 PM

        Thanks. I submitted my suggestion as a new feature request:

        https://github.com/notepad-plus-plus/notepad-plus-plus/issues/8468

        1 Reply Last reply Reply Quote 0
        • M
          Michael Vincent @David Tribble
          last edited by Jun 24, 2020, 11:16 PM

          @David-Tribble

          See the Location Navigate plugin - available only on 32-bit.

          Cheers.

          A 1 Reply Last reply Jun 25, 2020, 5:53 AM Reply Quote 2
          • A
            andrecool-68 @Michael Vincent
            last edited by Jun 25, 2020, 5:53 AM

            @Michael-Vincent There is a version for x64 and x32:
            https://github.com/JetNpp/LocationNavigate/tree/master/bin

            1 Reply Last reply Reply Quote 0
            3 out of 5
            • First post
              3/5
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors