Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting up a Mac for Linux users & Editor #3

Open
joshmfrankel opened this issue Oct 19, 2023 · 18 comments
Open

Setting up a Mac for Linux users & Editor #3

joshmfrankel opened this issue Oct 19, 2023 · 18 comments

Comments

@joshmfrankel
Copy link
Owner

joshmfrankel commented Oct 19, 2023

Apps

  • 1Clipboard
  • Brave Browser
  • Docker
  • Giphy Capture
  • Hidden Bar
  • iA Writer
  • Insomnia
  • iTerm 2
  • Magnet
  • Spotify
  • Slack
  • Sublime Text
  • Sublime Merge
@joshmfrankel
Copy link
Owner Author

joshmfrankel commented Jun 17, 2024

Homebrew

# Install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# Add to path
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/joshfrankel/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"

@joshmfrankel
Copy link
Owner Author

Keyboard

Customize Modifier keys

Image

  • Change Control -> Command
  • Change Command -> Control

Spotlight

  • Show spotlight search - Control + Space
  • Show finder search window - Control + Shift + Space

Screenshots

  • Copy Picture of selected area to clipboard - F13 (printscrn)

@joshmfrankel
Copy link
Owner Author

Mouse

  • Natural Scrolling - Disabled

@joshmfrankel
Copy link
Owner Author

joshmfrankel commented Jun 17, 2024

Dock

  • Minimize Window using - Scale Effect
  • Minimize Windows into Application icon - Enabled
  • Automatically hide / show dock - Enabled
  • Show suggested and recent apps in Dock - Disabled
  • Automatically rearrange spaces based on use - Disabled

Image

Desktop & Stage Manager

  • Click wallpaper to reveal desktop - Only in Stage Manager

Faster reveal

defaults write com.apple.dock autohide-delay -int 0
defaults write com.apple.dock autohide-time-modifier -float 0.4
killall Dock

Image

@joshmfrankel
Copy link
Owner Author

Magnet - App

  • Left - Control + Command + Left
  • Right - Control + Command + Right
  • Center Third - Control + Command + Down
  • Maximize - Control + Command + Up

@joshmfrankel
Copy link
Owner Author

joshmfrankel commented Jun 17, 2024

iTerm2

Appearance

  • Exclude from Dock - Enabled

Image

New Profile - Guake

General

  • Working Directory - "Reuse previous session's directory"

Image

Colors

  • Color Preset - Solarized Dark
    Image

Text

  • Font - Monaco, Regular, 14

Terminal

  • Scrollback buffer - Enabled unlimited scrollback
    Image

Window

  • Style - Full-Width Top of Screen
    Image
  • Rows - 50

Keys

  • Left Option key - Esc+

Image

  • A hotkey opens a dedicated window with this profile - Enabled
  • Configure Hotkey window
  • Double pressing command (or ctrl if remapped) opens window (useful for laptop keyboard)

Image

  • Hotkey - Set hotkey
  • Animate showing and hiding - Disabled

Keys

Key Bindings

  • Next Tab - Ctrl + Alt + Right
  • Prev Tab - Ctrl + Alt + Left
    Image
  • Paste or Send ^V - Ctrl + Shift + V
  • Copy or Send ^C - Ctrl + Shift + C
  • Delete word - Send Hex Codes 0x17 - Ctrl + Delete
  • Delete Line - Send Hex Codes 0x15 - Command + Delete
  • Previous Word - Send Escape Code b - Option + Left
  • Next Word - Send Escape Code f - Option + Right
  • SIGINT - Send Hex Code 0x03 - Command + C

@joshmfrankel
Copy link
Owner Author

joshmfrankel commented Jun 17, 2024

System Settings

Appearance

  • Change to Dark
  • Change accent to purple

Display

  • Change to mirror mode - For closed laptop on big screen
  • Note: Make sure to go to notifications settings menu and "Enable" - Allow notifications when mirroring or sharing the display

Menu Bar

  • [Optional] Automatically hide and show the menu bar - Always

Image

@joshmfrankel
Copy link
Owner Author

joshmfrankel commented Jun 17, 2024

Terminal

