ice9js / ace-jump-sublime

Jump between characters in Sublime Text 3 without using a mouse at ease
MIT License
202 stars 29 forks source link

[ST4] more convenient shortcuts #85

Open eugenesvk opened 2 years ago

eugenesvk commented 2 years ago

Given that ST4 now supports chords, maybe it'd be much better to use more mnemonic and thus easier-to-remember keybinds around ^J+^key[^1]? Or at least suggest these (to avoid any conflicts) in the readme/install message so that a user could easily copy&paste and customize.

For example: ^J, ^Wace_jump_ W ord ^J, ^Cace_jump_ C har ^J, ^Lace_jump_ L ine ^J, ^Iace_jump_w I thin_line ^J, ^S or Sace_jump_ S elect ^J, ^A or Cace_jump_ A dd_ C ursor ^J, ^E or Aace_jump_ A ft E r

// AceJump settings for the above examples on a macOS
  {"keys":["super+j","super+w"],    "command":"ace_jump_word"},
  {"keys":["super+j","super+c"],    "command":"ace_jump_char"},
  {"keys":["super+j","super+l"],    "command":"ace_jump_line"},
  {"keys":["super+j","super+i"],    "command":"ace_jump_within_line"},
  // AceJump Modes                  //
  {"keys":["super+j","s"],          "command":"ace_jump_select"},
  {"keys":["super+j","c"],          "command":"ace_jump_add_cursor"},
  {"keys":["super+j","a"],          "command":"ace_jump_after"},

[^1]: ^ = Ctrl or Cmd/ on a macOS

stoivo commented 2 years ago

Thanks for the keybindings, this work really well