about summary refs log tree commit diff
path: root/Default (OSX).sublime-keymap
blob: 419051131ceeab7e81f3c17ca890b1e4696c9670 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[
  { "keys": ["super+\\"], "command": "toggle_side_bar" },
  { "keys": ["ctrl+tab"], "command": "next_view" },
  { "keys": ["ctrl+shift+tab"], "command": "prev_view" },
  {
    "keys": ["super+enter"],
    "command": "run_macro_file",
    "args": {
      "file": "res://Packages/Default/Add Line Before.sublime-macro"
    }
  },
  {
    "keys": ["j", "j"],
    "command": "_enter_normal_mode",
    "args": { "mode": "mode_insert" },
    "context": [{"key": "vi_insert_mode_aware"}]
  },
  {
    "keys": ["super+o"],
    "command": "show_panel",
    "args": { "panel": "console", "toggle": true } 
  },
  {
    "keys": ["super+shift+o"],
    "command": "reveal_in_side_bar"
  },
  {
    "keys": ["super+shift+r","p"],
    "command": "repl_open",
    "args": {
      "cmd": ["python", "-i", "-u"],
      "cwd": "$file_path",
      "encoding": "utf8",
      "extend_env": { "PYTHONIOENCODING": "utf-8" },
      "external_id": "python",
      "syntax": "Packages/Python/Python.tmLanguage",
      "type": "subprocess"
    }
  },
  {
    "keys": ["super+shift+r","j","s"],
    "command": "repl_open",
    "args": {
      "autocomplete_server": true,
      "cmd": {
        "linux": ["node", "${packages}/SublimeREPL/config/NodeJS/repl.js"],
        "osx": ["node", "${packages}/SublimeREPL/config/NodeJS/repl.js"],
        "windows": ["node.exe", "${packages}/SublimeREPL/config/NodeJS/repl.js"]
      },
      "cwd": "$file_path",
      "encoding": "utf8",
      "extend_env": { "NODE_NO_READLINE": 1 },
      "external_id": "js",
      "syntax": "Packages/JavaScript/JavaScript.tmLanguage",
      "type": "subprocess"
    }
  }
]