Install oh-my-zsh

  • sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
  • open ~/.zshrc
  • Change ZSH_THEME to "af-magic"
  • Add rails command-not-found vscode to plugins

Syntax Highlighting

brew install zsh-syntax-highlighting
echo "source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
source ~/.zshrc

Auto Suggestion

git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
# Add to .zshrc plugins
plugins=(zsh-autosuggestions)

# Adjust colors in .zshrc if auto suggestions don't appear
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=60'

@joshmfrankel
Copy link
Owner Author

joshmfrankel commented Jun 24, 2024

Version Manager

  • Docker
  • asdf-vm
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.0

asdf add plugin ruby
asdf add plugin nodejs
asdf add plugin golang

brew install libyaml # For ruby installation
brew install postgresql # For 'pg' gem

@joshmfrankel
Copy link
Owner Author

joshmfrankel commented Jun 26, 2024

VSCode

  • Install code to path

Image

Keybindings

Image

@joshmfrankel
Copy link
Owner Author

joshmfrankel commented Jul 8, 2024

Sublime Text - Settings

Settings

{
  "always_show_minimap_viewport": true,
  "auto_complete_include_snippets": true,
  "bold_folder_labels": true,
  "caret_style": "phase",
  "color_scheme": "Packages/Material Theme/schemes/Material-Theme-Palenight.tmTheme",
  "draw_minimap_border": true,
  "draw_white_space": [
    "selection",
    "trailing",
    "isolated"
  ],
  "ensure_newline_at_eof_on_save": true,
  "fade_fold_buttons": false,
  "font_face": "Operator Mono Medium",
  "font_size": 15,
  "highlight_line": true,
  "highlight_modified_tabs": true,
  "ignored_packages": [
    "Vintage",
  ],
  "indent_guide_options": [
    "draw_normal",
    "draw_active"
  ],
  "index_files": true,
  "line_padding_top": 1,
  "line_padding_bottom": 1,
  "overlay_scroll_bars": "enabled",
  "rulers": [
    120
  ],
  "scroll_past_end": 0.25,
  "shift_tab_unindent": true,
  "show_full_path": true,
  "show_rel_path": true,
  "show_sidebar_button": false,
  "show_indentation": false,
  "tab_size": 2,
  "theme": "Material-Theme-Palenight.sublime-theme",
  "translate_tabs_to_spaces": true,
  "trim_trailing_white_space_on_save": "all",
  "update_system_recent_files": false,
  "word_wrap": true,
  "material_theme_contrast_mode": true,
  "material_theme_panel_separator": true,
  "material_theme_small_statusbar": true,
  "material_theme_big_fileicons": true,
  "material_theme_compact_sidebar": true,
  "material_theme_tabs_separator": true,
  "material_theme_accent_bright-teal": true,
}

Add to CLI

# Mac
echo 'export PATH="/Applications/Sublime Text.app/Contents/SharedSupport/bin:$PATH"' >> ~/.zshrc

Resources

@joshmfrankel
Copy link
Owner Author

joshmfrankel commented Jul 18, 2024

Sublime Text - Plugins

  • BracketHighlighter
  • FileManager
  • LSP
  • LSP-typescript
  • LSP-eslint
  • LSP-json
  • LSP-html
  • Material Theme
  • Synced Sidebar
  • TestRspec

Alternative to LSP

  • SublimeLinter
  • SublimtLinter-eslint
  • Sublime-Codefmt

Material Theme

  • Palenight

FileManager

{
  "show_edit_to_the_left_command": false,
  "show_edit_to_the_right_command": false,
  "show_find_in_files_command": false,
  "show_open_in_browser_command": false,
}

@joshmfrankel
Copy link
Owner Author

Sublime Text - LSP

Option 1 - LSP

sublimelsp/LSP#2501

gem install rubocop
gem install solargraph
gem install solargraph-rails
npm install -g typescript-language-server typescript eslint
  • LSP
  • LSP-typescript

