• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

toggle-home

Allows to move a cursor to the very begining of a soft-wrapped line, when a cursor is not in the first 'virtual' line. Also toggling End button does the opposite. Package allows to use Shift+Home and Shift+End key combinations to select text in soft-wrapped lines.
  • #home
  • #end
  • #button
  • #toggle
qbadev
0.4.1 82
1
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

toggle-home package

Quick demo

Modifies behaviour of Home, End, Shift-Home and Shift-End buttons and key combinations, similiar to Komodo Edit editor. Moves cursor to the begining of a soft-wrapped line, not to the begining of a virtual line.

If cursor is in any virtual line other than first one of soft-wrapped line, and Home button is used, cursor first moves to the begining of current virtual line, and after another use of Home button, it moves to the begining of buffer.

If cursor is in any virtual line other than last one of soft-wrapped line, and End button is used, cursor first moves to the end of current virtual line, and after another use of End button, it moves to the end of buffer.

Combinations with Shift key allow to select text in soft-wrapped lines to the very begining and end of buffer.

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by