Skip to content

Commit

Permalink
Configured the new package PowerCursors as git submodule to
Browse files Browse the repository at this point in the history
add/remove/select of multiple cursors more convenient with keyboard,
https://github.com/evandrocoan/PowerCursors

Issue:
#8
  • Loading branch information
evandrocoan committed Jan 24, 2017
1 parent 1dee120 commit 477b798
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 35 deletions.
2 changes: 1 addition & 1 deletion PowerCursors
2 changes: 1 addition & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ to program on:
5. SQL


Its current version is: v1.0.1-257
Its current version is: v1.0.1-258



Expand Down
2 changes: 1 addition & 1 deletion SUBLIME_STUDIO_VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.1-257
1.0.1-258
43 changes: 27 additions & 16 deletions User/Default (Linux).sublime-keymap
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@
{ "keys": ["ctrl+f9"], "command": "select_lines", "args": {"forward": false} },
{ "keys": ["ctrl+f8"], "command": "select_lines", "args": {"forward": true} },


// Sublime Column Select, https://github.com/ehuss/Sublime-Column-Select
{ "keys": ["alt+up"], "command": "column_select", "args": {"by": "lines", "forward": false}},
{ "keys": ["alt+down"], "command": "column_select", "args": {"by": "lines", "forward": true}},
Expand All @@ -136,6 +137,32 @@
{ "keys": ["shift+alt+home"], "command": "column_select", "args": {"by": "all", "forward": false}},
{ "keys": ["shift+alt+end"], "command": "column_select", "args": {"by": "all", "forward": true}},


// Moved to the Custom Settings package:
// https://forum.sublimetext.com/t/how-to-do-the-jump-back-command-from-find-panel/25610
//
// { "keys": ["alt+left"], "command": "jump_back" },
// { "keys": ["alt+right"], "command": "jump_forward" },

{ "keys": ["alt+left"], "command": "my_jump_back" },
{ "keys": ["alt+right"], "command": "my_jump_forward" },


// Add/remove/select of multiple cursors more convenient with keyboard, https://github.com/evandrocoan/PowerCursors
{ "keys": ["alt+="] , "command": "power_cursor_add" },
{ "keys": ["alt++"] , "command": "power_cursor_add" },
{ "keys": ["alt+keypad_plus"] , "command": "power_cursor_add" },

{ "keys": ["alt+-"] , "command": "power_cursor_remove", "context": [ { "key": "in_cursor_transition" } ] },
{ "keys": ["alt+keypad_minus"], "command": "power_cursor_remove", "context": [ { "key": "in_cursor_transition" } ] },

{ "keys": ["alt+["] , "command": "power_cursor_select" , "args": { "forward": false } },
{ "keys": ["alt+]"] , "command": "power_cursor_select" , "args": { "forward": true } },

{ "keys": ["alt+a"] , "command": "power_cursor_activate", "context": [ { "key": "in_cursor_transition" } ] },
{ "keys": ["escape"], "command": "power_cursor_exit" , "context": [ { "key": "in_cursor_transition" } ] },


{ "keys": ["pageup"], "command": "move", "args": {"by": "pages", "forward": false} },
{ "keys": ["pagedown"], "command": "move", "args": {"by": "pages", "forward": true} },
{ "keys": ["shift+pageup"], "command": "move", "args": {"by": "pages", "forward": false, "extend": true} },
Expand Down Expand Up @@ -356,22 +383,6 @@
{ "keys": ["ctrl+shift+r"], "command": "goto_symbol_in_project" },


{ "keys": ["alt+keypad_minus"], "command": "jump_back" },
{ "keys": ["alt+keypad_plus"], "command": "jump_forward" },

{ "keys": ["alt+-"], "command": "jump_back" },
{ "keys": ["alt+shift+-"], "command": "jump_forward" },

// Moved to the Custom Settings package:
// https://forum.sublimetext.com/t/how-to-do-the-jump-back-command-from-find-panel/25610
//
// { "keys": ["alt+left"], "command": "jump_back" },
// { "keys": ["alt+right"], "command": "jump_forward" },

{ "keys": ["alt+left"], "command": "my_jump_back" },
{ "keys": ["alt+right"], "command": "my_jump_forward" },