Ensure that Typescript does not try to format styles. Eslint/prettier should handle this (see: sublimelsp/LSP-typescript#118)

{
  "disabled_capabilities": {
    "documentFormattingProvider": true,
    "documentRangeFormattingProvider": true,
  },
}
  • LSP-eslint
  • LSP-json
  • LSP-html
{
  "lsp_format_on_save": true,
  "lsp_code_actions_on_save": {
    "source.fixAll.eslint": true,
  },

  "diagnostics_highlight_style": {
    "error": "box",
    "warning": "box",
    "info": "box",
    "hint": "box",
  },

  "diagnostics_gutter_marker": "dot",
  "show_code_lens": "phantom",
   "show_inlay_hints": true,
   "document_highlight_style": "background",
  "clients": {
    "ruby": {
        "enabled": false,
        "command": ["/Users/joshfrankel/.asdf/shims/solargraph", "stdio"],
        "selector": "source.ruby | text.html.ruby",
        "initializationOptions": {
            "diagnostics": true,
        },
    },
  },
}

@joshmfrankel
Copy link
Owner Author

Option 2 - SublimeLinter + Sublime-Codefmt

SublimeLinter

Install linter binaries

npm install -g eslint_d
npm install -g prettier
gem install rubocop

Settings

// SublimeLinter Settings - User
{
  "show_panel_on_save": "view",

  "linters": {
    "eslint": {
      "env": {
        "PATH": "~/.asdf/shims:$PATH",
      },
    },

    "rubocop": {
      "executable": "~/.asdf/shims/rubocop",
    },
  },
}

Sublime-codefmt

Auto-format files in the background

  • Package Control: Add Respository
  • https://sublime.fnando.com/repositories.json
  • Codefmt: Settings

Eslint_d is optional. Prettier will handle most cases but left here for posterity

{
  "overrides": {
    "eslint": {
      "command": [
        "/Users/joshfrankel/.asdf/shims/eslint_d",
        "--fix",
        "--config",
        "$config",
        "$file",
      ],
    },

    "rubocop": {
      "command": [
        "/Users/joshfrankel/.asdf/shims/rubocop",
        "--autocorrect-all",
        "--raise-cop-error",
        "--no-color",
        "--config",
        "$config",
        "$file",
      ],
    },

    "prettier": {
      "command": [
        "/Users/joshfrankel/.asdf/shims/prettier",
        "--parser",
        "$parser",
        "--write",
        "--config",
        "$config",
        "$file",
      ],
    },
  },
}

@joshmfrankel
Copy link
Owner Author

joshmfrankel commented Aug 9, 2024

Sublime Text - Keybindings

[
  {
    "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,
        1.0
      ],
      "rows": [
        0.0,
        0.5,
        1.0
      ],
      "cells": [
        [
          0,
          0,
          1,
          1
        ],
        [
          0,
          1,
          1,
          2
        ]
      ]
    }
  },
  {
    "keys": [
      "super+shift+k"
    ],
    "command": "run_macro_file",
    "args": {
      "file": "res://Packages/Default/Delete Line.sublime-macro"
    }
  },
  {
    "keys": [
      "super+t"
    ],
    "command": "show_overlay",
    "args": {
      "overlay": "goto",
      "text": ":"
    }
  },
  // Movement
  {
    "keys": [
      "super+left"
    ],
    "command": "move",
    "args": {
      "by": "subwords",
      "forward": false
    }
  },
  {
    "keys": [
      "super+right"
    ],
    "command": "move",
    "args": {
      "by": "subwords",
      "forward": true
    }
  },
  {
    "keys": [
      "super+left+home"
    ],
    "command": "move_to",
    "args": {
      "to": "bol"
    }
  },
  {
    "keys": [
      "super+right+end"
    ],
    "command": "move_to",
    "args": {
      "to": "eol"
    }
  },
  {
    "keys": [
      "end"
    ],
    "command": "move_to",
    "args": {
      "to": "eol"
    }
  },
  {
    "keys": [
      "home"
    ],
    "command": "move_to",
    "args": {
      "to": "bol"
    }
  },
  {
    "keys": [
      "end"
    ],
    "command": "move_to",
    "args": {
      "to": "eol"
    }
  },
  {
    "keys": [
      "shift+end"
    ],
    "command": "move_to",
    "args": {
      "to": "eol",
      "extend": true
    }
  },
  {
    "keys": [
      "shift+home"
    ],
    "command": "move_to",
    "args": {
      "to": "bol",
      "extend": true
    }
  },
  {
    "keys": [
      "super+m"
    ],
    "command": "move_to",
    "args": {
      "to": "brackets"
    }
  },
  // Utilities
  {
    "keys": [
      "super+shift+alt+d"
    ],
    "command": "clone_file"
  },
  // TestRspec
  {
    "keys": [
      "option+shift+r"
    ],
    "command": "test_current_line",
    "context": [
      {
        "key": "selector",
        "operator": "equal",
        "operand": "source.ruby, source.rspec"
      }
    ]
  },
  {
    "keys": [
      "option+shift+t"
    ],
    "command": "test_current_file",
    "context": [
      {
        "key": "selector",
        "operator": "equal",
        "operand": "source.ruby, source.rspec"
      }
    ]
  },
  {
    "keys": [
      "option+shift+e"
    ],
    "command": "run_last_spec"
  },
  {
    "keys": [
      "option+shift+w"
    ],
    "command": "switch_between_code_and_test",
    "context": [
      {
        "key": "selector",
        "operator": "equal",
        "operand": "source.ruby, source.rspec"
      }
    ]
  },
]

