[컴] Zed 에서 내 key 설정

 

Zed 에서 내 key 설정

Zed 설정 / snippet / 스니핏 / 단축키 / Zed 단축키 / Zed shortcut / key bindings

// zed keymap
[
  {
    "context": "Workspace",
    "bindings": {
      // "shift shift": "file_finder::Toggle"
    },
  },
  {
    "context": "Editor && vim_mode == insert",
    "bindings": {
      // "j k": "vim::NormalBefore"
    },
  },

  {
    "context": "Editor",
    "use_key_equivalents": true,
    "bindings": {
      "ctrl-b": "editor::GoToDefinition",
      "f3": "search::SelectPreviousMatch",
      "f4": "search::SelectNextMatch",
      "shift-f4": "buffer_search::UseSelectionForFind",
      "shift-f3": "buffer_search::UseSelectionForFind",
      "alt-f2": "editor::GoToPreviousChange",
      "alt-f3": "editor::GoToNextChange",
      "alt-f7": "editor::FindAllReferences",
      "alt-f8": "editor::GoToDefinitionSplit",
      "ctrl-]": "editor::Fold",
      "ctrl-[": "editor::UnfoldLines",
      "ctrl-shift-]": "editor::FoldAll",
      "ctrl-shift-[": "editor::UnfoldAll",
    },
  },
  {
    "context": "Editor && mode == full",
    "use_key_equivalents": true,
    "bindings": {
      "ctrl-r": "outline::Toggle",
    },
  },
  {
      "context": "Editor && multibuffer",
      "bindings": {
        "alt-f7": "buffer_search::UseSelectionForFind",
        "f7": "search::SelectPreviousMatch",
        "f8": "search::SelectNextMatch",
      }
    }
]

See Also

  1. vscode 의 key 설정 방법
  2. sublime text 3 preferences key-bindings user

댓글 없음:

댓글 쓰기