{ "keys": ["ctrl+i"], "command": "show_panel", "args": {"panel": "incremental_find", "reverse": false} },
{ "keys": ["ctrl+shift+i"], "command": "show_panel", "args": {"panel": "incremental_find", "reverse": true} },
{ "keys": ["ctrl+f"], "command": "show_panel", "args": {"panel": "find", "reverse": false} },
Expand Down
43 changes: 27 additions & 16 deletions User/Default (Windows).sublime-keymap
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@
{ "keys": ["ctrl+f9"], "command": "select_lines", "args": {"forward": false} },
{ "keys": ["ctrl+f8"], "command": "select_lines", "args": {"forward": true} },


// Sublime Column Select, https://github.com/ehuss/Sublime-Column-Select
{ "keys": ["alt+up"], "command": "column_select", "args": {"by": "lines", "forward": false}},
{ "keys": ["alt+down"], "command": "column_select", "args": {"by": "lines", "forward": true}},
Expand All @@ -136,6 +137,32 @@
{ "keys": ["shift+alt+home"], "command": "column_select", "args": {"by": "all", "forward": false}},
{ "keys": ["shift+alt+end"], "command": "column_select", "args": {"by": "all", "forward": true}},


// Moved to the Custom Settings package:
// https://forum.sublimetext.com/t/how-to-do-the-jump-back-command-from-find-panel/25610
//
// { "keys": ["alt+left"], "command": "jump_back" },
// { "keys": ["alt+right"], "command": "jump_forward" },

{ "keys": ["alt+left"], "command": "my_jump_back" },
{ "keys": ["alt+right"], "command": "my_jump_forward" },


// Add/remove/select of multiple cursors more convenient with keyboard, https://github.com/evandrocoan/PowerCursors
{ "keys": ["alt+="] , "command": "power_cursor_add" },
{ "keys": ["alt++"] , "command": "power_cursor_add" },
{ "keys": ["alt+keypad_plus"] , "command": "power_cursor_add" },

{ "keys": ["alt+-"] , "command": "power_cursor_remove", "context": [ { "key": "in_cursor_transition" } ] },
{ "keys": ["alt+keypad_minus"], "command": "power_cursor_remove", "context": [ { "key": "in_cursor_transition" } ] },

{ "keys": ["alt+["] , "command": "power_cursor_select" , "args": { "forward": false } },
{ "keys": ["alt+]"] , "command": "power_cursor_select" , "args": { "forward": true } },

{ "keys": ["alt+a"] , "command": "power_cursor_activate", "context": [ { "key": "in_cursor_transition" } ] },
{ "keys": ["escape"], "command": "power_cursor_exit" , "context": [ { "key": "in_cursor_transition" } ] },


{ "keys": ["pageup"], "command": "move", "args": {"by": "pages", "forward": false} },
{ "keys": ["pagedown"], "command": "move", "args": {"by": "pages", "forward": true} },
{ "keys": ["shift+pageup"], "command": "move", "args": {"by": "pages", "forward": false, "extend": true} },
Expand Down Expand Up @@ -356,22 +383,6 @@
{ "keys": ["ctrl+shift+r"], "command": "goto_symbol_in_project" },


{ "keys": ["alt+keypad_minus"], "command": "jump_back" },
{ "keys": ["alt+keypad_plus"], "command": "jump_forward" },

{ "keys": ["alt+-"], "command": "jump_back" },
{ "keys": ["alt+shift+-"], "command": "jump_forward" },

// Moved to the Custom Settings package:
// https://forum.sublimetext.com/t/how-to-do-the-jump-back-command-from-find-panel/25610
//
// { "keys": ["alt+left"], "command": "jump_back" },
// { "keys": ["alt+right"], "command": "jump_forward" },

{ "keys": ["alt+left"], "command": "my_jump_back" },
{ "keys": ["alt+right"], "command": "my_jump_forward" },


{ "keys": ["ctrl+i"], "command": "show_panel", "args": {"panel": "incremental_find", "reverse": false} },
{ "keys": ["ctrl+shift+i"], "command": "show_panel", "args": {"panel": "incremental_find", "reverse": true} },
{ "keys": ["ctrl+f"], "command": "show_panel", "args": {"panel": "find", "reverse": false} },
Expand Down

0 comments on commit 477b798

Please sign in to comment.