Last active
December 26, 2015 22:49
-
-
Save beaugaines/7226384 to your computer and use it in GitHub Desktop.
Sublime keymap for Linux
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
[ | |
{ "keys": ["ctrl+shift+."], "command": "erb" }, | |
{ "keys": ["ctrl+shift+t"], "command": "delete_trailing_spaces" }, | |
# jump to beginning of line | |
{ "keys": ["alt+9"], "command": "move_to", "args": {"to": "bol", "extend": false}}, | |
# jump to end of line | |
{ "keys": ["alt+0"], "command": "move_to", "args": {"to": "eol", "extend": false}}, | |
{ "keys": ["alt+u"], "command": "insert", "args": {"characters": "_"} }, | |
{ "keys": ["alt+="], "command": "insert", "args": {"characters": "=>"} }, | |
{ "keys": ["alt+a"], "command": "insert", "args": {"characters": "@"} }, | |
{ "keys": ["alt+;"], "command": "insert", "args": {"characters": "?"} }, | |
{ "keys": ["alt+,"], "command": "insert", "args": {"characters": "+"} }, | |
{ "keys": ["alt+'"], "command": "insert", "args": {"characters": "="} }, | |
{ "keys": ["alt+o"], "command": "insert", "args": {"characters": "\n"} }, | |
{ "keys": ["alt+."], "command": "insert", "args": {"characters": "!"} }, | |
# switch tab right | |
{ "keys": ["alt+o"], "command": "next_view" }, | |
# switch tab left | |
{ "keys": ["alt+i"], "command": "prev_view" }, | |
{ "keys": ["super+d"], "command": "find_under_expand" }, | |
{ "keys": ["super+u"], "command": "redo_or_repeat" }, | |
{ "keys": ["ctrl+alt+d"], "command": "duplicate_line" }, | |
{ "keys": ["ctrl+alt+l"], "command": "split_selection_into_lines" }, | |
{ "keys": ["ctrl+shift+o"], "command": "reopen_last_file" }, | |
{ "keys": ["alt+w"], "command": "close" }, | |
{ "keys": ["alt+s"], "command": "save" }, | |
{ "keys": ["ctrl+shift+["], "command": "unindent" }, | |
{ "keys": ["ctrl+alt+d"], "command": "duplicate_line" }, | |
{ "keys": ["alt+b"], "command": "toggle_side_bar" }, | |
{ "keys": ["shift+alt+f"], "command": "reindent", "args": {"single_line": false}}, | |
{ "keys": ["ctrl+super+w"], "command": "close_other_tabs" }, | |
{ "keys": ["super+r"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@"} }, | |
{ "keys": ["ctrl+shift+x"], "command": "htmlprettify" }, | |
{ "keys": ["super+shift+c"], "command": "color_pick" }, | |
{ "keys": ["alt+/"], "command": "toggle_comment", "args": { "block": false } }, | |
# Binding for advanced new file | |
{ "keys": ["n", "n"], "command": "advanced_new_file", | |
"context": [{"key": "setting.command_mode", "operand": true}]}, | |
{ "keys": ["alt+enter"], "command": "run_macro_file", "args": {"file": "Packages/Default/Add Line.sublime-macro"} }, | |
# TextMate style comments | |
{ "keys": ["ctrl+shift+b"], "command": "insert_snippet", "args": {"contents": "${TM_COMMENT_START/s*$//} ==${1/./=/g}==${TM_COMMENT_END/^s*(.+)/ $1/}\n${TM_COMMENT_START/s*$//} = ${1:Banner} =${TM_COMMENT_END/^s*(.+)/ $1/}\n${TM_COMMENT_START/s*$//} ==${1/./=/g}==${TM_COMMENT_END/^s*(.+)/ $1/}"}}, | |
# Bacon ipsum shortcut | |
{ "keys": ["ctrl+alt+b"], "command": "insert_snippet", "args": {"contents": "Pork beef short ribs brisket strip steak tenderloin. Tongue sirloin chuck, beef ribs t-bone pork loin tri-tip beef jerky meatloaf rump pork chop corned beef fatback. Sausage tongue pork belly venison, bacon pork jowl pastrami sirloin brisket rump salami. Chicken pig rump, tail shankle boudin ground round ham hock tri-tip leberkas speck turkey t-bone strip steak. Frankfurter shank turducken sausage, kielbasa boudin prosciutto tri-tip meatloaf chicken jowl salami pig.\n\nPastrami brisket tri-tip biltong tenderloin chicken. Sirloin venison pork loin boudin, ground round ribeye kielbasa frankfurter speck meatball spare ribs ham. Meatball short ribs strip steak, pork chop tri-tip meatloaf frankfurter pork belly jerky capicola ground round. Pork belly filet mignon frankfurter, sausage jowl chicken capicola brisket andouille speck boudin cow pastrami prosciutto t-bone. Sausage tenderloin drumstick filet mignon, pastrami frankfurter shoulder pork loin corned beef swine speck beef fatback jowl spare ribs.\n\nSalami speck bresaola, shank filet mignon tri-tip prosciutto shoulder ham hock meatball frankfurter capicola tail. Drumstick turducken fatback ham. Prosciutto sausage jerky short loin turducken. Speck pork chop capicola turkey meatloaf. Cow shank sirloin capicola, tongue salami speck tail leberkas brisket corned beef jowl fatback t-bone. Hamburger andouille bacon short loin. Kielbasa jerky jowl sirloin prosciutto."}}, | |
# JShint | |
{ "keys": ["ctrl+shift+j"], "command": "jshint" } | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment