LoginSignup
0
0

More than 1 year has passed since last update.

[SublimeText3] JetBrainsっぽいキーバインド

Posted at
  • 自分用のメモです
[
	// --------------------------------------------------------------------
    // Eclipse Key Bindings
    // ---------------------------------------------------------------------
    { "keys": ["alt+left"], "command": "jump_back" }
    ,{ "keys": ["alt+right"], "command": "jump_forward" }
    ,{ "keys": ["ctrl+y"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"} }
    ,{ "keys": ["ctrl+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} }
    ,{ "keys": ["shift+alt+r"], "command": "find_all_under" }
    ,{ "keys": ["ctrl+k"], "command": "find_under" }
    ,{ "keys": ["ctrl+shift+k"], "command": "find_under_prev" }
    ,{ "keys": ["alt+up"], "command": "swap_line_up" }
    ,{ "keys": ["alt+down"], "command": "swap_line_down" }
    ,{ "keys": ["ctrl+alt+j"], "command": "join_lines" }
    ,{ "keys": ["ctrl+d"], "command": "duplicate_line" }
    ,{ "keys": ["shift+ctrl+r"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} }
    ,{ "keys": ["shift+ctrl+y"], "command": "lower_case" }
    ,{ "keys": ["shift+ctrl+x"], "command": "upper_case" }
    ,{ "keys": ["ctrl+alt+l"], "command": "reindent" , "args": {"single_line": false}}
    ,{ "keys": ["ctrl+shift+c"], "command": "toggle_comment", "args": { "block": false } }
    ,{ "keys": ["ctrl+o"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@"} }
    ,{ "keys": ["ctrl+shift+s"], "command": "save_all" }
    ,{ "keys": ["shift+ctrl+f4"], "command": "close_all" }
    ,{ "keys": ["shift+ctrl+w"], "command": "close_all" }
    ,{ "keys": ["ctrl+b"], "command": "goto_definition" }
    ,{"keys": ["f5"], "command": "revert"}
    ,{ "keys": ["ctrl+f11"], "command": "build" }

    // ---------------------Sublime Text3 Original Shortcut Key ---------------------------
    ,{ "keys": ["alt+j"], "command": "find_under_expand" }
    ,{ "keys": ["ctrl+shift+o"], "command": "prompt_open_file" }
    ,{ "keys": ["ctrl+up"], "command": "select_lines", "args": {"forward": false} }
    ,{ "keys": ["ctrl+down"], "command": "select_lines", "args": {"forward": true} }


    // ------------------------ orifinal Key Binding-----------------------------------------
    ,{ "keys": ["ctrl+tab"], "command": "next_view" }
    ,{ "keys": ["ctrl+shift+tab"], "command": "prev_view" }
    ,{ "keys": ["ctrl+e"], "command": "open_dir"
        , "args": {
            "dir": "$file_path", "file": "$file_name"
        }
    }
    // open this file
    ,{ "keys": ["ctrl+shift+l"], "command": "open_file"
        ,"args":
        {
            "file": "${packages}/User/Default ($platform).sublime-keymap",
            "contents": "[\n\t$0\n]\n"
        }
    }
    ,{
        "keys": ["alt+shift+6"],
        "command": "set_layout",
        "args":
        {
            "rows": [0.0, 0.5, 1.0],
            "cols": [0.0, 0.5, 1.0],
            "cells": [[0,0,1,2], [1,0,2,1], [1,1,2,2]]
        }
    }
]
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0