Resources

@joshmfrankel
Copy link
Owner Author

joshmfrankel commented Sep 6, 2024

Cursor Editor

Plugins

  • Ruby LSP
  • EditorConfig for VS Code
  • endwise
  • GitLens
  • Material Theme
  • Material Theme Icons
  • Ruby-symbols
  • Selected Lines Count
  • Sublime Text Keymap and Settings Importer
  • VScode-run-rspec-file

Cursor Settings

  • Privacy Mode - Disabled
  • Model Names Enabled - cursor-small & claude-3.5-sonnet

@joshmfrankel
Copy link
Owner Author

Cursor Editor - Settings

{
  "editor": {
    "fontFamily": "Operator Mono Medium",
    "fontLigatures": "'ss01','ss05','dlig'",
    "fontSize": 15,
    "formatOnSave": true,
    "lineHeight": 0,
    "multiCursorModifier": "ctrlCmd",
    "scrollPredominantAxis": false,
    "scrollBeyondLastLine": false,
    "smoothScrolling": true,
    "snippetSuggestions": "top",
    "tabSize": 2,
    "wordWrap": "on",
  },
  "workbench.commandPalette.history": 10,
  "explorer.confirmDelete": false,
  "workbench.tree.indent": 20,
  "workbench.editor.highlightModifiedTabs": true,
  "workbench.editor.tabSizing": "shrink",
  "files.insertFinalNewline": true,
  "files.trimTrailingWhitespace": true,
  "terminal.external.linuxExec": "zsh",
  "terminal.integrated.fontSize": 13,
  "security.workspace.trust.untrustedFiles": "open",
  "git.autofetch": true,
  "workbench.colorTheme": "Material Theme Palenight High Contrast",
  "window.commandCenter": false,
  "workbench.activityBar.location": "top",
  "workbench.colorCustomizations": {
    "editor.findMatchHighlightBorder": "#b638ffa4",
    "editorIndentGuide.activeBackground1": "#b638ffa4",
    "editorError.foreground": "#ff000088",
    "editorWarning.foreground": "#ffe60033",
    "editorInfo.foreground": "#00ff0088",
    "tab.activeBorder": "#9d00ff",
    "tab.unfocusedActiveBorder": "#000000",
    "tab.inactiveForeground": "#959DCB",
    "[Material Theme Palenight High Contrast]": {
      "activityBarBadge.background": "#64FFDA",
      "activityBar.activeBorder": "#64FFDA",
      "list.activeSelectionForeground": "#64FFDA",
      "list.inactiveSelectionForeground": "#64FFDA",
      "list.highlightForeground": "#64FFDA",
      "scrollbarSlider.activeBackground": "#64FFDA50",
      "editorSuggestWidget.highlightForeground": "#64FFDA",
      "textLink.foreground": "#64FFDA",
      "progressBar.background": "#64FFDA",
      "pickerGroup.foreground": "#64FFDA",
      "tab.activeBorder": "#64FFDA",
      "notificationLink.foreground": "#64FFDA",
      "editorWidget.resizeBorder": "#64FFDA",
      "editorWidget.border": "#64FFDA",
      "settings.modifiedItemIndicator": "#64FFDA",
      "settings.headerForeground": "#64FFDA",
      "panelTitle.activeBorder": "#64FFDA",
      "breadcrumb.activeSelectionForeground": "#64FFDA",
      "menu.selectionForeground": "#64FFDA",
      "menubar.selectionForeground": "#64FFDA",
      "editor.findMatchBorder": "#64FFDA",
      "selection.background": "#64FFDA40",
      "statusBarItem.remoteBackground": "#64FFDA"
    }
  },
  "search.location": "panel",
  "workbench.layoutControl.enabled": false,
  "editor.formatOnPaste": false,
  "editor.suggest.preview": true,
  "diffEditor.renderSideBySide": false,
  "diffEditor.experimental.showMoves": true,
  "solargraph.autoformat": true,
  "solargraph.commandPath": "/Users/joshfrankel/.asdf/shims/solargraph",
  "solargraph.logLevel": "debug",
  "breadcrumbs.symbolPath": "off",
  "breadcrumbs.enabled": false,
  "window.title": "${activeFolderMedium}${separator}${activeEditorShort}${separator}(${activeRepositoryBranchName})",
  "search.mode": "reuseEditor",
  "editor.scrollbar.verticalScrollbarSize": 16,
  "editor.padding.bottom": 200,
  "materialTheme.accent": "Bright Teal",
  "workbench.preferredHighContrastColorTheme": "Material Theme Palenight High Contrast",
  "workbench.iconTheme": "eq-material-theme-icons-palenight",
  "editor.tokenColorCustomizations": {
    "textMateRules": [
      {
        "scope": [
          "keyword.control.ruby",
          "keyword.control.def.ruby",
          "keyword.control.start-block.ruby",
          "keyword.control.pseudo-method.ruby",
          "keyword.control.module.ruby",
          "keyword.control.class.ruby",
        ],
        "settings": {
          "foreground": "#c792ea"
        }
      },
      {
        "scope": [
          "constant.language.ruby",
          "variable.parameter.function.ruby",
          "constant.other.symbol.hashkey.parameter.function.ruby",
        ],
        "settings": {
          "foreground": "#F78C6C"
        }
      },
      {
        "scope": [
          "source.ruby",
          "variable.other.readwrite.instance.ruby",
        ],
        "settings": {
          "foreground": "#959DCB"
        }
      },
      {
        "scope": [
          "constant.other.symbol.hashkey.ruby",
          "constant.other.symbol.ruby"
        ],
        "settings": {
          "foreground": "#C3E88D"
        }
      },
      {
        "scope": [
          "keyword.other.special-method.ruby",
        ],
        "settings": {
          "foreground": "#82AAFF",
          "fontStyle": "italic",
        }
      },
      {
        "scope": [
          "variable.other.constant.ruby",
        ],
        "settings": {
          "foreground": "#FFCB6B",
        }
      },
    ]
  },
  "editor.minimap.enabled": true,
  "editor.minimap.autohide": true,
  "gitlens.codeLens.enabled": false,
  "gitlens.hovers.enabled": false,
  "rubyLsp.formatter": "rubocop",
  "[ruby]": {
    "editor.defaultFormatter": "Shopify.ruby-lsp",
  }
}

