ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Clear​Cursors​Carets

by evandrocoan ALL

To clear the Sublime Text mouse selections before close any opened panel when hitting the `escape` key

Details

Installs

  • Total 249
  • Win 176
  • Mac 33
  • Linux 40
Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7
Windows 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Clear Cursors-Carets

This is designed to clear the mouse selections before close any opened panel when hitting the escape key. Be sure there is not any key conflicts with this package Default.sublime-keymap file.

It also clear the current selection before closing any opened panel.

Bibliography

  1. http://stackoverflow.com/questions/37904510/sublime-text-pressing-esc-from-multiple-selections-put-cursor-at-last-select
  2. http://stackoverflow.com/questions/14963775/multiple-cursors-in-sublime-text-2-windows
  3. https://www.sublimetext.com/docs/3/multiple_selection_with_the_keyboard.html
  4. http://docs.sublimetext.info/en/latest/extensibility/commands.html

Installation

By Package Control

  1. Download & Install Sublime Text 3 (https://www.sublimetext.com/3)
  2. Go to the menu Tools -> Install Package Control, then, wait few seconds until the installation finishes up
  3. Now, Go to the menu Preferences -> Package Control
  4. Type Add Channel on the opened quick panel and press Enter
  5. Then, input the following address and press Enter

    https://raw.githubusercontent.com/evandrocoan/StudioChannel/master/channel.json
    
  6. Go to the menu Tools -> Command Palette... (Ctrl+Shift+P)

  7. Type Preferences: Package Control Settings – User on the opened quick panel and press Enter

  8. Then, find the following setting on your Package Control.sublime-settings file:

    "channels":
    [
        "https://packagecontrol.io/channel_v3.json",
        "https://raw.githubusercontent.com/evandrocoan/StudioChannel/master/channel.json",
    ],
    
  9. And, change it to the following, i.e., put the https://raw.githubusercontent... line as first:

    "channels":
    [
        "https://raw.githubusercontent.com/evandrocoan/StudioChannel/master/channel.json",
        "https://packagecontrol.io/channel_v3.json",
    ],
    
    • The https://raw.githubusercontent...** line must to be added before the **https://packagecontrol.io...** one, otherwise, you will not install this forked version of the package, but the original available on the Package Control default channel **https://packagecontrol.io...
  10. Now, go to the menu Preferences -> Package Control

  11. Type Install Package on the opened quick panel and press Enter

  12. Then, search for ClearCursorsCarets and press Enter

See also:

  1. ITE - Integrated Toolset Environment
  2. Package control docs for details.

License

All files in this repository are released under GNU General Public License v3.0 or the latest version available on http://www.gnu.org/licenses/gpl.html

  1. The LICENSE file for the GPL v3.0 license
  2. The website https://www.gnu.org/licenses/gpl-3.0.en.html

For more information.