Last active
November 9, 2022 22:17
-
-
Save alepee/11284844 to your computer and use it in GitHub Desktop.
SublimeText shortcuts for Mac French keyboard (azerty)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
[ | |
// Square brackets aren't that usable in azerty. | |
// Replaces [ with ù and ] with $, closest usable combination to the American qwerty | |
{ "keys": ["super+shift+ù"], "command": "prev_view" }, | |
{ "keys": ["super+shift+$"], "command": "next_view" }, | |
{ "keys": ["super+ù"], "command": "unindent" }, | |
{ "keys": ["super+$"], "command": "indent" }, | |
{ "keys": ["super+alt+ù"], "command": "fold" }, | |
{ "keys": ["super+alt+$"], "command": "unfold" }, | |
// Default console toggle shortcut (ctrl+`) does not work in azerty | |
{ "keys": ["ctrl+@"], "command": "show_panel", "args": {"panel": "console", "toggle": true} }, | |
// Sublime ERB (plugin) | |
{ "keys": ["super+;"], "command": "erb" }, | |
// Indentation | |
{ "keys": ["ctrl+i"], "command": "reindent" }, | |
{ "keys": ["alt+tab"], "command": "reindent", "args": {"single_line": true} }, | |
{ "keys": ["ctrl+shift+a"], "command": "alignment" }, | |
// Shortcuts involving numbersmade usable without shift | |
{ | |
"keys": ["super+alt+&"], | |
"command": "set_layout", | |
"args": | |
{ | |
"cols": [0.0, 1.0], | |
"rows": [0.0, 1.0], | |
"cells": [[0, 0, 1, 1]] | |
} | |
}, | |
{ | |
"keys": ["super+alt+é"], | |
"command": "set_layout", | |
"args": | |
{ | |
"cols": [0.0, 0.5, 1.0], | |
"rows": [0.0, 1.0], | |
"cells": [[0, 0, 1, 1], [1, 0, 2, 1]] | |
} | |
}, | |
{ | |
"keys": ["super+alt+\""], | |
"command": "set_layout", | |
"args": | |
{ | |
"cols": [0.0, 0.33, 0.66, 1.0], | |
"rows": [0.0, 1.0], | |
"cells": [[0, 0, 1, 1], [1, 0, 2, 1], [2, 0, 3, 1]] | |
} | |
}, | |
{ | |
"keys": ["super+alt+'"], | |
"command": "set_layout", | |
"args": | |
{ | |
"cols": [0.0, 0.25, 0.5, 0.75, 1.0], | |
"rows": [0.0, 1.0], | |
"cells": [[0, 0, 1, 1], [1, 0, 2, 1], [2, 0, 3, 1], [3, 0, 4, 1]] | |
} | |
}, | |
{ | |
"keys": ["super+alt+shift+é"], | |
"command": "set_layout", | |
"args": | |
{ | |
"cols": [0.0, 1.0], | |
"rows": [0.0, 0.5, 1.0], | |
"cells": [[0, 0, 1, 1], [0, 1, 1, 2]] | |
} | |
}, | |
{ | |
"keys": ["super+alt+shift+\""], | |
"command": "set_layout", | |
"args": | |
{ | |
"cols": [0.0, 1.0], | |
"rows": [0.0, 0.33, 0.66, 1.0], | |
"cells": [[0, 0, 1, 1], [0, 1, 1, 2], [0, 2, 1, 3]] | |
} | |
}, | |
{ | |
"keys": ["super+alt+("], | |
"command": "set_layout", | |
"args": | |
{ | |
"cols": [0.0, 0.5, 1.0], | |
"rows": [0.0, 0.5, 1.0], | |
"cells": [ | |
[0, 0, 1, 1], [1, 0, 2, 1], | |
[0, 1, 1, 2], [1, 1, 2, 2] | |
] | |
} | |
}, | |
{ "keys": ["ctrl+&"], "command": "focus_group", "args": { "group": 0 } }, | |
{ "keys": ["ctrl+é"], "command": "focus_group", "args": { "group": 1 } }, | |
{ "keys": ["ctrl+\""], "command": "focus_group", "args": { "group": 2 } }, | |
{ "keys": ["ctrl+'"], "command": "focus_group", "args": { "group": 3 } }, | |
{ "keys": ["ctrl+shift+&"], "command": "move_to_group", "args": { "group": 0 } }, | |
{ "keys": ["ctrl+shift+é"], "command": "move_to_group", "args": { "group": 1 } }, | |
{ "keys": ["ctrl+shift+\""], "command": "move_to_group", "args": { "group": 2 } }, | |
{ "keys": ["ctrl+shift+'"], "command": "move_to_group", "args": { "group": 3 } }, | |
{ "keys": ["ctrl+à"], "command": "focus_side_bar" }, | |
{ "keys": ["super+&"], "command": "select_by_index", "args": { "index": 0 } }, | |
{ "keys": ["super+é"], "command": "select_by_index", "args": { "index": 1 } }, | |
{ "keys": ["super+\""], "command": "select_by_index", "args": { "index": 2 } }, | |
{ "keys": ["super+'"], "command": "select_by_index", "args": { "index": 3 } }, | |
{ "keys": ["super+("], "command": "select_by_index", "args": { "index": 4 } }, | |
{ "keys": ["super+§"], "command": "select_by_index", "args": { "index": 5 } }, | |
{ "keys": ["super+è"], "command": "select_by_index", "args": { "index": 6 } }, | |
{ "keys": ["super+!"], "command": "select_by_index", "args": { "index": 7 } }, | |
{ "keys": ["super+ç"], "command": "select_by_index", "args": { "index": 8 } }, | |
{ "keys": ["super+à"], "command": "select_by_index", "args": { "index": 9 } }, | |
{ "keys": ["super+k", "super+&"], "command": "fold_by_level", "args": {"level": 1} }, | |
{ "keys": ["super+k", "super+é"], "command": "fold_by_level", "args": {"level": 2} }, | |
{ "keys": ["super+k", "super+\""], "command": "fold_by_level", "args": {"level": 3} }, | |
{ "keys": ["super+k", "super+'"], "command": "fold_by_level", "args": {"level": 4} }, | |
{ "keys": ["super+k", "super+("], "command": "fold_by_level", "args": {"level": 5} }, | |
{ "keys": ["super+k", "super+§"], "command": "fold_by_level", "args": {"level": 6} }, | |
{ "keys": ["super+k", "super+è"], "command": "fold_by_level", "args": {"level": 7} }, | |
{ "keys": ["super+k", "super+!"], "command": "fold_by_level", "args": {"level": 8} }, | |
{ "keys": ["super+k", "super+ç"], "command": "fold_by_level", "args": {"level": 9} }, | |
{ "keys": ["super+k", "super+à"], "command": "unfold_all" }, | |
// Sublime text non-breakable space issue | |
{ "keys": ["alt+space"], "command": "insert_snippet", "args": {"contents": " "} } | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment