back-jumpy

An Atom package to return to previous cursor positions

David L. Goldberg

793

2

0.2.0

MIT

GitHub

Back-Jumpy

An Atom package to return to previous cursor positions.

Works great with or without Jumpy or Jumpy-beacon.

How to "back-jump"

  1. Move your cursor somewhere in a text editor.
  2. Move somewhere else.
  3. Enter a hotkey to jump back!
  4. Keep coding!

Install

On command line:

apm install back-jumpy

or the for the whole jumpy suite:

apm install jumpy jumpy-beacon back-jumpy

Notes

'vim-mode/vim-mode-plus' Users (Strongly Recommended Override)

Put this override in your 'Atom' -> 'Keymap...' settings.

for vim-mode:

'atom-text-editor:not(.mini):not(.jumpy-jump-mode).vim-mode:not(.insert-mode), .tree-view':
    'backspace': 'back-jumpy:back'
    'shift-backspace': 'back-jumpy:forward'

for vim-mode-plus:

'atom-text-editor:not(.mini):not(.jumpy-jump-mode).vim-mode-plus:not(.insert-mode), .tree-view':
    'backspace': 'back-jumpy:back'
    'shift-backspace': 'back-jumpy:forward'

This will bind backspace and shift backspace to jump back and forward.

This is not the default because it changes vim's native behavior.

Config Settings

None yet!

Back-Jumpy Styles

Just override the .back-jumpy-beacon class from beacon.less

Note: Styles can be overridden in 'Atom' -> 'Stylesheet...'

My other Atom packages 😃

Keywords

(A little SEO juice)