39

In Eclipse, we can use Alt + Left to navigate Back, and Alt + Right to navigate Forward.

Is this shortcut available in Notepad++? If no, can it be installed using plugins?

Stevoisiak
  • 23,794
  • 27
  • 122
  • 225
Trivikram
  • 801
  • 1
  • 9
  • 17

1 Answers1

45

There's a plug-in Location Navigate, which enables you to navigate between your last edit/view points.

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

The plug-in SourceCookifier comes with a navigation history, but it only remembers the jumps between symbols.

Navigate Backward (Alt + Left)

Navigate Forward (Alt + Right)

S.Serpooshan
  • 7,608
  • 4
  • 33
  • 61
ufo
  • 1,622
  • 16
  • 15
  • I'd like to use LocationNav but I'm unsure how to. I put the dll in plugins dir and restarted notepad++, but no new plugin shows up under the plugins drop-down, and the ctrl + / ctrl - hotkeys don't work. QAny ideas? – Alkanshel Feb 27 '15 at 01:44
  • 1
    @Amalgovinus you can install it from within notepad++. `plugins` -> `plugin manager` -> `show plugin manager` – Bob Sep 06 '16 at 15:51
  • 1
    Sadly LocationNav is only supported for 32bit – elig Jun 18 '18 at 03:26
  • 5
    Forward and backward navigation should be in core, not a plugin. – Anders Lindén May 25 '19 at 20:20
  • In my 64bit windows system, LocationNav works perfectly. – prageeth Jun 19 '19 at 14:26
  • now the notepad++ does not ship with the plugin manager. how to install the SourceCookifier then @_@ – Gen.L Sep 28 '20 at 16:43
  • 1
    There is a 64bit LocationNav Dll, which can be download from here:[JetNpp / LocationNavigate](https://github.com/JetNpp/LocationNavigate), it works OK on Notepad++ 7.9.1 64bit. – ollydbg23 Jan 12 '21 at 06:54
  • 1
    It seems that `SourceCookifier` is just for **C#** files?! if yes, you have to revise your answer and explicitly mention this huge limitation or remove that as first option because the user does not ask for c#! – S.Serpooshan Dec 29 '21 at 18:54
  • LocationNav works in a single file if I need to search for different locations. – Louis Go Jul 25 '23 at 02:46
  • @elig Since version v0.4.7.8 there's an official x64 build of the plugin: https://sourceforge.net/projects/locationnav/files/. The plugin is also installable using Notepad++'s built-in Plugins Admin. – Andreas Aug 18 '23 at 07:26