Skip to content

kapitanluffy/sublime-compass

Repository files navigation

🧭 Compass - Better Code Navigation

GitHub Sponsors


Lost? Tired of endlessly scrolling through tabs just to find the previous file you were working on?

Compass provides you the list of most-recently used tabs. It also helps you filter them by special tags!

By default, ctrl+tab jumps you to the next view in the MRU stack without showing the stack. Compass provides you a visual guide of where you have been.


Installation

  1. In your package directory, clone the repo
git clone git@github.com:kapitanluffy/sublime-compass.git "Compass Navigator"
  1. Run Preferences: Compass Keybindings and copy pre-commented the keybindings (or you can set it to your preferred keybinds)

  2. Press ctrl+tab to show the Compass 🧭

Open Compass

ctrl+tab

Open the quick panel. Displays most-recently used tabs by default.

1-switch-to-most-recent.mp4

Quick switching

You can do this by pressing ctrl+tab on the first and second items

2-quick-switch.mp4

Close Compass and select Current Highlight

ctrl+ctrl

Select the current highlight and close the quick panel

Close Compass and go back to initial view

alt+alt

Go back to the initial tab and close the quick panel

3-go-back-to-initial.mp4

Filtering

Type a query. # are for filters

4-basic-filters.mp4

Opening files

If you have ripgrep set in the settings, you can enable this feature. Please note that this will be slow in large projects!

5-open-files.mp4

About

🧭 Never get lost again navigating your code with Compass! Filter your list of open MRU tabs / files easily!

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages