eahanson / trail.novaextension

An extension for the Nova editor that lets you create a trail of editor positions so that you can easily get back to where you came from.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create a trail of editor positions as you navigate code so that you can easily get back to where you came from.

As you navigate your code, push waypoints onto Trail’s stack with the "Push Waypoint" command. Then when you want to get back to where you came from, pop the last waypoint off of Trail’s stack with the "Pop Waypoint" command which will move the text cursor to the file, line, and column that you previously pushed. If you want to pop multiple waypoints at once, use "Pop To Waypoint" which will show you the entire stack to of waypoints to choose from.

Note that when you pop a waypoint, it is gone forever.

Usage

To run Trail:

  • Select the Editor → Trail → Push Waypoint menu item; or
  • Select the Editor → Trail → Pop Waypoint menu item; or
  • Select the Editor → Trail → Pop To Waypoint menu item; or
  • Open the command palette and type Trail

Other Nova extensions you might like :)

Here is a list of my other Nova extensions.

robochase6000 has created a similar extension called navigation but it makes waypoints for you automatically, which seems like a nice improvement :)

License, Copyright, Attributions

Copyright 2024 Erik Hanson. See LICENSE.

About

An extension for the Nova editor that lets you create a trail of editor positions so that you can easily get back to where you came from.

License:Apache License 2.0


Languages

Language:Shell 62.9%Language:JavaScript 36.8%Language:Ruby 0.3%