Skip to content
Navigate prev-next over cursor position history in Sublime Text!
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
messages Some corrections for keyboard shortcuts and Package Control Jan 14, 2017
CaretPositionNavigation.py First commit Jan 13, 2017
Default (Linux).sublime-keymap
Default (OSX).sublime-keymap Remove .no-sublime-package and fix OSX shortcuts Jan 18, 2017
Default (Windows).sublime-keymap Some corrections for keyboard shortcuts and Package Control Jan 14, 2017
Default.sublime-commands First commit Jan 13, 2017
LICENSE Some corrections for keyboard shortcuts and Package Control Jan 14, 2017
Main.sublime-menu First commit Jan 13, 2017
Prefences.sublime-settings First commit Jan 13, 2017
README.md Update README.md Jan 20, 2017
messages.json Some corrections for keyboard shortcuts and Package Control Jan 14, 2017

README.md

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

You can’t perform that action at this time.