/space-block-jumper

Navigational package for the atom text editor

Primary LanguageCoffeeScriptMIT LicenseMIT

Space Block Jumper

Navigational package for the Atom text editor.

This package lets you jump with the cursor vertically across space separated blocks, skipping empty lines. It also lets you select while jumping and has a command that selects current block.

screenshot

Usage

Jumping inside a block takes you to the its edge. When jumping from an edge of a block the cursor skips the closest edge in the new block. Consecutive empty lines are always skipped.

Settings

Settings Description
Skip Closest Edge Disable this to jump to every edge of every block irregardless of where you jump from. (Default: on)
Jump To Block Separator Enable this to always jump to empty lines. The same behavior as in the package block-travel. (Default: off)

Keybinds

Keybind Action
Alt+Up Jump up
Alt+Down Jump down
Alt+Shift+Up Jump and select up
Alt+Shift+Down Jump and select down
Alt+Cmd+d Select block around cursor, consecutive usage cycles downward

Ideas

  • Fix bug: not stripping tabs from otherwise empty line
  • Improve selection retraction
  • Improve selection expansion when using alt+cmd+d
  • Always land next to a character
  • Multi cursor support
  • Modify selection indentation