evillemez / text-select-mode

Text select mode for Atom editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

text-select-mode package

Enables text selection mode for the active editor, where every move command behaves like the corresponding select command. Inspired by emacs' transient-mark-mode, but using only basic text selection features.

The package does not add a keybinding. Be sure to add your own to your keymap.cson:

'atom-workspace atom-text-editor':
  "ctrl-space": "text-select-mode:toggle"

The toggle command will alternatively activate/deactivate text select mode on the current editor.

Upon activation, any move command will behave like a select command. Copying, cutting or pasting text will cancel select mode. The cancel command will also deactivate the mode.

Upon deactivation, move commands behave like normal. Current selections are not removed (this might change in future versions).

A screenshot of your package

About

Text select mode for Atom editor

License:MIT License


Languages

Language:CoffeeScript 100.0%