From 78a4b945efecd4c7b7ae0ef6d4ae298b970f189e Mon Sep 17 00:00:00 2001 From: Alexander Anpleenko Date: Sun, 14 Aug 2016 18:59:32 +0300 Subject: [PATCH] delete translate.sublime-macro --- Packages/User/Default (OSX).sublime-keymap | 28 ++++++++-- Packages/User/translate.sublime-macro | 65 ---------------------- 2 files changed, 22 insertions(+), 71 deletions(-) delete mode 100644 Packages/User/translate.sublime-macro diff --git a/Packages/User/Default (OSX).sublime-keymap b/Packages/User/Default (OSX).sublime-keymap index 91c9ae2..cd9844f 100644 --- a/Packages/User/Default (OSX).sublime-keymap +++ b/Packages/User/Default (OSX).sublime-keymap @@ -1,12 +1,32 @@ [ { "keys": ["alt+a"], "command": "run_macro_file", "args": {"file": "Packages/User/JS-consolelog.sublime-macro"} }, - // { "keys": ["alt+d"], "command": "run_macro_file", "args": {"file": "Packages/User/translate.sublime-macro"} }, { "keys": ["super+."], "command": "run_macro_file", "args": {"file": "Packages/User/DupliComment.sublime-macro"} }, { "keys": ["super+alt+,"], "command": "toggle_status_bar" }, - { "keys": ["super+\\"], "command": "toggle_side_bar" }, { "keys": ["super+alt+;"],"command": "toggle_setting","args":{"setting": "line_numbers"}}, { "keys": ["super+alt+'"], "command": "toggle_tabs" }, + // -------- Editor -------- + + // Visibility + { "keys": ["super+b"], "command": "toggle_side_bar" }, + { "keys": ["f11"], "command": "toggle_full_screen" }, + { "keys": ["shift+f11"], "command": "toggle_distraction_free" }, + + // Multiple Panes + { "keys": ["alt+shift+1"], "command": "set_layout", "args": {"cols": [0.0, 1.0], "rows": [0.0, 1.0], "cells": [[0, 0, 1, 1]]} }, + { "keys": ["alt+shift+2"], "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": ["alt+shift+3"], "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": ["alt+shift+4"], "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]]} }, + + // -------- Search -------- + + { "keys": ["super+f"], "command": "show_panel", "args": {"panel": "find", "reverse": false} }, + { "keys": ["super+shift+f"], "command": "show_panel", "args": {"panel": "replace", "reverse": false} }, + { "keys": ["shift+alt+f"], "command": "show_panel", "args": {"panel": "find_in_files"} }, + + // -------- Search & Repalce-------- + { "keys": ["shift+alt+z"], "command": "soft_undo" }, + //plugins hotkey { "keys": ["super+,"], "command": "append_comma"}, { "keys": ["super+shift+,"], "command": "append_comma", "args": {"enter_new_line": "true"}}, @@ -68,10 +88,6 @@ { "keys": ["ctrl+super+k"], "command": "swap_line_up", "context" : [{"key": "setting.command_mode"}]}, { "keys": ["ctrl+super+j"], "command": "swap_line_down", "context" : [{"key": "setting.command_mode"}]}, - //change key to nex tab - { "keys": ["q"], "command": "next_view", "context" : [{"key": "setting.command_mode"}] }, - { "keys": ["Q"], "command": "prev_view", "context" : [{"key": "setting.command_mode"}] }, - // quik commit key { "keys": ["super+g", "super+a"], "command": "git_add_choice"}, { "keys": ["super+g", "super+c"], "command": "git_commit"}, diff --git a/Packages/User/translate.sublime-macro b/Packages/User/translate.sublime-macro deleted file mode 100644 index 5d42bb3..0000000 --- a/Packages/User/translate.sublime-macro +++ /dev/null @@ -1,65 +0,0 @@ -[ - { - "args": - { - "to": "bol" - }, - "command": "move_to" - }, - { - "args": - { - "characters": "{" - }, - "command": "insert" - }, - { - "args": - { - "characters": "this." - }, - "command": "insert" - }, - { - "args": - { - "characters": "trans" - }, - "command": "insert" - }, - { - "args": - { - "characters": "late" - }, - "command": "insert" - }, - { - "args": - { - "characters": "(\"" - }, - "command": "insert" - }, - { - "args": - { - "to": "eol" - }, - "command": "move_to" - }, - { - "args": - { - "characters": "\"" - }, - "command": "insert" - }, - { - "args": - { - "characters": ")}" - }, - "command": "insert" - } -]