@joshmfrankel
Copy link
Owner Author

Cursor Editor - Keybindings

// Place your key bindings in this file to override the defaults
[
  {
    "key": "ctrl+shift+down",
    "command": "-editor.action.insertCursorBelow",
    "when": "editorTextFocus"
  },
  {
    "key": "ctrl+shift+down",
    "command": "editor.action.moveLinesDownAction",
    "when": "editorTextFocus && !editorReadonly"
  },
  {
    "key": "alt+down",
    "command": "-editor.action.moveLinesDownAction",
    "when": "editorTextFocus && !editorReadonly"
  },
  {
    "key": "ctrl+cmd+down",
    "command": "-editor.action.moveLinesDownAction",
    "when": "editorTextFocus"
  },
  {
    "key": "ctrl+shift+up",
    "command": "editor.action.moveLinesUpAction",
    "when": "editorTextFocus && !editorReadonly"
  },
  {
    "key": "alt+up",
    "command": "-editor.action.moveLinesUpAction",
    "when": "editorTextFocus && !editorReadonly"
  },
  {
    "key": "ctrl+shift+up",
    "command": "-editor.action.insertCursorAbove",
    "when": "editorTextFocus"
  },
  {
    "key": "cmd+q",
    "command": "-workbench.action.quit"
  },
  {
    "key": "cmd+k",
    "command": "aipopup.action.modal.generate",
    "when": "editorFocus && !composerBarIsVisible && !composerControlPanelIsVisible"
  },
  {
    "key": "cmd+k",
    "command": "-aipopup.action.modal.generate",
    "when": "editorFocus && !composerBarIsVisible && !composerControlPanelIsVisible"
  },
  {
    "key": "shift+cmd+k",
    "command": "-aipopup.action.modal.generate",
    "when": "editorFocus && !composerBarIsVisible && !composerControlPanelIsVisible"
  },
  {
    "key": "shift+cmd+f",
    "command": "-workbench.action.findInFiles"
  },
  {
    "key": "shift+cmd+f",
    "command": "-workbench.view.search",
    "when": "workbench.view.search.active && neverMatch =~ /doesNotMatch/"
  },
  {
    "key": "shift+cmd+f",
    "command": "workbench.action.findInFiles"
  },
  {
    "key": "shift+alt+r",
    "command": "extension.runLineOnRspec",
    "when": "editorLangId == 'ruby'"
  },
  {
    "key": "cmd+l",
    "command": "-extension.runLineOnRspec",
    "when": "editorLangId == 'ruby'"
  },
  {
    "key": "shift+alt+t",
    "command": "extension.runFileOnRspec",
    "when": "editorLangId == 'ruby'"
  },
  {
    "key": "alt+cmd+l",
    "command": "-extension.runFileOnRspec",
    "when": "editorLangId == 'ruby'"
  },
  {
    "key": "shift+alt+e",
    "command": "extension.runOnLastSpec",
    "when": "editorLangId == 'ruby'"
  },
  {
    "key": "cmd+y",
    "command": "-extension.runOnLastSpec",
    "when": "editorLangId == 'ruby'"
  },
  {
    "key": "shift+alt+w",
    "command": "extension.runOpenSpec",
    "when": "editorLangId == 'ruby'"
  },
  {
    "key": "alt+cmd+o",
    "command": "-extension.runOpenSpec",
    "when": "editorLangId == 'ruby'"
  },
  {
    "key": "shift+alt+2",
    "command": "workbench.action.editorLayoutTwoColumns"
  },
  {
    "key": "shift+alt+3",
    "command": "workbench.action.editorLayoutThreeColumns"
  },
  {
    "key": "shift+alt+1",
    "command": "workbench.action.editorLayoutSingle"
  },
  {
    "key": "shift+alt+4",
    "command": "workbench.action.editorLayoutTwoRows"
  },
  {
    "key": "shift+alt+5",
    "command": "workbench.action.editorLayoutTwoByTwoGrid"
  },
  {
    "key": "escape",
    "command": "workbench.action.closePanel"
  },
  {
    "key": "cmd+m",
    "command": "editor.action.jumpToBracket",
    "when": "editorFocus"
  },
  {
    "key": "ctrl+m",
    "command": "-editor.action.jumpToBracket",
    "when": "editorFocus"
  },
  {
    "key": "shift+cmd+w",
    "command": "-workbench.action.closeWindow"
  },
  {
    "key": "shift+cmd+w",
    "command": "workbench.action.closeOtherEditors"
  },
  {
    "key": "alt+cmd+t",
    "command": "-workbench.action.closeOtherEditors"
  }
]

@joshmfrankel joshmfrankel changed the title Setting up a Mac for Linux users Setting up a Mac for Linux users & Editor Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant