Skip to content

Navigate prev-next over cursor position history in Sublime Text!

License

Notifications You must be signed in to change notification settings

rohanrhu/CaretPositionNavigation

Repository files navigation

CaretPositionNavigation

Navigate prev-next over cursor position history in Sublime Text!

Installation

Git

Linux
cd ~/.config/sublime-text-3/Packages/
git clone https://github.com/rohanrhu/CaretPositionNavigation.git CaretPositionNavigation
Windows
cd "%HOMEPATH%\AppData\Roaming\Sublime Text 3\Packages"
git clone https://github.com/rohanrhu/CaretPositionNavigation.git CaretPositionNavigation

Usage

Shortcuts

There're two default shortcuts, you can set under Prefences > Package Settings > CaretPositionNavigation > Keybindings (User)

Linux
  • Go Prev: shift+super+left
  • Go Next: shift+super+right
Windows
  • Go Prev: shift+super+left
  • Go Next: shift+super+right
OSX
  • Go Prev: cmd+shift+left
  • Go Next: cmd+shift+right

Menu Commands

There're one menu (ctrl+shift+p) command

  • Clear History: CaretPositionNavigation: Clear History (Clear history for current tab)

Main Menu Entries

There're two menu entries for navigating prev-next under

  • Go Prev: Goto > Caret Goto Prev
  • Go Next: Goto > Caret Goto Next

Configuration

There're two settings, you can set under Prefences > Package Settings > CaretPositionNavigation > Settings (User)

  • History Length: history_length: Integer (Default: 50)
  • Threshold: threshold: Integer (Default: 20)

License

MIT

About

Navigate prev-next over cursor position history in Sublime Text!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages