cursor-history

Cursor position history manager

t9md

27,980

112

0.14.0

MIT

GitHub

cursor-history Build Status

Like browser's Go and Back button, like ctrl-i, ctrl-o in Vim. You can go/back to cursor position history.

gif

Keymap

No default keymap. You need to set by yourself.

'atom-workspace':
  'ctrl-i': 'cursor-history:next'
  'ctrl-o': 'cursor-history:prev'
  'ctrl-cmd-i': 'cursor-history:next-within-editor'
  'ctrl-cmd-o': 'cursor-history:prev-within-editor'

Commands

Features

When cursor history saved?

Customize flashing effects.

When you enabled flashOnLand(default false), it flashes cursor line when move around history position.
You can customize flashing effect in your style.less based on following example.

@keyframes cursor-history-flash {
  from { background-color: red; }
}
atom-text-editor.editor .line.cursor-history-flash-line {
  animation-duration: 1s;
}