Advertisement
Virajsinh

.sublime-keymap

Feb 7th, 2023 (edited)
1,292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.62 KB | Source Code | 0 0
  1. ///Users/USERNAME/Library/Application Support/Sublime Text 3/Packages/User
  2.  
  3. [
  4.     //////////////////////////////////////
  5.     // perfect coding view (cmd+shift+r) //
  6.     ///////////////////////////////////////
  7.     { "keys": ["super+shift+r"],  "command": "reindent" },
  8.     /////////////////////////////////////////////
  9.     // perfect Paste Code View From inter Net  //
  10.     /////////////////////////////////////////////
  11.     { "keys": ["super+v"], "command": "paste_and_indent" },
  12.     { "keys": ["super+shift+v"], "command": "paste" },
  13.      
  14.     /////////////////////////////////
  15.     // console.log shortcut create //
  16.     /////////////////////////////////
  17.     {
  18.         "keys": ["ctrl+shift+l"],
  19.         "command": "insert_snippet",
  20.         "args": {
  21.             "contents": "console.log('=== $SELECTION $TM_FILENAME [$TM_LINE_NUMBER] ===', $SELECTION ${0});"
  22.         },
  23.         "context": {
  24.             "key": "selector",
  25.             "operator": "equal",
  26.             "operand": "source.js",
  27.             "match_all": true
  28.         }
  29.     },
  30.     // Insert DataTime
  31.     { "keys": ["f5"], "command": "insert_datetime"},
  32.     // Open File Location
  33.     {
  34.         "keys": ["ctrl+alt+e"],
  35.         "command": "open_dir",
  36.         "args": {"dir": "$file_path", "file": "$file_name"}
  37.     },
  38.     { "keys": ["ctrl+alt+s"], "command": "reveal_in_side_bar" },
  39.     // Title Case
  40.     { "keys": ["ctrl+shift+c"], "command": "title_case" },
  41.     // Clipboard Manager Copy Paste Command
  42.     { "keys": ["ctrl+x"], "command": "clipboard_manager_cut" },
  43.     { "keys": ["ctrl+c"], "command": "clipboard_manager_copy" },
  44.     { "keys": ["ctrl+v"], "command": "clipboard_manager_paste", "args": { "indent": true } },
  45.     { "keys": ["ctrl+alt+shift+v"], "command": "clipboard_manager_choose_and_paste" },
  46.     { "keys": ["ctrl+shift+'"], "command": "change_quotes" },
  47.     { "keys": ["ctrl+alt+f"], "command": "find_next_conflict" },
  48.     { "keys": ["ctrl+alt+o"], "command": "keep", "args": { "keep": "ours" } },
  49.     { "keys": ["ctrl+alt+t"], "command": "keep", "args": { "keep": "theirs" } },
  50.     { "keys": ["ctrl+alt+a"], "command": "keep", "args": { "keep": "ancestor" } },
  51.     { "keys": ["ctrl+alt+c"], "command": "list_conflict_files" },
  52.     // Delete Empty Line And Selected Code Remove Empty Lines
  53.     {
  54.         "keys": ["ctrl+shift+q"], "command": "delete_empty_lines",
  55.     },
  56.     {
  57.         "keys": ["super+alt+q"],
  58.         "command": "doxy_comment_nearest_entity",
  59.         "args": {},
  60.         "context": [
  61.             { "key": "selector", "operator": "equal", "operand": "source, text.html.cshtml, text.jade", "match_all": true }
  62.         ]
  63.     },
  64. ]
Tags: sublime text
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement