diff --git a/dot_Xmodmap b/.Xmodmap similarity index 100% rename from dot_Xmodmap rename to .Xmodmap diff --git a/dot_barak-theme.el b/.barak-theme.el similarity index 100% rename from dot_barak-theme.el rename to .barak-theme.el diff --git a/dot_bash_aliases b/.bash_aliases similarity index 100% rename from dot_bash_aliases rename to .bash_aliases diff --git a/dot_bash_k8s_aliases b/.bash_k8s_aliases similarity index 100% rename from dot_bash_k8s_aliases rename to .bash_k8s_aliases diff --git a/dot_bash_logout b/.bash_logout similarity index 100% rename from dot_bash_logout rename to .bash_logout diff --git a/dot_bash_profile b/.bash_profile similarity index 96% rename from dot_bash_profile rename to .bash_profile index 6df125f..9aee501 100644 --- a/dot_bash_profile +++ b/.bash_profile @@ -20,4 +20,3 @@ fi # Added by ~/.emacs.d/install.sh export PATH=$HOME/.cask/bin:$PATH -. "$HOME/.cargo/env" diff --git a/dot_bashrc b/.bashrc similarity index 99% rename from dot_bashrc rename to .bashrc index 57a4468..f714772 100644 --- a/dot_bashrc +++ b/.bashrc @@ -161,4 +161,3 @@ fi if [ -f ~/local/google-cloud-sdk/completion.bash.inc ]; then . ~/local/google-cloud-sdk/completion.bash.inc fi -. "$HOME/.cargo/env" diff --git a/dot_cargo/config.toml b/.cargo/config.toml similarity index 100% rename from dot_cargo/config.toml rename to .cargo/config.toml diff --git a/.chezmoi.toml.tmpl b/.chezmoi.toml.tmpl deleted file mode 100644 index c5d0bb9..0000000 --- a/.chezmoi.toml.tmpl +++ /dev/null @@ -1,2 +0,0 @@ -[diff] -reverse = true diff --git a/.chezmoiexternal.toml b/.chezmoiexternal.toml deleted file mode 100644 index 6df5d05..0000000 --- a/.chezmoiexternal.toml +++ /dev/null @@ -1,4 +0,0 @@ -[".tmux/plugins/tpm"] - type = "git-repo" - url = "https://github.com/tmux-plugins/tpm" - refreshPeriod = "168h" diff --git a/dot_compton.conf b/.compton.conf similarity index 100% rename from dot_compton.conf rename to .compton.conf diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml new file mode 100644 index 0000000..4000282 --- /dev/null +++ b/.config/alacritty/alacritty.yml @@ -0,0 +1,897 @@ +# Configuration for Alacritty, the GPU enhanced terminal emulator. + +# Import additional configuration files +# +# Imports are loaded in order, skipping all missing files, with the importing +# file being loaded last. If a field is already present in a previous import, it +# will be replaced. +# +# All imports must either be absolute paths starting with `/`, or paths relative +# to the user's home directory starting with `~/`. +#import: +# - /path/to/alacritty.yml + +# Any items in the `env` entry below will be added as +# environment variables. Some entries may override variables +# set by alacritty itself. +env: + # TERM variable + # + # This value is used to set the `$TERM` environment variable for + # each instance of Alacritty. If it is not present, alacritty will + # check the local terminfo database and use `alacritty` if it is + # available, otherwise `xterm-256color` is used. + TERM: xterm-256color + +window: + # Window dimensions (changes require restart) + # + # Number of lines/columns (not pixels) in the terminal. The number of columns + # must be at least `2`, while using a value of `0` for columns and lines will + # fall back to the window manager's recommended size. + dimensions: + columns: 147 + lines: 40 + + # Window position (changes require restart) + # + # Specified in number of pixels. + # If the position is not set, the window manager will handle the placement. + #position: + # x: 0 + # y: 0 + + # Window padding (changes require restart) + # + # Blank space added around the window in pixels. This padding is scaled + # by DPI and the specified value is always added at both opposing sides. + padding: + x: 3 + y: 3 + + # Spread additional padding evenly around the terminal content. + #dynamic_padding: false + + # Window decorations + # + # Values for `decorations`: + # - full: Borders and title bar + # - none: Neither borders nor title bar + # + # Values for `decorations` (macOS only): + # - transparent: Title bar, transparent background and title bar buttons + # - buttonless: Title bar, transparent background and no title bar buttons + #decorations: full + + # Startup Mode (changes require restart) + # + # Values for `startup_mode`: + # - Windowed + # - Maximized + # - Fullscreen + # + # Values for `startup_mode` (macOS only): + # - SimpleFullscreen + startup_mode: Fullscreen + + # Window title + #title: Alacritty + + # Allow terminal applications to change Alacritty's window title. + #dynamic_title: true + + # Window class (Linux/BSD only): + #class: + # Application instance name + #instance: Alacritty + # General application class + #general: Alacritty + + # GTK theme variant (Linux/BSD only) + # + # Override the variant of the GTK theme. Commonly supported values are `dark` + # and `light`. Set this to `None` to use the default theme variant. + #gtk_theme_variant: None + opacity: 0.92 + +scrolling: + # Maximum number of lines in the scrollback buffer. + # Specifying '0' will disable scrolling. + history: 10000 + + # Scrolling distance multiplier. + multiplier: 3 + +# Font configuration +font: + # Normal (roman) font face + normal: + # Font family + # + # Default: + # - (macOS) Menlo + # - (Linux/BSD) monospace + # - (Windows) Consolas + family: "Iosevka Berkeley" + + # The `style` can be specified to pick a specific face. + style: Light + + # Bold font face + bold: + # Font family + # + # If the bold family is not specified, it will fall back to the + # value specified for the normal font. + #family: monospace + + # The `style` can be specified to pick a specific face. + style: Regular + + # Italic font face + italic: + # Font family + # + # If the italic family is not specified, it will fall back to the + # value specified for the normal font. + #family: monospace + + # The `style` can be specified to pick a specific face. + style: Light Oblique + + # Bold italic font face + bold_italic: + # Font family + # + # If the bold italic family is not specified, it will fall back to the + # value specified for the normal font. + #family: monospace + + # The `style` can be specified to pick a specific face. + style: Oblique + + # Point size + size: 14.5 + + # Offset is the extra space around each character. `offset.y` can be thought + # of as modifying the line spacing, and `offset.x` as modifying the letter + # spacing. + #offset: + # x: 0 + # y: 0 + + # Glyph offset determines the locations of the glyphs within their cells with + # the default being at the bottom. Increasing `x` moves the glyph to the + # right, increasing `y` moves the glyph upward. + #glyph_offset: + # x: 0 + # y: 0 + + # Thin stroke font rendering (macOS only) + # + # Thin strokes are suitable for retina displays, but for non-retina screens + # it is recommended to set `use_thin_strokes` to `false`. + use_thin_strokes: true + +# If `true`, bold text is drawn using the bright color variants. +draw_bold_text_with_bright_colors: false + +# Colors (Tango) +#colors: + #primary: + #background: '#000000' + ##foreground: '#00ff00' + #foreground: '#fffbf6' + + ## Normal colors + #normal: + #black: '#2e3436' + #red: '#cc0000' + #green: '#73d216' + #yellow: '#edd400' + #blue: '#3465a4' + #magenta: '#75507b' + #cyan: '#06989a' + #white: '#d3d7cf' + + ## Bright colors + #bright: + #black: '#2e3436' + #red: '#ef2929' + #green: '#8ae234' + #yellow: '#fce94f' + #blue: '#729fcf' + #magenta: '#ad7fa8' + #cyan: '#34e2e2' + #white: '#eeeeec' + +# Colors (iTerm 2 default theme) +colors: + # Default colors + primary: + #background: '#101421' + background: '#000000' + foreground: '#fffbf6' + + # Normal colors + normal: + black: '#2e2e2e' + red: '#eb4129' + green: '#abe047' + yellow: '#f6c744' + blue: '#47a0f3' + #blue: '#57b0ff' + magenta: '#7b5cb0' + cyan: '#64dbed' + white: '#e5e9f0' + + # Bright colors + bright: + black: '#565656' + red: '#ec5357' + green: '#c0e17d' + yellow: '#f9da6a' + blue: '#49a4f8' + magenta: '#a47de9' + cyan: '#99faf2' + white: '#ffffff' + +# Colors (Tomorrow Night) +#colors: + ## Default colors + #primary: + #background: '#000000' + #foreground: '#ffffff' + + # Bright and dim foreground colors + # + # The dimmed foreground color is calculated automatically if it is not + # present. If the bright foreground color is not set, or + # `draw_bold_text_with_bright_colors` is `false`, the normal foreground + # color will be used. + #dim_foreground: '#828482' + #bright_foreground: '#eaeaea' + + # Cursor colors + # + # Colors which should be used to draw the terminal cursor. + # + # Allowed values are CellForeground and CellBackground, which reference the + # affected cell, or hexadecimal colors like #ff00ff. + #cursor: + # text: CellBackground + # cursor: CellForeground + + # Vi mode cursor colors + # + # Colors for the cursor when the vi mode is active. + # + # Allowed values are CellForeground and CellBackground, which reference the + # affected cell, or hexadecimal colors like #ff00ff. + #vi_mode_cursor: + # text: CellBackground + # cursor: CellForeground + + # Search colors + # + # Colors used for the search bar and match highlighting. + #search: + # Allowed values are CellForeground and CellBackground, which reference the + # affected cell, or hexadecimal colors like #ff00ff. + #matches: + # foreground: '#000000' + # background: '#ffffff' + #focused_match: + # foreground: CellBackground + # background: CellForeground + + #bar: + # background: '#c5c8c6' + # foreground: '#1d1f21' + + # Line indicator + # + # Color used for the indicator displaying the position in history during + # search and vi mode. + # + # By default, these will use the opposing primary color. + #line_indicator: + # foreground: None + # background: None + + # Selection colors + # + # Colors which should be used to draw the selection area. + # + # Allowed values are CellForeground and CellBackground, which reference the + # affected cell, or hexadecimal colors like #ff00ff. + #selection: + # text: CellBackground + # background: CellForeground + + # Normal colors + #normal: + # black: '#1d1f21' + # red: '#cc6666' + # green: '#b5bd68' + # yellow: '#f0c674' + # blue: '#81a2be' + # magenta: '#b294bb' + # cyan: '#8abeb7' + # white: '#c5c8c6' + + # Bright colors + #bright: + # black: '#666666' + # red: '#d54e53' + # green: '#b9ca4a' + # yellow: '#e7c547' + # blue: '#7aa6da' + # magenta: '#c397d8' + # cyan: '#70c0b1' + # white: '#eaeaea' + + # Dim colors + # + # If the dim colors are not set, they will be calculated automatically based + # on the `normal` colors. + #dim: + # black: '#131415' + # red: '#864343' + # green: '#777c44' + # yellow: '#9e824c' + # blue: '#556a7d' + # magenta: '#75617b' + # cyan: '#5b7d78' + # white: '#828482' + + # Indexed Colors + # + # The indexed colors include all colors from 16 to 256. + # When these are not set, they're filled with sensible defaults. + # + # Example: + # `- { index: 16, color: '#ff00ff' }` + # + #indexed_colors: [] + +# Bell +# +# The bell is rung every time the BEL control character is received. +bell: + # Visual Bell Animation + # + # Animation effect for flashing the screen when the visual bell is rung. + # + # Values for `animation`: + # - Ease + # - EaseOut + # - EaseOutSine + # - EaseOutQuad + # - EaseOutCubic + # - EaseOutQuart + # - EaseOutQuint + # - EaseOutExpo + # - EaseOutCirc + # - Linear + #animation: EaseOutExpo + + # Duration of the visual bell flash in milliseconds. A `duration` of `0` will + # disable the visual bell animation. + duration: 200 + + # Visual bell animation color. + color: '#ffffff' + + # Bell Command + # + # This program is executed whenever the bell is rung. + # + # When set to `command: None`, no command will be executed. + # + # Example: + # command: + # program: notify-send + # args: ["Hello, World!"] + # + #command: None + +# Background opacity +# +# Window opacity as a floating point number from `0.0` to `1.0`. +# The value `0.0` is completely transparent and `1.0` is opaque. +#background_opacity: 0.92 + +#selection: + # This string contains all characters that are used as separators for + # "semantic words" in Alacritty. + #semantic_escape_chars: ",│`|:\"' ()[]{}<>\t" + + # When set to `true`, selected text will be copied to the primary clipboard. + #save_to_clipboard: false + +#cursor: + # Cursor style + #style: + # Cursor shape + # + # Values for `shape`: + # - ▇ Block + # - _ Underline + # - | Beam + #shape: Block + + # Cursor blinking state + # + # Values for `blinking`: + # - Never: Prevent the cursor from ever blinking + # - Off: Disable blinking by default + # - On: Enable blinking by default + # - Always: Force the cursor to always blink + #blinking: Off + + # Vi mode cursor style + # + # If the vi mode cursor style is `None` or not specified, it will fall back to + # the style of the active value of the normal cursor. + # + # See `cursor.style` for available options. + #vi_mode_style: None + + # Cursor blinking interval in milliseconds. + #blink_interval: 750 + + # If this is `true`, the cursor will be rendered as a hollow box when the + # window is not focused. + #unfocused_hollow: true + + # Thickness of the cursor relative to the cell width as floating point number + # from `0.0` to `1.0`. + #thickness: 0.15 + +# Live config reload (changes require restart) +#live_config_reload: true + +# Shell +# +# You can set `shell.program` to the path of your favorite shell, e.g. +# `/bin/fish`. Entries in `shell.args` are passed unmodified as arguments to the +# shell. +# +# Default: +# - (macOS) /bin/bash --login +# - (Linux/BSD) user login shell +# - (Windows) powershell +#shell: +# program: /bin/bash +# args: +# - --login + +# Startup directory +# +# Directory the shell is started in. If this is unset, or `None`, the working +# directory of the parent process will be used. +#working_directory: None + +# Send ESC (\x1b) before characters when alt is pressed. +#alt_send_esc: true + +#mouse: + # Click settings + # + # The `double_click` and `triple_click` settings control the time + # alacritty should wait for accepting multiple clicks as one double + # or triple click. + #double_click: { threshold: 300 } + #triple_click: { threshold: 300 } + + # If this is `true`, the cursor is temporarily hidden when typing. + #hide_when_typing: false + + #url: + # URL launcher + # + # This program is executed when clicking on a text which is recognized as a + # URL. The URL is always added to the command as the last parameter. + # + # When set to `launcher: None`, URL launching will be disabled completely. + # + # Default: + # - (macOS) open + # - (Linux/BSD) xdg-open + # - (Windows) explorer + #launcher: + # program: xdg-open + # args: [] + + # URL modifiers + # + # These are the modifiers that need to be held down for opening URLs when + # clicking on them. The available modifiers are documented in the key + # binding section. + #modifiers: None + +# Mouse bindings +# +# Mouse bindings are specified as a list of objects, much like the key +# bindings further below. +# +# To trigger mouse bindings when an application running within Alacritty +# captures the mouse, the `Shift` modifier is automatically added as a +# requirement. +# +# Each mouse binding will specify a: +# +# - `mouse`: +# +# - Middle +# - Left +# - Right +# - Numeric identifier such as `5` +# +# - `action` (see key bindings) +# +# And optionally: +# +# - `mods` (see key bindings) +#mouse_bindings: +# - { mouse: Middle, action: PasteSelection } + +# Key bindings +# +# Key bindings are specified as a list of objects. For example, this is the +# default paste binding: +# +# `- { key: V, mods: Control|Shift, action: Paste }` +# +# Each key binding will specify a: +# +# - `key`: Identifier of the key pressed +# +# - A-Z +# - F1-F24 +# - Key0-Key9 +# +# A full list with available key codes can be found here: +# https://docs.rs/glutin/*/glutin/event/enum.VirtualKeyCode.html#variants +# +# Instead of using the name of the keys, the `key` field also supports using +# the scancode of the desired key. Scancodes have to be specified as a +# decimal number. This command will allow you to display the hex scancodes +# for certain keys: +# +# `showkey --scancodes`. +# +# Then exactly one of: +# +# - `chars`: Send a byte sequence to the running application +# +# The `chars` field writes the specified string to the terminal. This makes +# it possible to pass escape sequences. To find escape codes for bindings +# like `PageUp` (`"\x1b[5~"`), you can run the command `showkey -a` outside +# of tmux. Note that applications use terminfo to map escape sequences back +# to keys. It is therefore required to update the terminfo when changing an +# escape sequence. +# +# - `action`: Execute a predefined action +# +# - ToggleViMode +# - SearchForward +# Start searching toward the right of the search origin. +# - SearchBackward +# Start searching toward the left of the search origin. +# - Copy +# - Paste +# - IncreaseFontSize +# - DecreaseFontSize +# - ResetFontSize +# - ScrollPageUp +# - ScrollPageDown +# - ScrollHalfPageUp +# - ScrollHalfPageDown +# - ScrollLineUp +# - ScrollLineDown +# - ScrollToTop +# - ScrollToBottom +# - ClearHistory +# Remove the terminal's scrollback history. +# - Hide +# Hide the Alacritty window. +# - Minimize +# Minimize the Alacritty window. +# - Quit +# Quit Alacritty. +# - ToggleFullscreen +# - SpawnNewInstance +# Spawn a new instance of Alacritty. +# - ClearLogNotice +# Clear Alacritty's UI warning and error notice. +# - ClearSelection +# Remove the active selection. +# - ReceiveChar +# - None +# +# - Vi mode exclusive actions: +# +# - Open +# Open URLs at the cursor location with the launcher configured in +# `url.launcher`. +# - ToggleNormalSelection +# - ToggleLineSelection +# - ToggleBlockSelection +# - ToggleSemanticSelection +# Toggle semantic selection based on `selection.semantic_escape_chars`. +# +# - Vi mode exclusive cursor motion actions: +# +# - Up +# One line up. +# - Down +# One line down. +# - Left +# One character left. +# - Right +# One character right. +# - First +# First column, or beginning of the line when already at the first column. +# - Last +# Last column, or beginning of the line when already at the last column. +# - FirstOccupied +# First non-empty cell in this terminal row, or first non-empty cell of +# the line when already at the first cell of the row. +# - High +# Top of the screen. +# - Middle +# Center of the screen. +# - Low +# Bottom of the screen. +# - SemanticLeft +# Start of the previous semantically separated word. +# - SemanticRight +# Start of the next semantically separated word. +# - SemanticLeftEnd +# End of the previous semantically separated word. +# - SemanticRightEnd +# End of the next semantically separated word. +# - WordLeft +# Start of the previous whitespace separated word. +# - WordRight +# Start of the next whitespace separated word. +# - WordLeftEnd +# End of the previous whitespace separated word. +# - WordRightEnd +# End of the next whitespace separated word. +# - Bracket +# Character matching the bracket at the cursor's location. +# - SearchNext +# Beginning of the next match. +# - SearchPrevious +# Beginning of the previous match. +# - SearchStart +# Start of the match to the left of the vi mode cursor. +# - SearchEnd +# End of the match to the right of the vi mode cursor. +# +# - Search mode exclusive actions: +# - SearchFocusNext +# Move the focus to the next search match. +# - SearchFocusPrevious +# Move the focus to the previous search match. +# - SearchConfirm +# - SearchCancel +# - SearchClear +# Reset the search regex. +# - SearchDeleteWord +# Delete the last word in the search regex. +# - SearchHistoryPrevious +# Go to the previous regex in the search history. +# - SearchHistoryNext +# Go to the next regex in the search history. +# +# - macOS exclusive actions: +# - ToggleSimpleFullscreen +# Enter fullscreen without occupying another space. +# +# - Linux/BSD exclusive actions: +# +# - CopySelection +# Copy from the selection buffer. +# - PasteSelection +# Paste from the selection buffer. +# +# - `command`: Fork and execute a specified command plus arguments +# +# The `command` field must be a map containing a `program` string and an +# `args` array of command line parameter strings. For example: +# `{ program: "alacritty", args: ["-e", "vttest"] }` +# +# And optionally: +# +# - `mods`: Key modifiers to filter binding actions +# +# - Command +# - Control +# - Option +# - Super +# - Shift +# - Alt +# +# Multiple `mods` can be combined using `|` like this: +# `mods: Control|Shift`. +# Whitespace and capitalization are relevant and must match the example. +# +# - `mode`: Indicate a binding for only specific terminal reported modes +# +# This is mainly used to send applications the correct escape sequences +# when in different modes. +# +# - AppCursor +# - AppKeypad +# - Search +# - Alt +# - Vi +# +# A `~` operator can be used before a mode to apply the binding whenever +# the mode is *not* active, e.g. `~Alt`. +# +# Bindings are always filled by default, but will be replaced when a new +# binding with the same triggers is defined. To unset a default binding, it can +# be mapped to the `ReceiveChar` action. Alternatively, you can use `None` for +# a no-op if you do not wish to receive input characters for that binding. +# +# If the same trigger is assigned to multiple actions, all of them are executed +# in the order they were defined in. +key_bindings: + #- { key: Paste, action: Paste } + #- { key: Copy, action: Copy } + #- { key: L, mods: Control, action: ClearLogNotice } + #- { key: L, mods: Control, mode: ~Vi|~Search, chars: "\x0c" } + #- { key: PageUp, mods: Shift, mode: ~Alt, action: ScrollPageUp, } + #- { key: PageDown, mods: Shift, mode: ~Alt, action: ScrollPageDown } + #- { key: Home, mods: Shift, mode: ~Alt, action: ScrollToTop, } + #- { key: End, mods: Shift, mode: ~Alt, action: ScrollToBottom } + + # Vi Mode + #- { key: Space, mods: Shift|Control, mode: Vi|~Search, action: ScrollToBottom } + #- { key: Space, mods: Shift|Control, mode: ~Search, action: ToggleViMode } + #- { key: Escape, mode: Vi|~Search, action: ClearSelection } + #- { key: I, mode: Vi|~Search, action: ScrollToBottom } + #- { key: I, mode: Vi|~Search, action: ToggleViMode } + #- { key: C, mods: Control, mode: Vi|~Search, action: ToggleViMode } + #- { key: Y, mods: Control, mode: Vi|~Search, action: ScrollLineUp } + #- { key: E, mods: Control, mode: Vi|~Search, action: ScrollLineDown } + #- { key: G, mode: Vi|~Search, action: ScrollToTop } + #- { key: G, mods: Shift, mode: Vi|~Search, action: ScrollToBottom } + #- { key: B, mods: Control, mode: Vi|~Search, action: ScrollPageUp } + #- { key: F, mods: Control, mode: Vi|~Search, action: ScrollPageDown } + #- { key: U, mods: Control, mode: Vi|~Search, action: ScrollHalfPageUp } + #- { key: D, mods: Control, mode: Vi|~Search, action: ScrollHalfPageDown } + #- { key: Y, mode: Vi|~Search, action: Copy } + #- { key: Y, mode: Vi|~Search, action: ClearSelection } + #- { key: Copy, mode: Vi|~Search, action: ClearSelection } + #- { key: V, mode: Vi|~Search, action: ToggleNormalSelection } + #- { key: V, mods: Shift, mode: Vi|~Search, action: ToggleLineSelection } + #- { key: V, mods: Control, mode: Vi|~Search, action: ToggleBlockSelection } + #- { key: V, mods: Alt, mode: Vi|~Search, action: ToggleSemanticSelection } + #- { key: Return, mode: Vi|~Search, action: Open } + #- { key: K, mode: Vi|~Search, action: Up } + #- { key: J, mode: Vi|~Search, action: Down } + #- { key: H, mode: Vi|~Search, action: Left } + #- { key: L, mode: Vi|~Search, action: Right } + #- { key: Up, mode: Vi|~Search, action: Up } + #- { key: Down, mode: Vi|~Search, action: Down } + #- { key: Left, mode: Vi|~Search, action: Left } + #- { key: Right, mode: Vi|~Search, action: Right } + #- { key: Key0, mode: Vi|~Search, action: First } + #- { key: Key4, mods: Shift, mode: Vi|~Search, action: Last } + #- { key: Key6, mods: Shift, mode: Vi|~Search, action: FirstOccupied } + #- { key: H, mods: Shift, mode: Vi|~Search, action: High } + #- { key: M, mods: Shift, mode: Vi|~Search, action: Middle } + #- { key: L, mods: Shift, mode: Vi|~Search, action: Low } + #- { key: B, mode: Vi|~Search, action: SemanticLeft } + #- { key: W, mode: Vi|~Search, action: SemanticRight } + #- { key: E, mode: Vi|~Search, action: SemanticRightEnd } + #- { key: B, mods: Shift, mode: Vi|~Search, action: WordLeft } + #- { key: W, mods: Shift, mode: Vi|~Search, action: WordRight } + #- { key: E, mods: Shift, mode: Vi|~Search, action: WordRightEnd } + #- { key: Key5, mods: Shift, mode: Vi|~Search, action: Bracket } + #- { key: Slash, mode: Vi|~Search, action: SearchForward } + #- { key: Slash, mods: Shift, mode: Vi|~Search, action: SearchBackward } + #- { key: N, mode: Vi|~Search, action: SearchNext } + #- { key: N, mods: Shift, mode: Vi|~Search, action: SearchPrevious } + - { key: Q, mode: Vi|~Search, action: ToggleViMode } + - { key: P, mode: Vi|~Search, action: Paste } + + # Search Mode + #- { key: Return, mode: Search|Vi, action: SearchConfirm } + #- { key: Escape, mode: Search, action: SearchCancel } + #- { key: C, mods: Control, mode: Search, action: SearchCancel } + #- { key: U, mods: Control, mode: Search, action: SearchClear } + #- { key: W, mods: Control, mode: Search, action: SearchDeleteWord } + #- { key: P, mods: Control, mode: Search, action: SearchHistoryPrevious } + #- { key: N, mods: Control, mode: Search, action: SearchHistoryNext } + #- { key: Up, mode: Search, action: SearchHistoryPrevious } + #- { key: Down, mode: Search, action: SearchHistoryNext } + #- { key: Return, mode: Search|~Vi, action: SearchFocusNext } + #- { key: Return, mods: Shift, mode: Search|~Vi, action: SearchFocusPrevious } + + # (Windows, Linux, and BSD only) + #- { key: V, mods: Control|Shift, mode: ~Vi, action: Paste } + #- { key: C, mods: Control|Shift, action: Copy } + #- { key: F, mods: Control|Shift, mode: ~Search, action: SearchForward } + #- { key: B, mods: Control|Shift, mode: ~Search, action: SearchBackward } + #- { key: C, mods: Control|Shift, mode: Vi|~Search, action: ClearSelection } + #- { key: Insert, mods: Shift, action: PasteSelection } + #- { key: Key0, mods: Control, action: ResetFontSize } + #- { key: Equals, mods: Control, action: IncreaseFontSize } + #- { key: Plus, mods: Control, action: IncreaseFontSize } + #- { key: NumpadAdd, mods: Control, action: IncreaseFontSize } + #- { key: Minus, mods: Control, action: DecreaseFontSize } + #- { key: NumpadSubtract, mods: Control, action: DecreaseFontSize } + + # (Windows only) + - { key: Return, mods: Alt, action: ToggleFullscreen } + + # (macOS only) + #- { key: K, mods: Command, mode: ~Vi|~Search, chars: "\x0c" } + #- { key: K, mods: Command, mode: ~Vi|~Search, action: ClearHistory } + #- { key: Key0, mods: Command, action: ResetFontSize } + #- { key: Equals, mods: Command, action: IncreaseFontSize } + #- { key: Plus, mods: Command, action: IncreaseFontSize } + #- { key: NumpadAdd, mods: Command, action: IncreaseFontSize } + #- { key: Minus, mods: Command, action: DecreaseFontSize } + #- { key: NumpadSubtract, mods: Command, action: DecreaseFontSize } + #- { key: V, mods: Command, action: Paste } + #- { key: C, mods: Command, action: Copy } + #- { key: C, mods: Command, mode: Vi|~Search, action: ClearSelection } + #- { key: H, mods: Command, action: Hide } + #- { key: M, mods: Command, action: Minimize } + #- { key: Q, mods: Command, action: Quit } + #- { key: W, mods: Command, action: Quit } + #- { key: N, mods: Command, action: SpawnNewInstance } + #- { key: F, mods: Command|Control, action: ToggleFullscreen } + - { key: Return, mods: Command, action: ToggleFullscreen } + #- { key: F, mods: Command, mode: ~Search, action: SearchForward } + #- { key: B, mods: Command, mode: ~Search, action: SearchBackward } + # Support Alt-. + - { key: Period, mods: Command, chars: "\x1b\x2e" } + +hints: + alphabet: "jfkdls;ahgurieowpq" + enabled: + - regex: "[a-f0-9]{7,}" + action: Copy + binding: + key: H + mods: Control|Shift + - regex: "(magnet:|mailto:|https:|http:|news:|file:|git:|ssh:|ftp:)\ + [^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+" + command: xdg-open + post_processing: true + mouse: + enabled: true + mods: None + binding: + key: U + mods: Control|Shift +#debug: + # Display the time it takes to redraw each frame. + #render_timer: false + + # Keep the log file after quitting Alacritty. + #persistent_logging: false + + # Log level + # + # Values for `log_level`: + # - Off + # - Error + # - Warn + # - Info + # - Debug + # - Trace + #log_level: Warn + + # Print all received window events. + #print_events: false + diff --git a/dot_config/awesome/btheme/README b/.config/awesome/btheme/README similarity index 100% rename from dot_config/awesome/btheme/README rename to .config/awesome/btheme/README diff --git a/dot_config/awesome/btheme/background.png b/.config/awesome/btheme/background.png similarity index 100% rename from dot_config/awesome/btheme/background.png rename to .config/awesome/btheme/background.png diff --git a/dot_config/awesome/btheme/background_white.png b/.config/awesome/btheme/background_white.png similarity index 100% rename from dot_config/awesome/btheme/background_white.png rename to .config/awesome/btheme/background_white.png diff --git a/dot_config/awesome/btheme/layouts/dwindle.png b/.config/awesome/btheme/layouts/dwindle.png similarity index 100% rename from dot_config/awesome/btheme/layouts/dwindle.png rename to .config/awesome/btheme/layouts/dwindle.png diff --git a/dot_config/awesome/btheme/layouts/dwindlew.png b/.config/awesome/btheme/layouts/dwindlew.png similarity index 100% rename from dot_config/awesome/btheme/layouts/dwindlew.png rename to .config/awesome/btheme/layouts/dwindlew.png diff --git a/dot_config/awesome/btheme/layouts/fairh.png b/.config/awesome/btheme/layouts/fairh.png similarity index 100% rename from dot_config/awesome/btheme/layouts/fairh.png rename to .config/awesome/btheme/layouts/fairh.png diff --git a/dot_config/awesome/btheme/layouts/fairhw.png b/.config/awesome/btheme/layouts/fairhw.png similarity index 100% rename from dot_config/awesome/btheme/layouts/fairhw.png rename to .config/awesome/btheme/layouts/fairhw.png diff --git a/dot_config/awesome/btheme/layouts/fairv.png b/.config/awesome/btheme/layouts/fairv.png similarity index 100% rename from dot_config/awesome/btheme/layouts/fairv.png rename to .config/awesome/btheme/layouts/fairv.png diff --git a/dot_config/awesome/btheme/layouts/fairvw.png b/.config/awesome/btheme/layouts/fairvw.png similarity index 100% rename from dot_config/awesome/btheme/layouts/fairvw.png rename to .config/awesome/btheme/layouts/fairvw.png diff --git a/dot_config/awesome/btheme/layouts/floating.png b/.config/awesome/btheme/layouts/floating.png similarity index 100% rename from dot_config/awesome/btheme/layouts/floating.png rename to .config/awesome/btheme/layouts/floating.png diff --git a/dot_config/awesome/btheme/layouts/floatingw.png b/.config/awesome/btheme/layouts/floatingw.png similarity index 100% rename from dot_config/awesome/btheme/layouts/floatingw.png rename to .config/awesome/btheme/layouts/floatingw.png diff --git a/dot_config/awesome/btheme/layouts/fullscreen.png b/.config/awesome/btheme/layouts/fullscreen.png similarity index 100% rename from dot_config/awesome/btheme/layouts/fullscreen.png rename to .config/awesome/btheme/layouts/fullscreen.png diff --git a/dot_config/awesome/btheme/layouts/fullscreenw.png b/.config/awesome/btheme/layouts/fullscreenw.png similarity index 100% rename from dot_config/awesome/btheme/layouts/fullscreenw.png rename to .config/awesome/btheme/layouts/fullscreenw.png diff --git a/dot_config/awesome/btheme/layouts/magnifier.png b/.config/awesome/btheme/layouts/magnifier.png similarity index 100% rename from dot_config/awesome/btheme/layouts/magnifier.png rename to .config/awesome/btheme/layouts/magnifier.png diff --git a/dot_config/awesome/btheme/layouts/magnifierw.png b/.config/awesome/btheme/layouts/magnifierw.png similarity index 100% rename from dot_config/awesome/btheme/layouts/magnifierw.png rename to .config/awesome/btheme/layouts/magnifierw.png diff --git a/dot_config/awesome/btheme/layouts/max.png b/.config/awesome/btheme/layouts/max.png similarity index 100% rename from dot_config/awesome/btheme/layouts/max.png rename to .config/awesome/btheme/layouts/max.png diff --git a/dot_config/awesome/btheme/layouts/maxw.png b/.config/awesome/btheme/layouts/maxw.png similarity index 100% rename from dot_config/awesome/btheme/layouts/maxw.png rename to .config/awesome/btheme/layouts/maxw.png diff --git a/dot_config/awesome/btheme/layouts/spiral.png b/.config/awesome/btheme/layouts/spiral.png similarity index 100% rename from dot_config/awesome/btheme/layouts/spiral.png rename to .config/awesome/btheme/layouts/spiral.png diff --git a/dot_config/awesome/btheme/layouts/spiralw.png b/.config/awesome/btheme/layouts/spiralw.png similarity index 100% rename from dot_config/awesome/btheme/layouts/spiralw.png rename to .config/awesome/btheme/layouts/spiralw.png diff --git a/dot_config/awesome/btheme/layouts/tile.png b/.config/awesome/btheme/layouts/tile.png similarity index 100% rename from dot_config/awesome/btheme/layouts/tile.png rename to .config/awesome/btheme/layouts/tile.png diff --git a/dot_config/awesome/btheme/layouts/tilebottom.png b/.config/awesome/btheme/layouts/tilebottom.png similarity index 100% rename from dot_config/awesome/btheme/layouts/tilebottom.png rename to .config/awesome/btheme/layouts/tilebottom.png diff --git a/dot_config/awesome/btheme/layouts/tilebottomw.png b/.config/awesome/btheme/layouts/tilebottomw.png similarity index 100% rename from dot_config/awesome/btheme/layouts/tilebottomw.png rename to .config/awesome/btheme/layouts/tilebottomw.png diff --git a/dot_config/awesome/btheme/layouts/tileleft.png b/.config/awesome/btheme/layouts/tileleft.png similarity index 100% rename from dot_config/awesome/btheme/layouts/tileleft.png rename to .config/awesome/btheme/layouts/tileleft.png diff --git a/dot_config/awesome/btheme/layouts/tileleftw.png b/.config/awesome/btheme/layouts/tileleftw.png similarity index 100% rename from dot_config/awesome/btheme/layouts/tileleftw.png rename to .config/awesome/btheme/layouts/tileleftw.png diff --git a/dot_config/awesome/btheme/layouts/tiletop.png b/.config/awesome/btheme/layouts/tiletop.png similarity index 100% rename from dot_config/awesome/btheme/layouts/tiletop.png rename to .config/awesome/btheme/layouts/tiletop.png diff --git a/dot_config/awesome/btheme/layouts/tiletopw.png b/.config/awesome/btheme/layouts/tiletopw.png similarity index 100% rename from dot_config/awesome/btheme/layouts/tiletopw.png rename to .config/awesome/btheme/layouts/tiletopw.png diff --git a/dot_config/awesome/btheme/layouts/tilew.png b/.config/awesome/btheme/layouts/tilew.png similarity index 100% rename from dot_config/awesome/btheme/layouts/tilew.png rename to .config/awesome/btheme/layouts/tilew.png diff --git a/dot_config/awesome/btheme/submenu.png b/.config/awesome/btheme/submenu.png similarity index 100% rename from dot_config/awesome/btheme/submenu.png rename to .config/awesome/btheme/submenu.png diff --git a/dot_config/awesome/btheme/taglist/squarefw.png b/.config/awesome/btheme/taglist/squarefw.png similarity index 100% rename from dot_config/awesome/btheme/taglist/squarefw.png rename to .config/awesome/btheme/taglist/squarefw.png diff --git a/dot_config/awesome/btheme/taglist/squarew.png b/.config/awesome/btheme/taglist/squarew.png similarity index 100% rename from dot_config/awesome/btheme/taglist/squarew.png rename to .config/awesome/btheme/taglist/squarew.png diff --git a/dot_config/awesome/btheme/tasklist/floating.png b/.config/awesome/btheme/tasklist/floating.png similarity index 100% rename from dot_config/awesome/btheme/tasklist/floating.png rename to .config/awesome/btheme/tasklist/floating.png diff --git a/dot_config/awesome/btheme/tasklist/floatingw.png b/.config/awesome/btheme/tasklist/floatingw.png similarity index 100% rename from dot_config/awesome/btheme/tasklist/floatingw.png rename to .config/awesome/btheme/tasklist/floatingw.png diff --git a/dot_config/awesome/btheme/theme.lua b/.config/awesome/btheme/theme.lua similarity index 100% rename from dot_config/awesome/btheme/theme.lua rename to .config/awesome/btheme/theme.lua diff --git a/dot_config/awesome/btheme/titlebar/close_focus.png b/.config/awesome/btheme/titlebar/close_focus.png similarity index 100% rename from dot_config/awesome/btheme/titlebar/close_focus.png rename to .config/awesome/btheme/titlebar/close_focus.png diff --git a/dot_config/awesome/btheme/titlebar/close_normal.png b/.config/awesome/btheme/titlebar/close_normal.png similarity index 100% rename from dot_config/awesome/btheme/titlebar/close_normal.png rename to .config/awesome/btheme/titlebar/close_normal.png diff --git a/dot_config/awesome/btheme/titlebar/floating_focus_active.png b/.config/awesome/btheme/titlebar/floating_focus_active.png similarity index 100% rename from dot_config/awesome/btheme/titlebar/floating_focus_active.png rename to .config/awesome/btheme/titlebar/floating_focus_active.png diff --git a/dot_config/awesome/btheme/titlebar/floating_focus_inactive.png b/.config/awesome/btheme/titlebar/floating_focus_inactive.png similarity index 100% rename from dot_config/awesome/btheme/titlebar/floating_focus_inactive.png rename to .config/awesome/btheme/titlebar/floating_focus_inactive.png diff --git a/dot_config/awesome/btheme/titlebar/floating_normal_active.png b/.config/awesome/btheme/titlebar/floating_normal_active.png similarity index 100% rename from dot_config/awesome/btheme/titlebar/floating_normal_active.png rename to .config/awesome/btheme/titlebar/floating_normal_active.png diff --git a/dot_config/awesome/btheme/titlebar/floating_normal_inactive.png b/.config/awesome/btheme/titlebar/floating_normal_inactive.png similarity index 100% rename from dot_config/awesome/btheme/titlebar/floating_normal_inactive.png rename to .config/awesome/btheme/titlebar/floating_normal_inactive.png diff --git a/dot_config/awesome/btheme/titlebar/maximized_focus_active.png b/.config/awesome/btheme/titlebar/maximized_focus_active.png similarity index 100% rename from dot_config/awesome/btheme/titlebar/maximized_focus_active.png rename to .config/awesome/btheme/titlebar/maximized_focus_active.png diff --git a/dot_config/awesome/btheme/titlebar/maximized_focus_inactive.png b/.config/awesome/btheme/titlebar/maximized_focus_inactive.png similarity index 100% rename from dot_config/awesome/btheme/titlebar/maximized_focus_inactive.png rename to .config/awesome/btheme/titlebar/maximized_focus_inactive.png diff --git a/dot_config/awesome/btheme/titlebar/maximized_normal_active.png b/.config/awesome/btheme/titlebar/maximized_normal_active.png similarity index 100% rename from dot_config/awesome/btheme/titlebar/maximized_normal_active.png rename to .config/awesome/btheme/titlebar/maximized_normal_active.png diff --git a/dot_config/awesome/btheme/titlebar/maximized_normal_inactive.png b/.config/awesome/btheme/titlebar/maximized_normal_inactive.png similarity index 100% rename from dot_config/awesome/btheme/titlebar/maximized_normal_inactive.png rename to .config/awesome/btheme/titlebar/maximized_normal_inactive.png diff --git a/dot_config/awesome/btheme/titlebar/ontop_focus_active.png b/.config/awesome/btheme/titlebar/ontop_focus_active.png similarity index 100% rename from dot_config/awesome/btheme/titlebar/ontop_focus_active.png rename to .config/awesome/btheme/titlebar/ontop_focus_active.png diff --git a/dot_config/awesome/btheme/titlebar/ontop_focus_inactive.png b/.config/awesome/btheme/titlebar/ontop_focus_inactive.png similarity index 100% rename from dot_config/awesome/btheme/titlebar/ontop_focus_inactive.png rename to .config/awesome/btheme/titlebar/ontop_focus_inactive.png diff --git a/dot_config/awesome/btheme/titlebar/ontop_normal_active.png b/.config/awesome/btheme/titlebar/ontop_normal_active.png similarity index 100% rename from dot_config/awesome/btheme/titlebar/ontop_normal_active.png rename to .config/awesome/btheme/titlebar/ontop_normal_active.png diff --git a/dot_config/awesome/btheme/titlebar/ontop_normal_inactive.png b/.config/awesome/btheme/titlebar/ontop_normal_inactive.png similarity index 100% rename from dot_config/awesome/btheme/titlebar/ontop_normal_inactive.png rename to .config/awesome/btheme/titlebar/ontop_normal_inactive.png diff --git a/dot_config/awesome/btheme/titlebar/sticky_focus_active.png b/.config/awesome/btheme/titlebar/sticky_focus_active.png similarity index 100% rename from dot_config/awesome/btheme/titlebar/sticky_focus_active.png rename to .config/awesome/btheme/titlebar/sticky_focus_active.png diff --git a/dot_config/awesome/btheme/titlebar/sticky_focus_inactive.png b/.config/awesome/btheme/titlebar/sticky_focus_inactive.png similarity index 100% rename from dot_config/awesome/btheme/titlebar/sticky_focus_inactive.png rename to .config/awesome/btheme/titlebar/sticky_focus_inactive.png diff --git a/dot_config/awesome/btheme/titlebar/sticky_normal_active.png b/.config/awesome/btheme/titlebar/sticky_normal_active.png similarity index 100% rename from dot_config/awesome/btheme/titlebar/sticky_normal_active.png rename to .config/awesome/btheme/titlebar/sticky_normal_active.png diff --git a/dot_config/awesome/btheme/titlebar/sticky_normal_inactive.png b/.config/awesome/btheme/titlebar/sticky_normal_inactive.png similarity index 100% rename from dot_config/awesome/btheme/titlebar/sticky_normal_inactive.png rename to .config/awesome/btheme/titlebar/sticky_normal_inactive.png diff --git a/dot_config/awesome/rc.lua b/.config/awesome/rc.lua similarity index 100% rename from dot_config/awesome/rc.lua rename to .config/awesome/rc.lua diff --git a/dot_config/coc/extensions/package.json b/.config/coc/extensions/package.json similarity index 100% rename from dot_config/coc/extensions/package.json rename to .config/coc/extensions/package.json diff --git a/dot_config/fish/completions/kubectl.fish b/.config/fish/completions/kubectl.fish similarity index 100% rename from dot_config/fish/completions/kubectl.fish rename to .config/fish/completions/kubectl.fish diff --git a/.config/fish/conf.d/virtualfish-loader.fish b/.config/fish/conf.d/virtualfish-loader.fish new file mode 100644 index 0000000..eee0754 --- /dev/null +++ b/.config/fish/conf.d/virtualfish-loader.fish @@ -0,0 +1,4 @@ +set -g VIRTUALFISH_VERSION 2.5.4 +set -g VIRTUALFISH_PYTHON_EXEC /bin/python +source /usr/lib/python3.10/site-packages/virtualfish/virtual.fish +emit virtualfish_did_setup_plugins \ No newline at end of file diff --git a/.config/fish/config.fish b/.config/fish/config.fish new file mode 100644 index 0000000..bb445b0 --- /dev/null +++ b/.config/fish/config.fish @@ -0,0 +1,5 @@ +set PATH ~/bin ~/.go/bin /bin /sbin /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin ~/.cabal/bin /usr/lib/go/bin ~/.gem/ruby/1.9.1/bin $PATH + +set fish_greeting "" + +. ~/.config/fish/fish_aliases.fish diff --git a/dot_config/fish/fish_aliases.fish b/.config/fish/fish_aliases.fish similarity index 98% rename from dot_config/fish/fish_aliases.fish rename to .config/fish/fish_aliases.fish index 1004a49..ec2b922 100644 --- a/dot_config/fish/fish_aliases.fish +++ b/.config/fish/fish_aliases.fish @@ -52,4 +52,4 @@ alias srsly="orly -s" #Funnies alias whothefuckis='finger' alias whoami="echo 24601" -alias yeet="rm -rf" + diff --git a/dot_config/fish/fish_variables b/.config/fish/fish_variables similarity index 93% rename from dot_config/fish/fish_variables rename to .config/fish/fish_variables index f1b6a56..1b4481a 100644 --- a/dot_config/fish/fish_variables +++ b/.config/fish/fish_variables @@ -1,6 +1,6 @@ # This file contains fish universal variable definitions. # VERSION: 3.0 -SETUVAR __fish_initialized:3400 +SETUVAR __fish_initialized:3100 SETUVAR fish_color_autosuggestion:555\x1ebrblack SETUVAR fish_color_cancel:\x2dr SETUVAR fish_color_command:005fd7 @@ -28,4 +28,3 @@ SETUVAR fish_pager_color_completion:\x1d SETUVAR fish_pager_color_description:B3A06D\x1eyellow SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan -SETUVAR fish_pager_color_selected_background:\x2dr diff --git a/dot_config/fish/functions/fish_prompt.fish b/.config/fish/functions/fish_prompt.fish similarity index 100% rename from dot_config/fish/functions/fish_prompt.fish rename to .config/fish/functions/fish_prompt.fish diff --git a/dot_config/fish/functions/fish_user_key_bindings.fish b/.config/fish/functions/fish_user_key_bindings.fish similarity index 100% rename from dot_config/fish/functions/fish_user_key_bindings.fish rename to .config/fish/functions/fish_user_key_bindings.fish diff --git a/dot_config/hexchat/addons/mymsg.py b/.config/hexchat/addons/mymsg.py similarity index 100% rename from dot_config/hexchat/addons/mymsg.py rename to .config/hexchat/addons/mymsg.py diff --git a/dot_config/hexchat/addons/notify.py b/.config/hexchat/addons/notify.py similarity index 100% rename from dot_config/hexchat/addons/notify.py rename to .config/hexchat/addons/notify.py diff --git a/.config/iosevka-build/private-build-plans.toml b/.config/iosevka-build/private-build-plans.toml new file mode 100644 index 0000000..067ace0 --- /dev/null +++ b/.config/iosevka-build/private-build-plans.toml @@ -0,0 +1,73 @@ +# This is the build plan for my own custom fontface +# docker run -it -v $(pwd):/build avivace/iosevka-build contents::iosevka-berkeley + +[buildPlans.iosevka-berkeley] +family = "Iosevka Berkeley" +spacing = "fontconfig-mono" +serifs = "sans" +no-cv-ss = true +no-ligation = true + +[buildPlans.iosevka-berkeley.variants.design] +capital-g = "toothless-rounded-serifless-hooked" +g = "double-storey" +t = "flat-hook" +y = "straight-turn" +eszet = "sulzbacher-descending" +turn-v = "curly" +lower-lambda = "straight-turn" +zero = "dotted" +four = "closed" +six = "open-contour" +eight = "two-circles" +asterisk = "hex-high" +paren = "large-contour" +brace = "straight" +at = "fourfold" +percent = "rings-continuous-slash" +bar = "force-upright" +question = "corner" + +[buildPlans.iosevka-berkeley.variants.italic] +capital-a = "curly-serifless" +capital-b = "standard-unilateral-serifed" +capital-d = "standard-unilateral-serifed" +capital-f = "top-left-serifed" +capital-g = "toothed-serifless-hooked" +capital-i = "short-serifed" +capital-j = "serifed-both-sides" +capital-k = "curly-serifless" +capital-m = "flat-bottom" +capital-p = "closed-motion-serifed" +capital-q = "crossing-curly-tailed" +capital-r = "curly" +capital-u = "tailed-motion-serifed" +capital-v = "curly" +capital-w = "curly" +capital-x = "curly-serifless" +capital-y = "curly-serifless" +capital-z = "curly-serifless-with-horizontal-crossbar" +a = "double-storey-tailed" +d = "toothed-serifed" +f = "flat-hook" +g = "single-storey-serifed" +h = "straight-top-left-serifed" +k = "curly-serifless" +n = "straight-top-left-serifed" +p = "motion-serifed" +q = "straight-motion-serifed" +r = "top-serifed" +u = "tailed-motion-serifed" +v = "curly" +w = "curly" +x = "curly-serifless" +y = "cursive-motion-serifed" +z = "curly-serifless-with-horizontal-crossbar" +one = "base-long-top-serif" +two = "straight-neck" +seven = "straight-crossbar" +nine = "open-contour" +paren = "normal" + +[buildPlans.iosevka-berkeley.variants.oblique] +paren = "normal" diff --git a/dot_config/k9s/dot_k9s/config.yml b/.config/k9s/.k9s/config.yml similarity index 100% rename from dot_config/k9s/dot_k9s/config.yml rename to .config/k9s/.k9s/config.yml diff --git a/dot_config/k9s/config.yml b/.config/k9s/config.yml similarity index 61% rename from dot_config/k9s/config.yml rename to .config/k9s/config.yml index 9bf600b..7f8a196 100644 --- a/dot_config/k9s/config.yml +++ b/.config/k9s/config.yml @@ -2,13 +2,11 @@ k9s: refreshRate: 2 maxConnRetry: 5 enableMouse: true - headless: false + headless: true logoless: true crumbsless: false readOnly: false - noExitOnCtrlC: false noIcons: true - skipLatestRevCheck: false logger: tail: 100 buffer: 5000 @@ -16,30 +14,27 @@ k9s: fullScreenLogs: false textWrap: false showTime: false - currentContext: gke_memvp-25499_us-central1-c_ke-cluster-1 - currentCluster: gke_memvp-25499_us-central1-c_ke-cluster-1 + currentContext: kubernetes-admin@kubernetes + currentCluster: kubernetes clusters: - gke_memvp-25499_us-central1-c_ke-cluster-1: + kubernetes: namespace: - active: all - lockFavorites: false + active: "" favorites: - - backfill - all - default view: - active: job + active: pods featureGates: nodeShell: false shellPod: - image: busybox:1.35.0 + image: busybox:1.31 command: [] args: [] namespace: default limits: cpu: 100m memory: 100Mi - labels: {} portForwardAddress: localhost thresholds: cpu: @@ -48,4 +43,3 @@ k9s: memory: critical: 90 warn: 70 - screenDumpDir: /tmp/k9s-screens-barak diff --git a/dot_config/k9s/hotkey.yml b/.config/k9s/hotkey.yml similarity index 100% rename from dot_config/k9s/hotkey.yml rename to .config/k9s/hotkey.yml diff --git a/dot_config/ncspot/config.toml b/.config/ncspot/config.toml similarity index 100% rename from dot_config/ncspot/config.toml rename to .config/ncspot/config.toml diff --git a/.config/nvim b/.config/nvim new file mode 120000 index 0000000..815cbcc --- /dev/null +++ b/.config/nvim @@ -0,0 +1 @@ +../.vim \ No newline at end of file diff --git a/.config/systemd/user/default.target.wants/ssh-agent.service b/.config/systemd/user/default.target.wants/ssh-agent.service new file mode 120000 index 0000000..8c9a931 --- /dev/null +++ b/.config/systemd/user/default.target.wants/ssh-agent.service @@ -0,0 +1 @@ +/home/barak/.config/systemd/user/ssh-agent.service \ No newline at end of file diff --git a/dot_config/systemd/user/ssh-agent.service b/.config/systemd/user/ssh-agent.service similarity index 100% rename from dot_config/systemd/user/ssh-agent.service rename to .config/systemd/user/ssh-agent.service diff --git a/dot_config/terminator/config b/.config/terminator/config similarity index 91% rename from dot_config/terminator/config rename to .config/terminator/config index 7303597..8150711 100644 --- a/dot_config/terminator/config +++ b/.config/terminator/config @@ -8,23 +8,20 @@ [keybindings] cycle_next = j cycle_prev = k - split_vert = "" + split_vert = v close_term = w - paste = v - help = "" + paste = Insert [profiles] [[default]] - allow_bold = False background_darkness = 0.8 background_type = transparent cursor_color = "#ffffff" - font = Iosevka Berkeley Light 18 + font = Iosevka Berkeley weight=453 21 foreground_color = "#ffffff" show_titlebar = False scrollbar_position = hidden scrollback_infinite = True use_system_font = False - bold_is_bright = True [[4k]] background_darkness = 0.8 background_type = transparent diff --git a/dot_config/tig/config b/.config/tig/config similarity index 100% rename from dot_config/tig/config rename to .config/tig/config diff --git a/dot_config/xfce4/desktop/icons.screen0-2544x1399.rc b/.config/xfce4/desktop/icons.screen0-2544x1399.rc similarity index 100% rename from dot_config/xfce4/desktop/icons.screen0-2544x1399.rc rename to .config/xfce4/desktop/icons.screen0-2544x1399.rc diff --git a/dot_config/xfce4/panel/genmon-13.rc b/.config/xfce4/panel/genmon-13.rc similarity index 100% rename from dot_config/xfce4/panel/genmon-13.rc rename to .config/xfce4/panel/genmon-13.rc diff --git a/dot_config/xfce4/panel/whiskermenu-1.rc b/.config/xfce4/panel/whiskermenu-1.rc similarity index 100% rename from dot_config/xfce4/panel/whiskermenu-1.rc rename to .config/xfce4/panel/whiskermenu-1.rc diff --git a/dot_config/xfce4/terminal/accels.scm b/.config/xfce4/terminal/accels.scm similarity index 100% rename from dot_config/xfce4/terminal/accels.scm rename to .config/xfce4/terminal/accels.scm diff --git a/dot_config/xfce4/xfconf/xfce-perchannel-xml/displays.xml b/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml similarity index 85% rename from dot_config/xfce4/xfconf/xfce-perchannel-xml/displays.xml rename to .config/xfce4/xfconf/xfce-perchannel-xml/displays.xml index abe7b1e..9ae2397 100644 --- a/dot_config/xfce4/xfconf/xfce-perchannel-xml/displays.xml +++ b/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml @@ -38,10 +38,6 @@ - - - - @@ -55,10 +51,6 @@ - - - - @@ -75,10 +67,6 @@ - - - - @@ -92,10 +80,6 @@ - - - - diff --git a/dot_config/xfce4/xfconf/xfce-perchannel-xml/keyboards.xml b/.config/xfce4/xfconf/xfce-perchannel-xml/keyboards.xml similarity index 100% rename from dot_config/xfce4/xfconf/xfce-perchannel-xml/keyboards.xml rename to .config/xfce4/xfconf/xfce-perchannel-xml/keyboards.xml diff --git a/dot_config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml b/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml similarity index 71% rename from dot_config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml rename to .config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml index 6dc0558..166d8eb 100644 --- a/dot_config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml +++ b/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml @@ -4,8 +4,8 @@ - - - + + + diff --git a/dot_config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml b/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml similarity index 52% rename from dot_config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml rename to .config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml index 6f340b0..d062b36 100644 --- a/dot_config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml +++ b/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml @@ -29,28 +29,6 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/dot_config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml b/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml similarity index 100% rename from dot_config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml rename to .config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml diff --git a/dot_config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml b/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml similarity index 78% rename from dot_config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml rename to .config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml index 1d7482c..e205fb5 100644 --- a/dot_config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml +++ b/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml @@ -7,11 +7,8 @@ - - - diff --git a/dot_config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml b/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml similarity index 80% rename from dot_config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml rename to .config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml index 3077199..c6b1ecd 100644 --- a/dot_config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml +++ b/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml @@ -7,7 +7,6 @@ - @@ -47,22 +46,21 @@ - + + + + + + + + - - - - - - - - - - + + @@ -88,10 +86,7 @@ - - - - + diff --git a/dot_config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml b/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml similarity index 82% rename from dot_config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml rename to .config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml index 2950c5c..af82713 100644 --- a/dot_config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml +++ b/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml @@ -5,11 +5,11 @@ - + - - + + diff --git a/dot_config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml b/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml similarity index 79% rename from dot_config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml rename to .config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml index ac75ee5..246af5d 100644 --- a/dot_config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml +++ b/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml @@ -3,8 +3,7 @@ - - + @@ -12,19 +11,14 @@ - - - - - diff --git a/dot_config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml b/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml similarity index 56% rename from dot_config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml rename to .config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml index e3f254f..44e83e0 100644 --- a/dot_config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml +++ b/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml @@ -2,7 +2,7 @@ - - + + diff --git a/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml b/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml new file mode 100644 index 0000000..2bf99b0 --- /dev/null +++ b/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dot_config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml b/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml similarity index 87% rename from dot_config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml rename to .config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml index 762e18a..520076d 100644 --- a/dot_config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml +++ b/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml @@ -2,7 +2,7 @@ - + @@ -15,7 +15,7 @@ - + @@ -37,13 +37,11 @@ - - - + diff --git a/dot_conkyrc b/.conkyrc similarity index 100% rename from dot_conkyrc rename to .conkyrc diff --git a/.emacs.d/init.el b/.emacs.d/init.el new file mode 100644 index 0000000..289257d --- /dev/null +++ b/.emacs.d/init.el @@ -0,0 +1,35 @@ +;;; init.el --- Spacemacs Initialization File +;; +;; Copyright (c) 2012-2016 Sylvain Benner & Contributors +;; +;; Author: Sylvain Benner +;; URL: https://github.com/syl20bnr/spacemacs +;; +;; This file is not part of GNU Emacs. +;; +;;; License: GPLv3 + +;; Without this comment emacs25 adds (package-initialize) here +;; (package-initialize) + +;; Increase gc-cons-threshold, depending on your system you may set it back to a +;; lower value in your dotfile (function `dotspacemacs/user-config') +(setq gc-cons-threshold 100000000) + +(defconst spacemacs-version "0.200.3" "Spacemacs version.") +(defconst spacemacs-emacs-min-version "24.4" "Minimal version of Emacs.") + +(if (not (version<= spacemacs-emacs-min-version emacs-version)) + (message (concat "Your version of Emacs (%s) is too old. " + "Spacemacs requires Emacs version %s or above.") + emacs-version spacemacs-emacs-min-version) + (load-file (concat (file-name-directory load-file-name) + "core/core-load-paths.el")) + (require 'core-spacemacs) + (spacemacs/init) + (spacemacs/maybe-install-dotfile) + (configuration-layer/sync) + (spacemacs-buffer/display-info-box) + (spacemacs/setup-startup-hook) + (require 'server) + (unless (server-running-p) (server-start))) diff --git a/dot_emacs.local/barak-theme.el b/.emacs.local/barak-theme.el similarity index 100% rename from dot_emacs.local/barak-theme.el rename to .emacs.local/barak-theme.el diff --git a/dot_fehbg.example b/.fehbg.example similarity index 100% rename from dot_fehbg.example rename to .fehbg.example diff --git a/.fonts.conf b/.fonts.conf new file mode 120000 index 0000000..20d11f6 --- /dev/null +++ b/.fonts.conf @@ -0,0 +1 @@ +/home/barak/.config/fontconfig/fonts.conf \ No newline at end of file diff --git a/dot_fonts/Droid Sans Mono Dotted.ttf b/.fonts/Droid Sans Mono Dotted.ttf similarity index 100% rename from dot_fonts/Droid Sans Mono Dotted.ttf rename to .fonts/Droid Sans Mono Dotted.ttf diff --git a/dot_gitconfig b/.gitconfig similarity index 79% rename from dot_gitconfig rename to .gitconfig index 5e7cf17..3bfb3b1 100644 --- a/dot_gitconfig +++ b/.gitconfig @@ -20,8 +20,6 @@ hist = show-branch -a undo-last = reset HEAD^ unstage = restore --staged - latest = branch --sort=committerdate - f = fetch origin main [diff] renamelimit = 0 @@ -53,12 +51,3 @@ ff = only [init] defaultBranch = main -[filter "lfs"] - clean = git-lfs clean -- %f - smudge = git-lfs smudge -- %f - process = git-lfs filter-process - required = true -[status] - submodulesummary = 1 -[submodule] - recurse = true diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b25c15b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*~ diff --git a/dot_gnome.dconf b/.gnome.dconf similarity index 100% rename from dot_gnome.dconf rename to .gnome.dconf diff --git a/dot_gvimrc b/.gvimrc similarity index 100% rename from dot_gvimrc rename to .gvimrc diff --git a/dot_hgrc b/.hgrc similarity index 100% rename from dot_hgrc rename to .hgrc diff --git a/dot_i3/config b/.i3/config similarity index 98% rename from dot_i3/config rename to .i3/config index 0574562..badf175 100644 --- a/dot_i3/config +++ b/.i3/config @@ -236,5 +236,5 @@ bindsym $win+Shift+l exec "playerctl next" #} #exec --no-startup-id xfce4-panel --disable-wm-check #exec polybar HDMI1 -#exec --no-startup-id nitrogen --restore -#exec --no-startup-id picom -b --config ~/.compton.conf +exec --no-startup-id nitrogen --restore +exec --no-startup-id picom -b --config ~/.compton.conf diff --git a/dot_i3/i3-barak-tool.py b/.i3/i3-barak-tool.py similarity index 100% rename from dot_i3/i3-barak-tool.py rename to .i3/i3-barak-tool.py diff --git a/dot_i3/i3-focus-next b/.i3/i3-focus-next similarity index 100% rename from dot_i3/i3-focus-next rename to .i3/i3-focus-next diff --git a/dot_i3status.conf b/.i3status.conf similarity index 100% rename from dot_i3status.conf rename to .i3status.conf diff --git a/dot_latex/basehtml.cfg b/.latex/basehtml.cfg similarity index 100% rename from dot_latex/basehtml.cfg rename to .latex/basehtml.cfg diff --git a/dot_local/share/applications/com.spotify.Client.desktop b/.local/share/applications/com.spotify.Client.desktop similarity index 100% rename from dot_local/share/applications/com.spotify.Client.desktop rename to .local/share/applications/com.spotify.Client.desktop diff --git a/.local/share/fonts b/.local/share/fonts new file mode 120000 index 0000000..fe8ce3a --- /dev/null +++ b/.local/share/fonts @@ -0,0 +1 @@ +/home/barak/.fonts \ No newline at end of file diff --git a/dot_mailcap b/.mailcap similarity index 100% rename from dot_mailcap rename to .mailcap diff --git a/dot_muttrc b/.muttrc similarity index 100% rename from dot_muttrc rename to .muttrc diff --git a/dot_nethackrc b/.nethackrc similarity index 87% rename from dot_nethackrc rename to .nethackrc index 79817f0..f352d95 100644 --- a/dot_nethackrc +++ b/.nethackrc @@ -1,8 +1,7 @@ # # System-wide NetHack configuration file for console-only NetHack. # -#OPTIONS=windowtype:tty,toptenwin,hilite_pet,!number_pad,!cmdassist -OPTIONS=!number_pad,!cmdassist +OPTIONS=windowtype:tty,toptenwin,hilite_pet,!number_pad,!cmdassist OPTIONS=fixinv,safe_pet,sortpack,tombstone,color OPTIONS=verbose,news,fruit:potato OPTIONS=dogname:Darty diff --git a/dot_npmrc b/.npmrc similarity index 100% rename from dot_npmrc rename to .npmrc diff --git a/.nvim b/.nvim new file mode 120000 index 0000000..8355b52 --- /dev/null +++ b/.nvim @@ -0,0 +1 @@ +.vim \ No newline at end of file diff --git a/.nvimrc b/.nvimrc new file mode 120000 index 0000000..1490f7a --- /dev/null +++ b/.nvimrc @@ -0,0 +1 @@ +.vimrc \ No newline at end of file diff --git a/dot_puppet/console.pp b/.puppet/console.pp similarity index 100% rename from dot_puppet/console.pp rename to .puppet/console.pp diff --git a/dot_puppet/cpp.pp b/.puppet/cpp.pp similarity index 100% rename from dot_puppet/cpp.pp rename to .puppet/cpp.pp diff --git a/dot_puppet/editor.pp b/.puppet/editor.pp similarity index 100% rename from dot_puppet/editor.pp rename to .puppet/editor.pp diff --git a/dot_puppet/go.pp b/.puppet/go.pp similarity index 100% rename from dot_puppet/go.pp rename to .puppet/go.pp diff --git a/dot_puppet/install-dev.pp b/.puppet/install-dev.pp similarity index 100% rename from dot_puppet/install-dev.pp rename to .puppet/install-dev.pp diff --git a/dot_puppet/install-linux.pp b/.puppet/install-linux.pp similarity index 100% rename from dot_puppet/install-linux.pp rename to .puppet/install-linux.pp diff --git a/dot_puppet/python.pp b/.puppet/python.pp similarity index 100% rename from dot_puppet/python.pp rename to .puppet/python.pp diff --git a/dot_puppet/x11.pp b/.puppet/x11.pp similarity index 100% rename from dot_puppet/x11.pp rename to .puppet/x11.pp diff --git a/dot_pylintrc b/.pylintrc similarity index 100% rename from dot_pylintrc rename to .pylintrc diff --git a/dot_screenrc b/.screenrc similarity index 100% rename from dot_screenrc rename to .screenrc diff --git a/dot_setup_new_env.sh b/.setup_new_env.sh similarity index 100% rename from dot_setup_new_env.sh rename to .setup_new_env.sh diff --git a/dot_spacemacs b/.spacemacs similarity index 100% rename from dot_spacemacs rename to .spacemacs diff --git a/dot_taskrc b/.taskrc similarity index 100% rename from dot_taskrc rename to .taskrc diff --git a/.tmux.conf b/.tmux.conf new file mode 100644 index 0000000..3f8b099 --- /dev/null +++ b/.tmux.conf @@ -0,0 +1,66 @@ +set -g prefix C-a +unbind C-b + +set -g base-index 1 +setw -g pane-base-index 1 + +# Make vim more responsive +set -sg escape-time 10 + +bind-key C-o last-window +bind-key C-a select-pane -t :.+ +bind-key a send-prefix +bind r source-file ~/.tmux.conf +bind -n M-j select-pane -D +bind -n M-k select-pane -U +bind -n M-h select-pane -L +bind -n M-l select-pane -R +bind-key C-n next-window +bind-key C-p previous-window +set -g set-titles off +set -g mouse on +set -g default-terminal tmux-256color +setw -g mode-keys vi +new -d + + +# shift-movement keys will resize panes +bind -r H resize-pane -L 5 +bind -r J resize-pane -D 5 +bind -r K resize-pane -U 5 +bind -r L resize-pane -R 5 + +# better mnemonics for splitting panes! +bind | split-window -h +bind - split-window -v + +bind v split-window -h +bind = select-layout even-horizontal + +# Status Bar +#set -g status-bg black +set -g status-interval 1 +#set -g status-left '#[fg=green]#H#[default]' +#set -g status-left-length 20 +#set -g status-right '#[fg=green]#(~/src/tpom/tpom) #[fg=cyan,bold]%Y-%m-%d %H:%M:%S#[default]' +set -g status-justify centre # center align window list +set -g status-style fg=white,bg=default + +# default window title colors +set-window-option -g window-status-style fg=white,bg=default,dim + +# active window title colors +set-window-option -g window-status-current-style fg=cyan,bg=default,bright + +set-window-option -g window-style fg=#aaaaaa,bg=#111111 +set-window-option -g window-active-style fg=terminal,bg=terminal + +set -g status-left '#[fg=green][ #H ][ ' +set -g status-right '#[fg=green]][ #{pane_width}x#{pane_height} #[bright]#[fg=blue]%Y-%m-%d #[fg=white]%I:%M #[dim]#[fg=green]]' + +# Notifying if other windows has activities +setw -g monitor-activity on +set -g visual-activity on + +# Highlighting the active window in status bar +setw -g window-status-current-style bg=red,bright diff --git a/dot_tz_aliases.sh b/.tz_aliases.sh similarity index 100% rename from dot_tz_aliases.sh rename to .tz_aliases.sh diff --git a/dot_vim/after/ftplugin/go.vim b/.vim/after/ftplugin/go.vim similarity index 100% rename from dot_vim/after/ftplugin/go.vim rename to .vim/after/ftplugin/go.vim diff --git a/dot_vim/after/ftplugin/haskell.vim b/.vim/after/ftplugin/haskell.vim similarity index 100% rename from dot_vim/after/ftplugin/haskell.vim rename to .vim/after/ftplugin/haskell.vim diff --git a/dot_vim/after/syntax/cocoa_keywords.vim b/.vim/after/syntax/cocoa_keywords.vim similarity index 100% rename from dot_vim/after/syntax/cocoa_keywords.vim rename to .vim/after/syntax/cocoa_keywords.vim diff --git a/dot_vim/after/syntax/objc_enhanced.vim b/.vim/after/syntax/objc_enhanced.vim similarity index 100% rename from dot_vim/after/syntax/objc_enhanced.vim rename to .vim/after/syntax/objc_enhanced.vim diff --git a/dot_vim/autoload/airline/themes/barak.vim b/.vim/autoload/airline/themes/barak.vim similarity index 100% rename from dot_vim/autoload/airline/themes/barak.vim rename to .vim/autoload/airline/themes/barak.vim diff --git a/dot_vim/autoload/genutils.vim b/.vim/autoload/genutils.vim similarity index 100% rename from dot_vim/autoload/genutils.vim rename to .vim/autoload/genutils.vim diff --git a/dot_vim/autoload/lookupfile.vim b/.vim/autoload/lookupfile.vim similarity index 100% rename from dot_vim/autoload/lookupfile.vim rename to .vim/autoload/lookupfile.vim diff --git a/dot_vim/autoload/objc/cocoacomplete.vim b/.vim/autoload/objc/cocoacomplete.vim similarity index 100% rename from dot_vim/autoload/objc/cocoacomplete.vim rename to .vim/autoload/objc/cocoacomplete.vim diff --git a/dot_vim/autoload/objc/man.vim b/.vim/autoload/objc/man.vim similarity index 100% rename from dot_vim/autoload/objc/man.vim rename to .vim/autoload/objc/man.vim diff --git a/dot_vim/autoload/objc/method_builder.vim b/.vim/autoload/objc/method_builder.vim similarity index 100% rename from dot_vim/autoload/objc/method_builder.vim rename to .vim/autoload/objc/method_builder.vim diff --git a/dot_vim/autoload/objc/method_list.vim b/.vim/autoload/objc/method_list.vim similarity index 100% rename from dot_vim/autoload/objc/method_list.vim rename to .vim/autoload/objc/method_list.vim diff --git a/dot_vim/autoload/objc/pum_snippet.vim b/.vim/autoload/objc/pum_snippet.vim similarity index 100% rename from dot_vim/autoload/objc/pum_snippet.vim rename to .vim/autoload/objc/pum_snippet.vim diff --git a/dot_vim/autoload/pathogen.vim b/.vim/autoload/pathogen.vim similarity index 100% rename from dot_vim/autoload/pathogen.vim rename to .vim/autoload/pathogen.vim diff --git a/dot_vim/autoload/plug.vim b/.vim/autoload/plug.vim similarity index 98% rename from dot_vim/autoload/plug.vim rename to .vim/autoload/plug.vim index 9c3011f..6a958cb 100644 --- a/dot_vim/autoload/plug.vim +++ b/.vim/autoload/plug.vim @@ -22,7 +22,7 @@ " Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets' " " " On-demand loading -" Plug 'preservim/nerdtree', { 'on': 'NERDTreeToggle' } +" Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } " Plug 'tpope/vim-fireplace', { 'for': 'clojure' } " " " Using a non-default branch @@ -242,8 +242,6 @@ function! plug#begin(...) let home = s:path(s:plug_fnamemodify(s:plug_expand(a:1), ':p')) elseif exists('g:plug_home') let home = s:path(g:plug_home) - elseif has('nvim') - let home = stdpath('data') . '/plugged' elseif !empty(&rtp) let home = s:path(split(&rtp, ',')[0]) . '/plugged' else @@ -352,7 +350,7 @@ function! plug#end() endif let lod = { 'ft': {}, 'map': {}, 'cmd': {} } - if get(g:, 'did_load_filetypes', 0) + if exists('g:did_load_filetypes') filetype off endif for name in g:plugs_order @@ -407,7 +405,7 @@ function! plug#end() for [map, names] in items(lod.map) for [mode, map_prefix, key_prefix] in - \ [['i', '', ''], ['n', '', ''], ['v', '', 'gv'], ['o', '', '']] + \ [['i', '', ''], ['n', '', ''], ['v', '', 'gv'], ['o', '', '']] execute printf( \ '%snoremap %s %s:call lod_map(%s, %s, %s, "%s")', \ mode, map, map_prefix, string(map), string(names), mode != 'i', key_prefix) @@ -1210,8 +1208,7 @@ function! s:update_impl(pull, force, args) abort normal! 2G silent! redraw - " Set remote name, overriding a possible user git config's clone.defaultRemoteName - let s:clone_opt = ['--origin', 'origin'] + let s:clone_opt = [] if get(g:, 'plug_shallow', 1) call extend(s:clone_opt, ['--depth', '1']) if s:git_version_requirement(1, 7, 10) @@ -2621,34 +2618,26 @@ function! s:preview_commit() let sha = matchstr(getline('.'), '^ \X*\zs[0-9a-f]\{7,9}') if empty(sha) - let name = matchstr(getline('.'), '^- \zs[^:]*\ze:$') - if empty(name) - return - endif - let title = 'HEAD@{1}..' - let command = 'git diff --no-color HEAD@{1}' - else - let title = sha - let command = 'git show --no-color --pretty=medium '.sha - let name = s:find_name(line('.')) + return endif + let name = s:find_name(line('.')) if empty(name) || !has_key(g:plugs, name) || !isdirectory(g:plugs[name].dir) return endif if exists('g:plug_pwindow') && !s:is_preview_window_open() execute g:plug_pwindow - execute 'e' title + execute 'e' sha else - execute 'pedit' title + execute 'pedit' sha wincmd P endif - setlocal previewwindow filetype=git buftype=nofile bufhidden=wipe nobuflisted modifiable + setlocal previewwindow filetype=git buftype=nofile nobuflisted modifiable let batchfile = '' try let [sh, shellcmdflag, shrd] = s:chsh(1) - let cmd = 'cd '.plug#shellescape(g:plugs[name].dir).' && '.command + let cmd = 'cd '.plug#shellescape(g:plugs[name].dir).' && git show --no-color --pretty=medium '.sha if s:is_win let [batchfile, cmd] = s:batchfile(cmd) endif @@ -2774,9 +2763,9 @@ function! s:snapshot(force, ...) abort 1 let anchor = line('$') - 3 let names = sort(keys(filter(copy(g:plugs), - \'has_key(v:val, "uri") && isdirectory(v:val.dir)'))) + \'has_key(v:val, "uri") && !has_key(v:val, "commit") && isdirectory(v:val.dir)'))) for name in reverse(names) - let sha = has_key(g:plugs[name], 'commit') ? g:plugs[name].commit : s:git_revision(g:plugs[name].dir) + let sha = s:git_revision(g:plugs[name].dir) if !empty(sha) call append(anchor, printf("silent! let g:plugs['%s'].commit = '%s'", name, sha)) redraw diff --git a/dot_vim/autoload/pythoncomplete.vim b/.vim/autoload/pythoncomplete.vim similarity index 100% rename from dot_vim/autoload/pythoncomplete.vim rename to .vim/autoload/pythoncomplete.vim diff --git a/dot_vim/autoload/rubycomplete.vim b/.vim/autoload/rubycomplete.vim similarity index 100% rename from dot_vim/autoload/rubycomplete.vim rename to .vim/autoload/rubycomplete.vim diff --git a/dot_vim/autoload/snipMate.vim b/.vim/autoload/snipMate.vim similarity index 100% rename from dot_vim/autoload/snipMate.vim rename to .vim/autoload/snipMate.vim diff --git a/dot_vim/buftabs.vim b/.vim/buftabs.vim similarity index 100% rename from dot_vim/buftabs.vim rename to .vim/buftabs.vim diff --git a/dot_vim/charm.vim b/.vim/charm.vim similarity index 100% rename from dot_vim/charm.vim rename to .vim/charm.vim diff --git a/dot_vim/closetag.vim b/.vim/closetag.vim similarity index 100% rename from dot_vim/closetag.vim rename to .vim/closetag.vim diff --git a/dot_vim/coc-settings.json b/.vim/coc-settings.json similarity index 100% rename from dot_vim/coc-settings.json rename to .vim/coc-settings.json diff --git a/dot_vim/colors/barak.vim b/.vim/colors/barak.vim similarity index 100% rename from dot_vim/colors/barak.vim rename to .vim/colors/barak.vim diff --git a/dot_vim/colors/baraknew.vim b/.vim/colors/baraknew.vim similarity index 100% rename from dot_vim/colors/baraknew.vim rename to .vim/colors/baraknew.vim diff --git a/dot_vim/colors/dante.vim b/.vim/colors/dante.vim similarity index 100% rename from dot_vim/colors/dante.vim rename to .vim/colors/dante.vim diff --git a/dot_vim/colors/ir_black.vim b/.vim/colors/ir_black.vim similarity index 100% rename from dot_vim/colors/ir_black.vim rename to .vim/colors/ir_black.vim diff --git a/dot_vim/colors/lucius.vim b/.vim/colors/lucius.vim similarity index 100% rename from dot_vim/colors/lucius.vim rename to .vim/colors/lucius.vim diff --git a/dot_vim/colors/ps_color.vim b/.vim/colors/ps_color.vim similarity index 100% rename from dot_vim/colors/ps_color.vim rename to .vim/colors/ps_color.vim diff --git a/dot_vim/colors/zenburn.vim b/.vim/colors/zenburn.vim similarity index 100% rename from dot_vim/colors/zenburn.vim rename to .vim/colors/zenburn.vim diff --git a/dot_vim/doc/NERD_tree.txt b/.vim/doc/NERD_tree.txt similarity index 100% rename from dot_vim/doc/NERD_tree.txt rename to .vim/doc/NERD_tree.txt diff --git a/dot_vim/doc/bufexplorer.txt b/.vim/doc/bufexplorer.txt similarity index 100% rename from dot_vim/doc/bufexplorer.txt rename to .vim/doc/bufexplorer.txt diff --git a/dot_vim/doc/cocoa.txt b/.vim/doc/cocoa.txt similarity index 100% rename from dot_vim/doc/cocoa.txt rename to .vim/doc/cocoa.txt diff --git a/dot_vim/doc/matchit.txt b/.vim/doc/matchit.txt similarity index 100% rename from dot_vim/doc/matchit.txt rename to .vim/doc/matchit.txt diff --git a/dot_vim/doc/project.txt b/.vim/doc/project.txt similarity index 100% rename from dot_vim/doc/project.txt rename to .vim/doc/project.txt diff --git a/dot_vim/doc/ps_color.txt b/.vim/doc/ps_color.txt similarity index 100% rename from dot_vim/doc/ps_color.txt rename to .vim/doc/ps_color.txt diff --git a/dot_vim/doc/snipMate.txt b/.vim/doc/snipMate.txt similarity index 100% rename from dot_vim/doc/snipMate.txt rename to .vim/doc/snipMate.txt diff --git a/dot_vim/doc/tags b/.vim/doc/tags similarity index 100% rename from dot_vim/doc/tags rename to .vim/doc/tags diff --git a/dot_vim/doc/vcscommand.txt b/.vim/doc/vcscommand.txt similarity index 100% rename from dot_vim/doc/vcscommand.txt rename to .vim/doc/vcscommand.txt diff --git a/dot_vim/filetype.vim b/.vim/filetype.vim similarity index 81% rename from dot_vim/filetype.vim rename to .vim/filetype.vim index 48fb035..a02e290 100644 --- a/dot_vim/filetype.vim +++ b/.vim/filetype.vim @@ -1,10 +1,8 @@ " general per-language filetype file -if exists("g:did_load_personal_filetypes") +if exists("did\_load\_filetypes") finish endif -let g:did_load_personal_filetypes = 1 - " Filetype mappingss augroup markdown au! BufRead,BufNewFile *.mkd setfiletype markdown @@ -32,10 +30,6 @@ augroup pcal au BufNewFile,BufRead *.pcal setf tla augroup END -augroup ragel - au BufNewFile,BufRead *.rl setf ragel -augroup END - au! BufNewFile,BufRead *.pde setf arduino @@ -99,9 +93,6 @@ augroup go autocmd FileType go set softtabstop=2 autocmd FileType go set shiftwidth=2 autocmd FileType go set noexpandtab - autocmd FileType go imap rr :GoIfErr - autocmd FileType go nmap rr :GoIfErr - autocmd FileType go nnoremap im lua require('telescope').extensions.goimpl.goimpl{theme = "ivy", layout_config = {height = 10}} "autocmd FileType go nmap gd (go-doc) "autocmd FileType go nmap gd (go-def) augroup END @@ -124,24 +115,11 @@ autocmd FileType proto let b:auto_trim_whitespace=1 autocmd FileType hy let b:auto_trim_whitespace=1 autocmd FileType idris let b:auto_trim_whitespace=1 autocmd FileType java let b:auto_trim_whitespace=1 -autocmd FileType lua let b:auto_trim_whitespace=1 augroup templates - autocmd BufNewFile *.vue 0r ~/.vim/skeletons/vue.skel - autocmd BufNewFile *.svelte 0r ~/.vim/skeletons/svelte.skel + autocmd BufNewFile *.vue 0r ~/.vim/skeletons/skeleton.vue augroup end augroup rust autocmd FileType rust nnoremap lg lua rust_where_at_line() augroup end - -function DetectGoHtmlTmpl() - if expand('%:e') == "html" && search("{{") != 0 - setfiletype gohtmltmpl - endif -endfunction - -augroup filetypedetect - " gohtmltmpl - au BufRead,BufNewFile *.html call DetectGoHtmlTmpl() -augroup END diff --git a/dot_vim/ftdetect/proto.vim b/.vim/ftdetect/proto.vim similarity index 100% rename from dot_vim/ftdetect/proto.vim rename to .vim/ftdetect/proto.vim diff --git a/dot_vim/ftdetect/scala.vim b/.vim/ftdetect/scala.vim similarity index 100% rename from dot_vim/ftdetect/scala.vim rename to .vim/ftdetect/scala.vim diff --git a/dot_vim/ftplugin/html_snip_helper.vim b/.vim/ftplugin/html_snip_helper.vim similarity index 100% rename from dot_vim/ftplugin/html_snip_helper.vim rename to .vim/ftplugin/html_snip_helper.vim diff --git a/dot_vim/ftplugin/objc_cocoa_mappings.vim b/.vim/ftplugin/objc_cocoa_mappings.vim similarity index 100% rename from dot_vim/ftplugin/objc_cocoa_mappings.vim rename to .vim/ftplugin/objc_cocoa_mappings.vim diff --git a/dot_vim/indent/cpp.vim b/.vim/indent/cpp.vim similarity index 100% rename from dot_vim/indent/cpp.vim rename to .vim/indent/cpp.vim diff --git a/dot_vim/indent/haskell.vim b/.vim/indent/haskell.vim similarity index 100% rename from dot_vim/indent/haskell.vim rename to .vim/indent/haskell.vim diff --git a/dot_vim/indent/javascript.vim b/.vim/indent/javascript.vim similarity index 100% rename from dot_vim/indent/javascript.vim rename to .vim/indent/javascript.vim diff --git a/dot_vim/indent/mako.vim b/.vim/indent/mako.vim similarity index 100% rename from dot_vim/indent/mako.vim rename to .vim/indent/mako.vim diff --git a/dot_vim/indent/python.vim b/.vim/indent/python.vim similarity index 100% rename from dot_vim/indent/python.vim rename to .vim/indent/python.vim diff --git a/dot_vim/indent/scala.vim b/.vim/indent/scala.vim similarity index 100% rename from dot_vim/indent/scala.vim rename to .vim/indent/scala.vim diff --git a/dot_vim/init.vim b/.vim/init.vim similarity index 100% rename from dot_vim/init.vim rename to .vim/init.vim diff --git a/dot_vim/markdown_cheatsheet.md b/.vim/markdown_cheatsheet.md similarity index 100% rename from dot_vim/markdown_cheatsheet.md rename to .vim/markdown_cheatsheet.md diff --git a/.vim/nvim.lua b/.vim/nvim.lua new file mode 100644 index 0000000..6d6f7ae --- /dev/null +++ b/.vim/nvim.lua @@ -0,0 +1,327 @@ +require('nvim-autopairs').setup{} + +-- nvim_lsp object +local nvim_lsp = require'lspconfig' + +-- function to attach completion when setting up lsp +local on_attach = function(client) +end + +local rust_capabilities = vim.lsp.protocol.make_client_capabilities() +rust_capabilities.textDocument.completion.completionItem.snippetSupport = true +rust_capabilities.textDocument.completion.completionItem.resolveSupport = { + properties = { + 'documentation', + 'detail', + 'additionalTextEdits', + } +} + +-- Enable rust_analyzer +nvim_lsp.rust_analyzer.setup({ + on_attach=on_attach, + capabilities=rust_capabilities, +}) +nvim_lsp.gopls.setup({ on_attach=on_attach }) +nvim_lsp.pyright.setup({ on_attach=on_attach }) +nvim_lsp.clangd.setup({ on_attach=on_attach }) + +function org_imports(wait_ms) + local params = vim.lsp.util.make_range_params() + + params.context = {only = {"source.organizeImports"}} + + local result = vim.lsp.buf_request_sync(0, "textDocument/codeAction", params, wait_ms) + + for _, res in pairs(result or {}) do + for _, r in pairs(res.result or {}) do + if r.edit then + vim.lsp.util.apply_workspace_edit(r.edit) + else + vim.lsp.buf.execute_command(r.command) + end + end + end +end + +nvim_lsp.efm.setup { + init_options = {documentFormatting = true}, + settings = { + rootMarkers = {".git/"}, + languages = { + lua = { + { formatCommand = "lua-format -i", formatStdin = true } + }, + python = { + { formatCommand = 'black --quiet -', formatStdin = true } + }, + rust = { + { formatCommand = 'rustfmt', formatStdin = true } + } + } + } +} + +-- Enable diagnostics +vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with( + vim.lsp.diagnostic.on_publish_diagnostics, { + virtual_text = false, + signs = true, + update_in_insert = false, + } +) + +-- Compe setup +require'compe'.setup { + enabled = true; + autocomplete = true; + debug = false; + min_length = 1; + preselect = 'disable'; + throttle_time = 80; + source_timeout = 200; + incomplete_delay = 400; + max_abbr_width = 100; + max_kind_width = 100; + max_menu_width = 100; + documentation = true; + + source = { + path = true; + nvim_lsp = true; + }; +} + +signature_cfg = { + hint_enable = true, + hint_prefix = "% ", + handler_opts = { + border = "none" + }, +} + +require'lsp_signature'.on_attach(signature_cfg) + +saga_cfg = { + code_action_prompt = { + enable = false, + sign = false, + virtual_text = false, + }, +} +-- require'lspsaga'.init_lsp_saga(saga_cfg) + +local t = function(str) + return vim.api.nvim_replace_termcodes(str, true, true, true) +end + +local check_back_space = function() + local col = vim.fn.col('.') - 1 + if col == 0 or vim.fn.getline('.'):sub(col, col):match('%s') then + return true + else + return false + end +end + +-- Use (s-)tab to: +--- move to prev/next item in completion menuone +--- jump to prev/next snippet's placeholder +_G.tab_complete = function() + if vim.fn.pumvisible() == 1 then + return t "" + elseif check_back_space() then + return t "" + else + return vim.fn['compe#complete']() + end +end +_G.s_tab_complete = function() + if vim.fn.pumvisible() == 1 then + return t "" + else + return t "" + end +end + +vim.api.nvim_set_keymap("i", "", "v:lua.tab_complete()", {expr = true}) +vim.api.nvim_set_keymap("s", "", "v:lua.tab_complete()", {expr = true}) +vim.api.nvim_set_keymap("i", "", "v:lua.s_tab_complete()", {expr = true}) +vim.api.nvim_set_keymap("s", "", "v:lua.s_tab_complete()", {expr = true}) + +require('lspkind').init({ + -- disables text annotations + --with_text = false, + with_text = true, + + -- default symbol map + -- can be either 'default' or 'codicons' + preset = 'default', + + -- override preset symbols + -- default: {} + --symbol_map = { + --Method = 'm', + --Function = 'f', + --Text = 'txt', + --Constructor = 'new', + --Variable = 'var', + --Class = 'cls', + --Interface = 'iface', + --Module = 'mod', + --Property = 'prop', + --Unit = 'unit', + --Value = 'val', + --Enum = 'enum', + --Keyword = 'kw', + --Snippet = 'sn', + --Color = 'color', + --File = 'file', + --Folder = 'fold', + --EnumMember = 'enum', + --Constant = 'const', + --Struct = 'struct', + --}, +}) + +require('trouble').setup { + mode = "document_diagnostics", + auto_close = true, + action_keys = { -- key mappings for actions in the trouble list + -- map to {} to remove a mapping, for example: + -- close = {}, + --close = "q", -- close the list + --cancel = "", -- cancel the preview and get back to your last window / buffer / cursor + --refresh = "r", -- manually refresh + jump = {"o", ""}, -- jump to the diagnostic or open / close folds + --open_split = { "" }, -- open buffer in new split + --open_vsplit = { "" }, -- open buffer in new vsplit + open_tab = { }, -- open buffer in new tab + jump_close = {""}, -- jump to the diagnostic and close the list + toggle_mode = "m", -- toggle between "workspace" and "document" diagnostics mode + toggle_preview = "P", -- toggle auto_preview + hover = "K", -- opens a small popup with the full multiline message + preview = "p", -- preview the diagnostic location + close_folds = {"zM", "zm"}, -- close all folds + open_folds = {"zR", "zr"}, -- open all folds + toggle_fold = {"zA", "za"}, -- toggle fold of current file + previous = "k", -- previous item + next = "j" -- next item + }, +} + +require('telescope').setup { + defaults = { + mappings = { + n = { + ["q"] = require('telescope.actions').close, + }, + }, + }, + pickers = { + lsp_code_actions = { + theme = "ivy", + layout_config = { + height = 10, + }, + }, + lsp_range_code_actions = { + theme = "ivy", + layout_config = { + height = 10, + }, + }, + lsp_references = { + theme = "ivy", + layout_config = { + height = 15, + }, + }, + }, +} + +local builtin = require'telescope.builtin' + +local dropdown = require'telescope.themes'.get_dropdown({ + --previewer = false, + --prompt_title = "", + --results_height = 16, + --width = 0.6, + --borderchars = { + --{"─", "│", "─", "│", "╭", "╮", "╯", "╰"}, + --prompt = {"─", "│", " ", "│", "╭", "╮", "│", "│"}, + --results = {"─", "│", "─", "│", "├", "┤", "╯", "╰"}, + --preview = {"─", "│", "─", "│", "╭", "╮", "╯", "╰"} + --}, + --winblend = 10 +}) + +live_grep_repo = function(conf) + --local opt = dropdown + local opt = { + cwd = vim.fn.systemlist("git rev-parse --show-toplevel")[1] + } + for k,v in pairs(conf) do opt[k] = v end + builtin.live_grep(opt) +end + +git_grep_word = function(conf) + --local opt = dropdown + local opt = { + cwd = vim.fn.systemlist("git rev-parse --show-toplevel")[1] + } + for k,v in pairs(conf) do opt[k] = v end + builtin.grep_string(opt) +end + + +function string.insert(str1, str2, pos) + return str1:sub(1,pos)..str2..str1:sub(pos+1) +end + +function string.split(s, delimiter) + result = {}; + for match in (s..delimiter):gmatch("(.-)"..delimiter) do + table.insert(result, match); + end + return result; +end + +local function rust_whereify_line(line, var_name) + if string.find(line, "fn") == nil then + return nil + end + + local paren = string.find(line, "%(") + if paren == nil then return nil end + + local open_generic = string.find(line, "<") + if open_generic ~= nil then + if open_generic < paren then + -- TODO(barakmich): it's already generic, we need to do something for that + -- probably a different function + return nil + end + -- just continue otherwise + end + + local whitespace = string.match(line, "^(%s*)") + + local generic = "<"..var_name..">" + local out = string.insert(line, generic, paren - 1) + + local brace = string.find(out, "%{") + if brace == nil then brace = string.len(out) end + + out = string.insert(out, "\n"..whitespace.."where\n"..whitespace.." "..var_name..": ,\n"..whitespace, brace - 1) + + return string.split(out, "\n") +end + +function rust_where_at_line() + local var_name = vim.fn.input("Variable: ") + local lineNum, col = unpack(vim.api.nvim_win_get_cursor(0)) + local replacements = rust_whereify_line(vim.api.nvim_get_current_line(), var_name) + vim.api.nvim_buf_set_lines(0, lineNum-1, lineNum, false, replacements) + vim.api.nvim_win_set_cursor(0, {lineNum + 2, 4}) +end diff --git a/dot_vim/plugin/AppleT.vim b/.vim/plugin/AppleT.vim similarity index 100% rename from dot_vim/plugin/AppleT.vim rename to .vim/plugin/AppleT.vim diff --git a/dot_vim/plugin/a.vim b/.vim/plugin/a.vim similarity index 100% rename from dot_vim/plugin/a.vim rename to .vim/plugin/a.vim diff --git a/dot_vim/plugin/bclose.vim b/.vim/plugin/bclose.vim similarity index 100% rename from dot_vim/plugin/bclose.vim rename to .vim/plugin/bclose.vim diff --git a/dot_vim/plugin/camelcasemotion.vim b/.vim/plugin/camelcasemotion.vim similarity index 100% rename from dot_vim/plugin/camelcasemotion.vim rename to .vim/plugin/camelcasemotion.vim diff --git a/dot_vim/plugin/cocoa.vim b/.vim/plugin/cocoa.vim similarity index 100% rename from dot_vim/plugin/cocoa.vim rename to .vim/plugin/cocoa.vim diff --git a/dot_vim/plugin/cscope_maps.vim b/.vim/plugin/cscope_maps.vim similarity index 100% rename from dot_vim/plugin/cscope_maps.vim rename to .vim/plugin/cscope_maps.vim diff --git a/dot_vim/plugin/cscopemenu.vim b/.vim/plugin/cscopemenu.vim similarity index 100% rename from dot_vim/plugin/cscopemenu.vim rename to .vim/plugin/cscopemenu.vim diff --git a/dot_vim/plugin/genutils.vim b/.vim/plugin/genutils.vim similarity index 100% rename from dot_vim/plugin/genutils.vim rename to .vim/plugin/genutils.vim diff --git a/dot_vim/plugin/gotags.vim b/.vim/plugin/gotags.vim similarity index 100% rename from dot_vim/plugin/gotags.vim rename to .vim/plugin/gotags.vim diff --git a/dot_vim/plugin/matchit.vim b/.vim/plugin/matchit.vim similarity index 100% rename from dot_vim/plugin/matchit.vim rename to .vim/plugin/matchit.vim diff --git a/dot_vim/plugin/vcsbzr.vim b/.vim/plugin/vcsbzr.vim similarity index 100% rename from dot_vim/plugin/vcsbzr.vim rename to .vim/plugin/vcsbzr.vim diff --git a/dot_vim/plugin/vcscommand.vim b/.vim/plugin/vcscommand.vim similarity index 100% rename from dot_vim/plugin/vcscommand.vim rename to .vim/plugin/vcscommand.vim diff --git a/dot_vim/plugin/vcscvs.vim b/.vim/plugin/vcscvs.vim similarity index 100% rename from dot_vim/plugin/vcscvs.vim rename to .vim/plugin/vcscvs.vim diff --git a/dot_vim/plugin/vcsgit.vim b/.vim/plugin/vcsgit.vim similarity index 100% rename from dot_vim/plugin/vcsgit.vim rename to .vim/plugin/vcsgit.vim diff --git a/dot_vim/plugin/vcshg.vim b/.vim/plugin/vcshg.vim similarity index 100% rename from dot_vim/plugin/vcshg.vim rename to .vim/plugin/vcshg.vim diff --git a/dot_vim/plugin/vcssvk.vim b/.vim/plugin/vcssvk.vim similarity index 100% rename from dot_vim/plugin/vcssvk.vim rename to .vim/plugin/vcssvk.vim diff --git a/dot_vim/plugin/vcssvn.vim b/.vim/plugin/vcssvn.vim similarity index 100% rename from dot_vim/plugin/vcssvn.vim rename to .vim/plugin/vcssvn.vim diff --git a/dot_vim/plugin/vim-scmdiff/NEWS b/.vim/plugin/vim-scmdiff/NEWS similarity index 100% rename from dot_vim/plugin/vim-scmdiff/NEWS rename to .vim/plugin/vim-scmdiff/NEWS diff --git a/dot_vim/plugin/vim-scmdiff/README b/.vim/plugin/vim-scmdiff/README similarity index 100% rename from dot_vim/plugin/vim-scmdiff/README rename to .vim/plugin/vim-scmdiff/README diff --git a/dot_vim/plugin/vim-scmdiff/TODO b/.vim/plugin/vim-scmdiff/TODO similarity index 100% rename from dot_vim/plugin/vim-scmdiff/TODO rename to .vim/plugin/vim-scmdiff/TODO diff --git a/dot_vim/plugin/vim-scmdiff/scmdiff.vim b/.vim/plugin/vim-scmdiff/scmdiff.vim similarity index 100% rename from dot_vim/plugin/vim-scmdiff/scmdiff.vim rename to .vim/plugin/vim-scmdiff/scmdiff.vim diff --git a/dot_vim/skeletons/vue.skel b/.vim/skeletons/skeleton.vue similarity index 100% rename from dot_vim/skeletons/vue.skel rename to .vim/skeletons/skeleton.vue diff --git a/dot_vim/syntax/c.vim b/.vim/syntax/c.vim similarity index 100% rename from dot_vim/syntax/c.vim rename to .vim/syntax/c.vim diff --git a/dot_vim/syntax/cvsannotate.vim b/.vim/syntax/cvsannotate.vim similarity index 100% rename from dot_vim/syntax/cvsannotate.vim rename to .vim/syntax/cvsannotate.vim diff --git a/dot_vim/syntax/gitannotate.vim b/.vim/syntax/gitannotate.vim similarity index 100% rename from dot_vim/syntax/gitannotate.vim rename to .vim/syntax/gitannotate.vim diff --git a/dot_vim/syntax/haskell.vim b/.vim/syntax/haskell.vim similarity index 100% rename from dot_vim/syntax/haskell.vim rename to .vim/syntax/haskell.vim diff --git a/dot_vim/syntax/hgannotate.vim b/.vim/syntax/hgannotate.vim similarity index 100% rename from dot_vim/syntax/hgannotate.vim rename to .vim/syntax/hgannotate.vim diff --git a/dot_vim/syntax/java.vim b/.vim/syntax/java.vim similarity index 100% rename from dot_vim/syntax/java.vim rename to .vim/syntax/java.vim diff --git a/dot_vim/syntax/javascript.vim b/.vim/syntax/javascript.vim similarity index 100% rename from dot_vim/syntax/javascript.vim rename to .vim/syntax/javascript.vim diff --git a/dot_vim/syntax/lilypond-words b/.vim/syntax/lilypond-words similarity index 100% rename from dot_vim/syntax/lilypond-words rename to .vim/syntax/lilypond-words diff --git a/dot_vim/syntax/lilypond-words.vim b/.vim/syntax/lilypond-words.vim similarity index 100% rename from dot_vim/syntax/lilypond-words.vim rename to .vim/syntax/lilypond-words.vim diff --git a/dot_vim/syntax/lilypond.vim b/.vim/syntax/lilypond.vim similarity index 100% rename from dot_vim/syntax/lilypond.vim rename to .vim/syntax/lilypond.vim diff --git a/dot_vim/syntax/mako.vim b/.vim/syntax/mako.vim similarity index 100% rename from dot_vim/syntax/mako.vim rename to .vim/syntax/mako.vim diff --git a/dot_vim/syntax/mediawiki.vim b/.vim/syntax/mediawiki.vim similarity index 100% rename from dot_vim/syntax/mediawiki.vim rename to .vim/syntax/mediawiki.vim diff --git a/dot_vim/syntax/mkd.vim b/.vim/syntax/mkd.vim similarity index 100% rename from dot_vim/syntax/mkd.vim rename to .vim/syntax/mkd.vim diff --git a/dot_vim/syntax/motd.vim b/.vim/syntax/motd.vim similarity index 100% rename from dot_vim/syntax/motd.vim rename to .vim/syntax/motd.vim diff --git a/dot_vim/syntax/nvpscript.vim b/.vim/syntax/nvpscript.vim similarity index 100% rename from dot_vim/syntax/nvpscript.vim rename to .vim/syntax/nvpscript.vim diff --git a/dot_vim/syntax/proto.vim b/.vim/syntax/proto.vim similarity index 100% rename from dot_vim/syntax/proto.vim rename to .vim/syntax/proto.vim diff --git a/dot_vim/syntax/scala.vim b/.vim/syntax/scala.vim similarity index 100% rename from dot_vim/syntax/scala.vim rename to .vim/syntax/scala.vim diff --git a/dot_vim/syntax/snippet.vim b/.vim/syntax/snippet.vim similarity index 100% rename from dot_vim/syntax/snippet.vim rename to .vim/syntax/snippet.vim diff --git a/dot_vim/syntax/svkannotate.vim b/.vim/syntax/svkannotate.vim similarity index 100% rename from dot_vim/syntax/svkannotate.vim rename to .vim/syntax/svkannotate.vim diff --git a/dot_vim/syntax/svnannotate.vim b/.vim/syntax/svnannotate.vim similarity index 100% rename from dot_vim/syntax/svnannotate.vim rename to .vim/syntax/svnannotate.vim diff --git a/dot_vim/syntax/vcscommit.vim b/.vim/syntax/vcscommit.vim similarity index 100% rename from dot_vim/syntax/vcscommit.vim rename to .vim/syntax/vcscommit.vim diff --git a/dot_vim/syntax_checkers/go/golintc.vim b/.vim/syntax_checkers/go/golintc.vim similarity index 100% rename from dot_vim/syntax_checkers/go/golintc.vim rename to .vim/syntax_checkers/go/golintc.vim diff --git a/dot_vim/syntax_checkers/go/gonyet.vim b/.vim/syntax_checkers/go/gonyet.vim similarity index 100% rename from dot_vim/syntax_checkers/go/gonyet.vim rename to .vim/syntax_checkers/go/gonyet.vim diff --git a/dot_vim/syntax_checkers/go/govetshadow.vim b/.vim/syntax_checkers/go/govetshadow.vim similarity index 100% rename from dot_vim/syntax_checkers/go/govetshadow.vim rename to .vim/syntax_checkers/go/govetshadow.vim diff --git a/dot_vim/tabbar.vim b/.vim/tabbar.vim similarity index 100% rename from dot_vim/tabbar.vim rename to .vim/tabbar.vim diff --git a/dot_vim/usnips/c.snippets b/.vim/usnips/c.snippets similarity index 100% rename from dot_vim/usnips/c.snippets rename to .vim/usnips/c.snippets diff --git a/dot_vim/usnips/cpp.snippets b/.vim/usnips/cpp.snippets similarity index 100% rename from dot_vim/usnips/cpp.snippets rename to .vim/usnips/cpp.snippets diff --git a/dot_vim/usnips/go.snippets b/.vim/usnips/go.snippets similarity index 100% rename from dot_vim/usnips/go.snippets rename to .vim/usnips/go.snippets diff --git a/.vimrc b/.vimrc new file mode 100644 index 0000000..47c70c4 --- /dev/null +++ b/.vimrc @@ -0,0 +1,1041 @@ +" ___ _ _ _ +" | _ ) __ _ _ _ __ _| |_( )___ __ _(_)_ __ _ _ __ +" | _ \/ _` | '_/ _` | / //(_-< \ V / | ' \| '_/ _| +" |___/\__,_|_| \__,_|_\_\ /__/ (_)_/|_|_|_|_|_| \__| +" +" +" ** BASIC EDITOR SETTINGS ** +" +" First, we are vim, not vi, so start as many others do with +set nocompatible + +" Allow background buffers. Super important for various tab modes. +set hidden + +" Set default spacing. +" Hard tabs should show as 8. +set ts=8 +" Soft tabs should be 2 wide, and we should use spaces. +" (This is the Googler in me. I've converted to spaces over +" the years because it really is more consistent.) +set softtabstop=2 +set shiftwidth=2 +set expandtab +" I like comma instead of slash, but that probably comes from playing +" Nethack and Angband +let mapleader = "," +let maplocalleader = "\\" + +" Set 'smart' things in Vim +" Search case insensitive, unless it contains Uppercase letters +set smartcase +" Use all the indent features +set autoindent +set smartindent +set cindent +" Make backspace remove indents and line breaks, like a normal editor +set backspace=indent,eol,start + +" Keep a bigger history +set history=1000 +" Allow tab completion for files in command mode. +set wildmenu +set wildmode=list:longest +" Show where you are in the file in the statusbar. +set ruler + +" I hate split above, so make it split below. Likewise, to the right. +set splitbelow +" For autocomplete, follow requirements for nvim-compe +set completeopt=menuone,noselect +set signcolumn=yes +set shortmess+=c + +set diffopt+=vertical +" Some stuff for 256-Color consoles that I've forgotten. +set t_Co=256 +set t_Sf=ESC[3%dm +set t_Sb=ESC[4%dm +set t_ut= +"set t_SH= +"set t_kb= + +" This is like HiglightTooLongLines below, but for modern vim. The problem is +" that it highlights the column, even if your short. Good for measuring, bad for +" my eyes. +"if v:version >= 703 + "set relativenumber + "set colorcolumn=81 +"endif +" ** PATH SETTINGS ** + +let g:loaded_python_provider = 0 +let $RUST_SRC_PATH="/usr/src/rust/src/" + +"let g:ft_ignore_pat = '.org' +" + +if exists('veonim') + let g:vscode_extensions = [ + \'ms-python.python', + \'ms-vscode.go', + \] + set guifont=Droid\ Sans\ Mono\ Dotted:h20 +" set linespace=10 +endif +" * Polyglot + +let g:tex_flavor = 'latex' +let g:polyglot_disabled = ['latex'] + + +" Required: +set runtimepath+=$HOME/.vim/bundle/repos/github.com/Shougo/dein.vim + +" Required: +call plug#begin($HOME . '/.vim/bundle') + +" Plugins that must be first +Plug $HOME . '/.vim/bundle/repos/github.com/Shougo/dein.vim' +Plug 'let-def/vimbufsync' +Plug 'lambdalisue/suda.vim' +Plug 'skywind3000/asyncrun.vim' +Plug 'barakmich/vim-code-dark' + +" Plugins that I almost never use +"Plug 'vim-scripts/DrawIt' +"Plug 'vim-scripts/EasyGrep' +Plug 'chrisbra/NrrwRgn' +"Plug 'mattn/calendar-vim' +"Plug 'rstacruz/sparkup' +"Plug 'tristen/vim-sparkup' +"Plug 'tpope/vim-fireplace', {'for': 'clojure'} +""Plug 'terryma/vim-multiple-cursors' +"Plug 'ambv/black' +Plug 'kana/vim-textobj-user' + + +" Plugins I wish I used more +"Plug 'hsitz/VimOrganizer' +Plug 'jceb/vim-orgmode' +Plug 'tpope/vim-speeddating' + +Plug 'tpope/vim-fugitive' +Plug 'tpope/vim-unimpaired' +Plug 'b4winckler/vim-angry' +Plug 'tpope/vim-surround' +Plug 'junegunn/vim-easy-align' +Plug 'bps/vim-textobj-python' + +" Plugins I NEED +Plug 'scrooloose/nerdcommenter' +Plug 'sjbach/lusty' +"Plug 'w0rp/ale' +"Plug 'airblade/vim-gitgutter' +Plug 'mhinz/vim-signify' +Plug 'vim-airline/vim-airline' +Plug 'vim-airline/vim-airline-themes' +"Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } +"Plug 'junegunn/fzf.vim' +Plug 'airblade/vim-rooter' +"Plug 'bling/vim-bufferline' +Plug 'majutsushi/tagbar' +Plug 'SirVer/ultisnips' +Plug 'honza/vim-snippets' +"Plug 'fatih/vim-go' +Plug 'tpope/vim-abolish' +Plug 'sheerun/vim-polyglot' +Plug 'Shougo/denite.nvim' +Plug 'plytophogy/vim-virtualenv' +"Plug 'ervandew/supertab' +"Plug 'ncm2/ncm2' +"Plug 'roxma/nvim-yarp' + + +" Plugins I NEEDED +"Plug 'scrooloose/nerdtree' +"Plug 'scrooloose/syntastic' +"Plug 'Valloric/YouCompleteMe' +"Plug 'vim-scripts/fish-syntax' +"Plug 'kchmck/vim-coffee-script' +"Plug 'rodjek/vim-puppet' +"Plug 'JuliaLang/julia-vim' +"Plug 'rust-lang/rust.vim' +"Plug 'hashivim/vim-terraform' +"Plug 'HerringtonDarkholme/yats.vim' +"Plug 'kien/ctrlp.vim' +"Plug 'farseer90718/vim-taskwarrior' +"Plug 't-yuki/vim-go-coverlay' + +" Plugins for syntax +Plug 'lunaru/vim-less' +Plug 'hylang/vim-hy', {'for': 'hy'} +"Plug 'mhartington/nvim-typescript' +Plug 'leafgarland/typescript-vim' +Plug 'leafOfTree/vim-svelte-plugin' +"Plug 'posva/vim-vue' +Plug 'Shougo/context_filetype.vim' +"Plug 'idris-hackers/idris-vim', {'for': 'idris'} +Plug 'fedorenchik/AnsiEsc' +Plug 'hwayne/tla.vim' +Plug 'zchee/vim-goasm' +"Plug 'cappyzawa/starlark.vim' + +" Plugins that autocomplete +"Plug 'Shougo/deoplete.nvim' +"Plug 'zchee/deoplete-clang' +"Plug 'zchee/deoplete-go', {'build': {'unix': 'make'}} +"Plug 'zchee/deoplete-jedi' +"Plug 'davidhalter/jedi-vim' +"Plug 'eagletmt/neco-ghc', {'for': 'haskell'} +"Plug 'eagletmt/ghcmod-vim', {'for': 'haskell'} +"Plug 'racer-rust/vim-racer', {'for': 'rust'} +"Plug 'autozimu/LanguageClient-neovim', { + "\ 'branch': 'next', + "\ 'do': 'bash install.sh', + "\ } +"Plug 'ensime/ensime-vim', { 'do': ':UpdateRemotePlugins' } +"Plug 'neoclide/coc.nvim', {'branch': 'release'} +Plug 'neovim/nvim-lspconfig' +Plug 'nvim-lua/lsp_extensions.nvim' +Plug 'hrsh7th/nvim-compe' +"Plug 'nvim-lua/completion-nvim' +Plug 'onsails/lspkind-nvim' + +Plug 'nvim-lua/popup.nvim' +Plug 'nvim-lua/plenary.nvim' +Plug 'nvim-telescope/telescope.nvim' + +Plug 'kyazdani42/nvim-web-devicons' " for file icons +"Plug 'kyazdani42/nvim-tree.lua' + +Plug 'ray-x/lsp_signature.nvim' + +Plug 'RishabhRD/popfix' +Plug 'RishabhRD/nvim-lsputils' +Plug 'folke/trouble.nvim' + +" Plugins that do specific things +"Plug 'Shougo/vimproc.vim' +"Plug 'Shougo/vimfiler.vim' + +Plug 'Shougo/defx.nvim', { 'do': ':UpdateRemotePlugins' } +Plug 'kristijanhusak/defx-icons' + +"Plug 'ggandor/lightspeed.nvim' +Plug 'justinmk/vim-sneak' + +Plug 'Shougo/unite.vim' +" TODO: Look into Coqtail, same author +Plug 'whonore/coquille', {'branch': 'pathogen-bundle', 'for': 'coq'} +"Plug 'dhruvasagar/vim-zoom' +Plug 'gabrielelana/vim-markdown' +Plug 'lervag/vimtex' +Plug 'Shougo/echodoc.vim' +"Plug 'python-rope/ropevim' +Plug 'windwp/nvim-autopairs' + +" Unclear +"Plug 'ncm2/float-preview.nvim' +Plug 'lambdalisue/gina.vim' + +call plug#end() + +filetype plugin indent on +syntax enable + +" enable ncm2 for all buffers +"autocmd BufEnter * call ncm2#enable_for_buffer() + + +" **** Configure LSP + +luafile $HOME/.vim/nvim.lua + + +" Code navigation shortcuts +nnoremap gd lua vim.lsp.buf.definition() +nnoremap gi lua vim.lsp.buf.implementation() +nnoremap gy lua vim.lsp.buf.type_definition() +nnoremap K lua vim.lsp.buf.hover() +nnoremap gs lua vim.lsp.buf.signature_help() +nnoremap gR lua vim.lsp.buf.rename() +"nnoremap gr lua vim.lsp.buf.references() +nnoremap gr lua require('telescope.builtin').lsp_references({initial_mode = "normal"}) +nnoremap g0 lua vim.lsp.buf.document_symbol() +nnoremap gW lua vim.lsp.buf.workspace_symbol() +"nnoremap gd lua vim.lsp.buf.declaration() +"nnoremap ga lua vim.lsp.buf.code_action() +nnoremap ga lua require('telescope.builtin').lsp_code_actions({initial_mode = "normal"}) +vnoremap ga :lua require('telescope.builtin').lsp_range_code_actions({initial_mode = "normal"}) +"nnoremap ge lua vim.lsp.diagnostic.show_line_diagnostics({show_header = false, focusable = false}) +nnoremap ge lua vim.diagnostic.open_float({focusable = false}) + +nnoremap xx TroubleToggle + +" Set updatetime for CursorHold +" 300ms of no cursor movement to trigger CursorHold +set updatetime=500 +" Show diagnostic popup on cursor hold +autocmd CursorHold * lua vim.diagnostic.open_float({focusable = false}) + +" Autoformat on save +autocmd BufWritePre *.lua lua vim.lsp.buf.formatting_sync(nil, 1000) +autocmd BufWritePre *.py lua vim.lsp.buf.formatting_sync(nil, 1000) +autocmd BufWritePre *.rs lua vim.lsp.buf.formatting_seq_sync(nil, 1000) +autocmd BufWritePre *.go lua vim.lsp.buf.formatting_seq_sync(nil, 1000) +autocmd BufWritePre *.go :silent! lua org_imports(3000) + +" Goto previous/next diagnostic warning/error +nnoremap g[ lua vim.lsp.diagnostic.goto_prev() +nnoremap g] lua vim.lsp.diagnostic.goto_next() + +let g:completion_matching_strategy_list = ['exact', 'substring', 'fuzzy'] +let g:completion_matching_smart_case = 1 +let g:completion_sorting = 'length' + +inoremap compe#confirm('') +inoremap compe#close('') +inoremap compe#scroll({ 'delta': +4 }) +inoremap compe#scroll({ 'delta': -4 }) + + +" **** End LSP + +"" Sources +"source ~/.vim/supertab.vim +"source ~/.vim/charm.vim +"source ~/.vim/plugin/AppleT.vim +runtime macros/matchit.vim + +" Completion features (TODO: Add to filetype.vim) +autocmd FileType ruby,eruby set omnifunc=rubycomplete#Complete +autocmd FileType python set tags+=$HOME/.vim/tags/python.ctags +"autocmd FileType python set omnifunc=pythoncomplete#Complete +"autocmd FileType python call SuperTabSetCompletionType("") + +" Set filetype for VimOrganizer +"au! BufRead,BufWrite,BufWritePost,BufNewFile *.org +"au BufEnter *.org call org#SetOrgFileType() + +command! OrgCapture :call org#CaptureBuffer() +command! OrgCaptureFile :call org#OpenCaptureFile() + +" Cull trailing whitespace for all files. +autocmd BufWritePre * :call AutoTrimWhitespace() + +" Set syntax and highlighting +syntax on +" baraknew is my own colorscheme. I used to use slate or dante. +"colorscheme baraknew +"let g:codedark_conservative = 1 +let g:codedark_null_background=1 +colorscheme codedark +"colorscheme slate +"colorscheme dante + +" Turn on the cursorline (highlight on line under cursor) but only for the +" window and buffer you're currently in. A handy trick, I'm trying out as of +" 2013-04-12 but the jury is still out. +autocmd BufEnter * setlocal cursorline +autocmd WinEnter * setlocal cursorline +autocmd WinLeave * setlocal nocursorline +setlocal cursorline + + +" ** PLUGIN CONFIGURATION ** + +" * SuperTab +let g:SuperTabDefaultCompletionType = "" + +" Change the source rank +"call deoplete#custom#option('sources', { + "\ 'python': ['LanguageClient'], + "\ 'cpp': ['LanguageClient'], + "\}) +"call deoplete#custom#source('buffer', 'rank', 1) +"let g:deoplete#sources#clang#libclang_path = '/usr/lib/llvm-6.0/lib/libclang.so' +"let g:deoplete#sources#clang#clang_header = '/usr/lib/llvm-6.0/lib/clang' +let g:deoplete#enable_at_startup = 1 +"let g:deoplete#sources = {} +"let g:deoplete#sources.scala = ['buffer', 'tags', 'omni'] +"let g:deoplete#omni#input_patterns = {} +"let g:deoplete#omni#input_patterns.scala = ['[^. *\t0-9]\.\w*',': [A-Z]\w', '[\[\t\( ][A-Za-z]\w*'] +" * Vim general/Unknown +let python_highlight_all = 1 +let g:Tb_MaxSize=0 +let g:Tb_MapCTabSwitchBufs = 1 +let g:UseGooglePythonSettings = 0 + +" * sneak.vim +"let g:sneak#label = 1 +map f Sneak_f +map F Sneak_F +map t Sneak_t +map T Sneak_T + +" * Jedi +let g:jedi#goto_command = "gd" +"let g:jedi#completions_enabled = 0 + +" * Eclim +let g:EclimCompletionMethod = 'omnifunc' + +" * Syntastic +let g:syntastic_python_checkers = ['python', 'pylint'] +let g:syntastic_go_checkers=['go', 'govet', 'govetshadow', 'golintc'] +let g:syntastic_always_populate_loc_list = 1 +let g:syntastic_auto_loc_list = 2 +let g:syntastic_loc_list_height = 10 +" E111 = Spaces should be multiples of 4. I use 2. +" +" * Polyglot +let g:polyglot_disabled = ['latex'] + +" * ALE +let g:airline#extensions#ale#enabled = 1 +let g:ale_set_highlights = 0 + +" * LanguageServer +let g:LanguageClient_serverCommands = { + \ 'python': ['pyls'], + \ 'cpp': ['ccls'], + \ 'go': ['gopls'], + \ } +let g:LanguageClient_diagnosticsDisplay = { + \1: {'name': 'Error', 'texthl': 'ALEError', 'signText': 'E>', 'signTexthl': 'ALEErrorSign',}, + \2: {"name": "Warning", "texthl": "ALEWarning", "signText": "W>", "signTexthl": "ALEWarningSign",}, + \3: {"name": "Information", "texthl": "ALEInfo", "signText": "i-", "signTexthl": "ALEInfoSign",}, + \4: {"name": "Hint", "texthl": "ALEInfo", "signText": "--", "signTexthl": "ALEInfoSign",}, +\} +"nmap gd (lcn-definition) +"nmap K (lcn-hover) +"nmap m (lcn-menu) + +" * Configure browser for haskell_doc.vim +let g:haddock_browser = "open" +let g:haddock_browser_callformat = "%s %s" + +" * Lusty plugins +let g:LustyExplorerSuppressRubyWarning = 1 +let g:LustyJugglerSuppressRubyWarning = 1 +let g:LustyJugglerShowKeys = 'a' + +" * Buftabs +let g:buftabs_only_basename = 1 +"let g:buftabs_in_statusline=1 + +" Bufferline +let g:bufferline_echo = 0 +let g:bufferline_modified = '+' +let g:bufferline_show_bufnr = 1 +let g:bufferline_rotate = 1 + +" * NERDTree +"let g:NERDChristmasTree = 1 +"let g:NERDChristmasTree = 1 +let g:NERDTreeQuitOnOpen = 1 +let g:NERDTreeWinPos = "right" +let g:NERDTreeWinSize = 40 +let g:NERDTreeDirArrows=0 + +let g:NERDTreeMarkBookmarks = 0 +let g:NERDTreeMinimalUI = 1 + +" * Signify +let g:signify_realtime = 1 +let g:signify_vcs_list = ['git'] +let g:signify_sign_change = '~' +let g:signify_sign_changedelete = g:signify_sign_change +let g:signify_sign_show_count = 0 +let g:signify_priority = 5 + +" * Nvim Tree +let g:nvim_tree_add_trailing = 1 +let g:nvim_tree_side = 'right' +let g:nvim_tree_width = 40 +let g:nvim_tree_quit_on_open = 1 +let g:nvim_tree_disable_window_picker = 1 +let g:nvim_tree_root_folder_modifier = ':p:.' + +" * Tagbar plugin settings +let g:tagbar_width = 40 +let g:tagbar_autofocus = 1 +let g:tagbar_autoclose = 1 +let g:tagbar_compact = 1 + +" * Taglist plugin settings (deprecated) +let Tlist_GainFocus_On_ToggleOpen = 1 +let Tlist_Use_Right_Window = 1 +let Tlist_Inc_Winwidth = 0 +let Tlist_File_Fold_Auto_Close = 1 +let Tlist_WinWidth = 40 +let Tlist_Show_One_File = 0 + +" * ConqueTerm +let g:ConqueTerm_CWInsert = 1 +let g:ConqueTerm_InsertOnEnter = 0 +let g:ConqueTerm_SendVisKey = 'ss' + +" * YouCompleteMe +let g:ycm_global_ycm_extra_conf = '~/.ycm_extra_conf.py' +let g:ycm_confirm_extra_conf = 0 +let g:ycm_key_invoke_completion = "" +let g:ycm_use_ultisnips_completer = 1 +"let g:ycm_add_preview_to_completeopt = 1 +"let g:ycm_autoclose_preview_window_after_completion = 1 + +" * UltiSnips +let g:UltiSnipsSnippetDirectories=["UltiSnips", "usnips"] +let g:UltiSnipsExpandTrigger="," +"let g:UltiSnipsJumpForwardTrigger="," +let g:UltiSnipsJumpBackwardTrigger="" + +" * MinBufExplorer +"let g:miniBufExplMapWindowNavVim = 1 +"let g:miniBufExplMapWindowNavArrows = 1 +"let g:miniBufExplMapCTabSwitchBufs = 1 +"let g:miniBufExplModSelTarget = 1 +"let g:miniBufExplForceSyntaxEnable = 1 + +" Markdown +"let g:markdown_enable_folding = 1 +let g:markdown_enable_mappings = 1 +let g:markdown_enable_spell_checking = 0 +let g:markdown_enable_input_abbreviations = 0 + +" * CommandT +let g:CommandTMaxFiles = 1000 +let g:CommandTMaxDepth = 7 + +" * vim-rooter +let g:rooter_cd_cmd="lcd" +let g:rooter_manual_only = 1 +set autochdir + +" " * FZF +let g:rg_command = ' + \ rg --column --line-number --no-heading --fixed-strings --ignore-case --no-ignore --hidden --follow --color "always" + \ -g "!{.git,node_modules,vendor}/*" ' + +"\ -g "*.{js,json,php,md,styl,jade,html,config,py,cpp,c,go,hs,rb,conf}" + +"command! -bang -nargs=* RipGrep call fzf#vim#grep(g:rg_command .shellescape(), 1, 0) +"command! -bang -nargs=* RipGrepCword call fzf#vim#grep(g:rg_command . "-q " . expand(''), 1, 0) + +"command! -bang -nargs=* RgRoot call fzf#vim#grep("rg --column --line-number --no-heading --color=always --smart-case " . shellescape(), 1, {"dir": FindRootDirectory()}) + +"let g:fzf_buffers_jump = 1 +" Empty value to disable preview window altogether +"let g:fzf_preview_window = '' + +" * VimOrganizer +" default Tag list. Will be changed in near future so +" that these are defined by config lines in each .org +" file itself, but now these are where you can change things: +" let g:org_todo_setup='TODO | DONE' +" while g:org_tag_setup is itself a string +"let g:org_tag_setup='{@home(h) @work(w) @tennisclub(t)} \n {easy(e) hard(d)} \n {computer(c) phone(p)}' +"au! BufRead,BufWrite,BufWritePost,BufNewFile *.org +"au BufEnter *.org call org#SetOrgFileType() + +" * Airline +set noshowmode +let g:airline_section_c = '%{StatuslineGit()}' +let g:airline#extensions#branch#enabled = 1 +let g:airline#extensions#syntastic#enabled = 1 +let g:airline#extensions#tagbar#enabled = 1 +let g:airline_theme="murmur" +let g:airline_left_sep = '' +let g:airline_right_sep = '' +let g:airline#extensions#syntastic#enabled = 1 +let g:airline#extensions#hunks#non_zero_only = 1 +let g:airline#extensions#whitespace#enabled = 0 +let g:airline_mode_map = { + \ '__' : '-', + \ 'n' : 'N', + \ 'i' : 'I', + \ 'R' : 'R', + \ 'c' : 'C', + \ 'v' : 'V', + \ 'V' : 'V', + \ '' : 'V', + \ 's' : 'S', + \ 'S' : 'S', + \ '' : 'S', + \ } + + +" * CtrlP +let g:ctrlp_map = ',t' +let g:ctrlp_cmd = 'CtrlP' +let g:ctrlp_working_path_mode = 'ra' +let g:ctrlp_match_window = 'bottom,order:ttb,min:1,max:15' + +" * Echodoc +let g:echodoc_enable_at_startup = 1 +"let g:echodoc#type = 'floating' +"let g:echodoc#type = 'floating' +"highlight link EchoDocFloat Pmenu + +" * Vim-Go +let g:go_fmt_command = "goimports" +"let g:go_auto_type_info = 1 +let g:go_updatetime = 300 +let g:go_bin_path = $HOME . "/.go/bin" +"let g:go_def_mode = 'gopls' +"let g:go_info_mode = 'gopls' + +let g:go_highlight_functions = 1 +let g:go_highlight_function_calls = 1 +"let g:go_highlight_variable_declarations = 1 +"let g:go_highlight_variable_assignments = 1 + +" ** STATUSLINE ** +set laststatus=2 +set statusline=%t "tail of the filename +"set statusline+=[%{&ff}] "file format +"set statusline+=%h "help file flag +set statusline+=\ %w "help file flag +set statusline+=%r "read only flag +set statusline+=%y "filetype +set statusline+=\ %m "modified flag +set statusline+=%= "left/right separator +set statusline+=%{fugitive#statusline()}\ \ +set statusline+=%c, "cursor column +set statusline+=%l/%L "cursor line/total lines +set statusline+=\ %P "percent through file + +" ** SMALL FUNCTIONS THAT DON'T FIT AS PLUGINS *** + +" Add capital W so I can be lazy about my shift key +if !exists(":W") + command W :w +endif + +" CD to the path of the file I'm editing. +command Cdf :cd %:p:h + +" Print path of file +command Filepath :echo expand('%:p') + +" Save a vim session! Useful if you want to save buffer states and so on +command SaveSession :mksession! ~/.vim_last_session +command LoadSession :source ~/.vim_last_session + +" This is a quick way to edit a persistent scratch buffer for me... +command ScratchOpen :e scp://barak@barakmich.com//home/barak/notes/scratch + +" Sudo-make-me-a-sandwich write. For when I forget to be root. +"command Wdammit :w !sudo tee > /dev/null % +command Wdammit :w suda://% + + +" I can never remember markdown fully. Open me a cheatsheet +command MarkdownCheatsheet :rightb vsplit ~/.vim/markdown_cheatsheet.md + + +" Doesn't quite work right but can be a real savior if needed. +" Oh-shit-what-was-this-like-before-I-changed-it? +function! s:DiffWithSaved() + let filetype=&ft + diffthis + vnew | r # | normal! 1Gdd + diffthis + exe "setlocal bt=nofile bh=wipe nobl noswf ro ft=" . filetype +endfunction +com! DiffSaved call s:DiffWithSaved() + +" Highlight lines that are longer than textwidth for the filetype, commonly 80 +" characters. +function! HighlightTooLongLines() + highlight def link RightMargin Error + if &textwidth != 0 + exec 'match RightMargin /\%<' . (&textwidth + 3) . 'v.\%>' . (&textwidth + 1) . 'v/' + endif +endfunction + +" Toggles the quickfix window split. +command -bang -nargs=? QFix call QFixToggle(0) +function! QFixToggle(forced) + if exists("g:qfix_win") && a:forced == 0 + cclose + else + execute "copen " . 15 + endif +endfunction + +" Toggle LocationList +command -bang -nargs=? LFix call LFixToggle(0) +function! LFixToggle(forced) + if exists("g:lfix_win") && a:forced == 0 + unlet! g:lfix_win + lclose + else + execute "lopen " . 10 + let g:lfix_win = "t" + endif +endfunction + +"au FileType go nmap C (go-clearlay) +"clear overlay +command -bang -nargs=? GoCoverlayT call GoCoverlayToggle(0) +function! GoCoverlayToggle(forced) + if exists("g:go_coverlay_t") && a:forced == 0 + unlet! g:go_coverlay_t + GoClearlay + "call (go-clearlay) + else + "call (go-coverlay) + GoCoverlay + let g:go_coverlay_t = "t" + endif +endfunction + + +" Toggle GoCoverlay +au FileType go nmap c :GoCoverlayT + +" Coquille +au FileType coq nmap a :CoqToCursor +au FileType coq imap a :CoqToCursor + +" Make the Quickfix window respond well to commands (for instance, q to close, +" Enter to select, etc). In tandem with the above. +augroup QFixToggle + autocmd! + autocmd BufWinEnter quickfix let g:qfix_win = bufnr("$") + autocmd BufWinEnter quickfix exec "nnoremap q :QFix" + autocmd BufWinLeave * if exists("g:qfix_win") && expand("") == g:qfix_win | unlet! g:qfix_win | endif +augroup END + + +" Execute a command that pipes output to window. Captures output into a new, +" appropriately titled, buffer. +function! s:ExecuteInShellOutput(command) + let command = join(map(split(a:command), 'expand(v:val)')) + let winnr = bufwinnr('^' . command . '$') + silent! execute winnr < 0 ? 'botright new ' . fnameescape(command) : winnr . 'wincmd w' + setlocal buftype=nowrite bufhidden=wipe nobuflisted noswapfile wrap number + echo 'Executing ' . command . '...' + silent! execute 'silent %!'. command +" uncomment this if you want the new buffer to try to grow to accommodate the output + "silent! execute 'resize ' . line('$') + silent! redraw + silent! execute 'au BufUnload execute bufwinnr(' . bufnr('#') . ') . ''wincmd w''' + silent! execute 'nnoremap r :call ExecuteInShell(''' . command . ''')' + echo 'Execution of ' . command . ' complete.' +endfunction + +" Same as above, doesn't capture output +function! s:ExecuteInShell(command) + let command = join(map(split(a:command), 'expand(v:val)')) + silent! execute 'silent !'. command + redraw! + echo 'Execution of ' . command . ' complete.' +endfunction + +command! -complete=shellcmd -nargs=+ Shell call s:ExecuteInShellOutput() +command! -complete=shellcmd -nargs=+ Exec call s:ExecuteInShell() +command! -nargs=* Make call s:ExecuteInShellOutput('make '.) +command! -nargs=* PTW call s:ExecuteInShell('ptw post --client=vim "'..'"') +command! -nargs=* CaptureNote :AsyncRun -silent capture --viewing %:p 2>&1 > /dev/null + +" Highlight all instances of word under cursor, when idle. +" Useful when studying strange source code. +" Type z/ to toggle highlighting on/off. +nnoremap z/ :if AutoHighlightToggle()set hlselseset nohlsendif +function! AutoHighlightToggle() + let @/ = '' + if exists('#auto_highlight') + au! auto_highlight + augroup! auto_highlight + setl updatetime=4000 + echo 'Highlight current word: off' + return 0 + else + augroup auto_highlight + au! + au CursorHold * let @/ = '\V\<'.escape(expand(''), '\').'\>' + augroup end + setl updatetime=500 + echo 'Highlight current word: ON' + return 1 + endif +endfunction + +" Removes trailing spaces +function AutoTrimWhitespace() + if exists("b:auto_trim_whitespace") + if b:auto_trim_whitespace == 1 + let l:winview = winsaveview() + silent! %s/\s\+$// + call winrestview(l:winview) + endif + endif +endfunction + + +function! StatuslineGit() + let l:root = finddir('.git/..', expand('%:p:h').';') + return expand('%:p:s!'. l:root . '!/!') +endfunction + +function InstallEverything() + GoUpdateBinaries + BlackUpgrade +endfunction + +command CocReinstall :CocInstall coc-json coc-pyright coc-rust-analyzer coc-snippets coc-svelte coc-tsserver coc-ultisnips + + +autocmd FileType defx call s:defx_my_settings() +function! s:defx_my_settings() abort + " Define mappings + nnoremap + \ line('.') == 1 ? defx#do_action('cd', ['..']) : defx#do_action('open') + nnoremap c + \ defx#do_action('copy') + nnoremap m + \ defx#do_action('move') + nnoremap p + \ defx#do_action('paste') + nnoremap l + \ defx#do_action('open') + nnoremap E + \ defx#do_action('open', 'vsplit') + nnoremap P + \ defx#do_action('preview') + nnoremap o + \ defx#do_action('open_tree', 'toggle') + nnoremap K + \ defx#do_action('new_directory') + nnoremap N + \ defx#do_action('new_file') + nnoremap M + \ defx#do_action('new_multiple_files') + nnoremap C + \ defx#do_action('toggle_columns', + \ 'mark:indent:icon:filename:type:size:time') + nnoremap S + \ defx#do_action('toggle_sort', 'time') + nnoremap d + \ defx#do_action('remove') + nnoremap r + \ defx#do_action('rename') + nnoremap ! + \ defx#do_action('execute_command') + nnoremap x + \ defx#do_action('execute_system') + nnoremap yy + \ defx#do_action('yank_path') + nnoremap . + \ defx#do_action('toggle_ignored_files') + nnoremap ; + \ defx#do_action('repeat') + nnoremap h + \ defx#do_action('cd', ['..']) + nnoremap ~ + \ defx#do_action('cd') + nnoremap q + \ defx#do_action('quit') + nnoremap + \ defx#do_action('toggle_select') . 'j' + nnoremap * + \ defx#do_action('toggle_select_all') + nnoremap j + \ line('.') == line('$') ? 'gg' : 'j' + nnoremap k + \ line('.') == 1 ? 'G' : 'k' + nnoremap + \ defx#do_action('redraw') + nnoremap + \ defx#do_action('print') + nnoremap cd + \ defx#do_action('change_vim_cwd') +endfunction + + +" ** KEY REMAPPINGS ** +" +" I used to use tabs, but then I took an arrow to the knee. +" Tabs in vim suck because they aren't what you want. Use tabbar. +"nnoremap gc :tabnew +"nnoremap gK :tabclose +"nnoremap gn gt +"nnoremap gp gT + +" I don't know how I came up with gt for opening the tree, but it stuck. +"nmap gt :NERDTreeToggle +"nmap gt :VimFilerExplorer -winwidth=40 -toggle -direction=rightbelow -parent -status -force-hide +"nmap gt :VimFiler -status -auto-cd -parent -force-quit +nmap gt :Defx `escape(expand('%:p:h'), ' :')` -search=`expand('%:p')` -columns=icons:indent:filename:type +""nnoremap gt :NvimTreeToggle +" The same for the TagList, useful for large C files. +"nmap gb :TlistToggle +nmap gb :TagbarToggle +"nnoremap gx :Kwbd +" :Kwbd (defined below) really kills a buffer dead, and closes the window. +" gK is similar. +nnoremap gc :Kwbd +"nnoremap gc :bdelete +"nnoremap gK :bdelete! + +" I use gn/gp to cycle through open tabs/buffers +nnoremap gn :bn +nnoremap gp :bp +nnoremap gz :pclose +" The single most handy way to get around a file. Cursor over a word, and then +" type g* -- you'll go to the next instance of that word in the file. Make it +" easier to reach by calling it gw (go-word) instead of hidden away. +nnoremap gw g* +" Make shift-p like p except, put the line above instead of below. +nmap P op +" Line-based movement is cute, but it's tricky for files with lines that wrap. +" Attune more to what you see on the screen instead of where the lines actually +" are. +nnoremap j gj +nnoremap k gk +xnoremap j gj +xnoremap k gk +nnoremap gj +nnoremap gk +xnoremap gj +xnoremap gk +inoremap gj +inoremap gk +"nnoremap +" Years of using bash and zsh have caused my fingers to expect these Emacs-like +" mappings to exist. Make them exist in vim as well. But eye them with +" suspicion, as they come from Emacs. +nnoremap ^ +nnoremap $ +xnoremap ^ +xnoremap $ +inoremap ^ +inoremap $ + +" Dealing with split windows is a pain. Make it less of a pain, by making +" Ctrl-direction appropriate. +"nnoremap j +"nnoremap k +"nnoremap l +"nnoremap h +""nnoremap w +""nnoremap W +"inoremap j +"inoremap k +"inoremap l +"inoremap h + +"if has('nvim') + "tnoremap + "tnoremap j + "tnoremap k + "tnoremap l + "tnoremap h +"endif + +" Make it easier to clear highlighting, with no functionality penalty +nnoremap :noh + +" Better fold mappings +nnoremap @=(foldlevel('.')?'za':'l') +vnoremap zf +" Just to be handy, Ctrl-C acts like escape. So does jj, which never really +" comes up in practice. If you really need to type jj do so slowly. +imap +inoremap jj + +" Leader key functions +" See quickfix. +"nnoremap ff :LFix +" See quickfix. +nnoremap ss :SyntasticSetLoclist +" Next quickfix. +nnoremap fn :lnext +" Prev quickfix. +nnoremap fp :lprev +"nnoremap aa :Denite -mode=normal -buffer-name=search-buffer grep +nnoremap ac :Denite -resume -buffer-name=search-buffer grep +"nnoremap aw :DeniteCursorWord -buffer-name=search-buffer grep +" +nnoremap nn :CaptureNote +call denite#custom#map('insert', '', '') +"call denite#custom#var('grep', 'command', ['rg']) +"call denite#custom#var('grep', 'default_opts', + "\ ['--no-heading', '--color', 'never', '--smart-case']) +"call denite#custom#var('grep', 'recursive_opts', []) +"call denite#custom#var('grep', 'pattern_opt', []) +"call denite#custom#var('grep', 'separator', ['--']) +"call denite#custom#var('grep', 'final_opts', []) +"call denite#custom#option('search-buffer', 'highlight_matched_char', 'deniteMatchedChar') +call denite#custom#var('grep', { + \ 'command': ['rg'], + \ 'default_opts': ['-i', '--vimgrep', '--no-heading'], + \ 'recursive_opts': [], + \ 'pattern_opt': ['--regexp'], + \ 'separator': ['--'], + \ 'final_opts': [], + \ }) +"nnoremap g :Denite -buffer-name=search-buffer grep +"nnoremap aa :RipGrep! +nnoremap aa :RgRoot! +"nnoremap aw :RgRoot! +"nnoremap :Files! `git rev-parse --show-toplevel` +"nnoremap :GFiles +nnoremap lua require('telescope.builtin').git_files() +nnoremap ag lua live_grep_repo{ word_match = "-w", only_sort_text = true, search = ''} +nnoremap aw lua git_grep_word{ word_match = "-w", only_sort_text = true, initial_mode = "normal" } + +" For C++ -- A is a great plugin which allows you to jump from the c file to the +" header and vice-versa. Mneumonic here is headerheader. +nnoremap hh :A +" CommandT is useful, but if I'm juggling lots of buffers, limit it to another +" one I have open (instead of standard t). +nnoremap o :Buffers +"nnoremap j +"nnoremap p :PTW +nnoremap p :LustyJugglePrevious +nnoremap jd :YcmCompleter GoToDefinitionElseDeclaration +nnoremap mm :w:make! + +" ** EXTRA INCLUDES ** +" +let s:extrarc = expand($HOME . '/.vimrc_google') +if filereadable(s:extrarc) + exec ':so ' . s:extrarc +endif + +" ** SEE ALSO ** +" filetype.vim + +command Comments lexpr system($HOME . '/src/gogh/src/github.com/barakmich/gogh/gogh') + + +"call remote#host#RegisterPlugin('python3', '/home/barak/.vim/bundle/deoplete.nvim/rplugin/python3/deoplete', [ + "\ {'sync': v:true, 'name': '_deoplete', 'type': 'function', 'opts': {}}, + "\ ]) +" +if !empty($VIRTUAL_ENV) +" let g:python_host_prog = $VIRTUAL_ENV . '/bin/python' +" let g:python3_host_prog = $VIRUTAL_ENV . '3/bin/python' +endif + +autocmd FileType denite call s:denite_my_settings() +function! s:denite_my_settings() abort + nnoremap + \ denite#do_map('do_action') + "nnoremap d + "\ denite#do_map('do_action', 'delete') + "nnoremap p + "\ denite#do_map('do_action', 'preview') + nnoremap q + \ denite#do_map('quit') + nnoremap i + \ denite#do_map('open_filter_buffer') + nnoremap + \ denite#do_map('toggle_select').'j' +endfunction + +map :echo "hi<" . synIDattr(synID(line("."),col("."),1),"name") . '> trans<' . synIDattr(synID(line("."),col("."),0),"name") . "> lo<" . synIDattr(synIDtrans(synID(line("."),col("."),1)),"name") . ">" diff --git a/dot_weechat/weechat.conf b/.weechat/weechat.conf similarity index 100% rename from dot_weechat/weechat.conf rename to .weechat/weechat.conf diff --git a/dot_xinitrc.bak b/.xinitrc.bak similarity index 100% rename from dot_xinitrc.bak rename to .xinitrc.bak diff --git a/dot_xmonad/xmonad.hs b/.xmonad/xmonad.hs similarity index 100% rename from dot_xmonad/xmonad.hs rename to .xmonad/xmonad.hs diff --git a/.xsession b/.xsession new file mode 120000 index 0000000..03280df --- /dev/null +++ b/.xsession @@ -0,0 +1 @@ +.xinitrc \ No newline at end of file diff --git a/dot_ycm_extra_conf.py b/.ycm_extra_conf.py similarity index 100% rename from dot_ycm_extra_conf.py rename to .ycm_extra_conf.py diff --git a/dot_zprofile b/.zprofile similarity index 100% rename from dot_zprofile rename to .zprofile diff --git a/.zsh_profile b/.zsh_profile new file mode 120000 index 0000000..12f501c --- /dev/null +++ b/.zsh_profile @@ -0,0 +1 @@ +./.zprofile \ No newline at end of file diff --git a/dot_zshenv b/.zshenv similarity index 96% rename from dot_zshenv rename to .zshenv index 59b71eb..3c26470 100644 --- a/dot_zshenv +++ b/.zshenv @@ -14,4 +14,3 @@ bindkey '\e[5~' insert-last-word # Page up key if [ -z "$GOPATH" ]; then export GOPATH="$HOME/.go/" fi -. "$HOME/.cargo/env" diff --git a/dot_zshrc b/.zshrc similarity index 92% rename from dot_zshrc rename to .zshrc index 2add78b..9b662af 100644 --- a/dot_zshrc +++ b/.zshrc @@ -56,6 +56,23 @@ for color in RED GREEN YELLOW BLUE MAGENTA CYAN WHITE; do done PR_NO_COLOUR="%{$terminfo[sgr0]%}" + ### + # Decide whether to set a screen title +# if [[ "$TERM" == "screen" ]]; then +# PR_STITLE=$'%{\ekzsh\e\\%}' +# else +# PR_STITLE='' +# fi + +# preexec () { +# local CMD="${1/#sudo /#}" +# local CMD="${CMD/#nano /}" +# local CMD="${CMD/#ssh />}" +# $SCREENME true || echo -ne "\ek${CMD%% *}\e\\" +# } + #precmd () { + #$SCREENME true || echo -ne "\ekzsh\e\\" + #} case `uname` in Darwin) PR_HOST_COLOR=$PR_CYAN @@ -164,8 +181,6 @@ if [ -f '/home/barak/local/google-cloud-sdk/path.zsh.inc' ]; then source '/home/ # The next line enables shell command completion for gcloud. if [ -f '/home/barak/local/google-cloud-sdk/completion.zsh.inc' ]; then source '/home/barak/local/google-cloud-sdk/completion.zsh.inc'; fi -if [ -f '/usr/local/lib/bazel/bin/_bazel' ]; then source '/usr/local/lib/bazel/bin/_bazel'; fi - # This enables autocomplete for kubectl if [ $commands[kubectl] ]; then source <(kubectl completion zsh) diff --git a/bin/executable_ack b/bin/ack old mode 100644 new mode 100755 similarity index 100% rename from bin/executable_ack rename to bin/ack diff --git a/bin/executable_average b/bin/average old mode 100644 new mode 100755 similarity index 100% rename from bin/executable_average rename to bin/average diff --git a/bin/executable_callout b/bin/callout old mode 100644 new mode 100755 similarity index 100% rename from bin/executable_callout rename to bin/callout diff --git a/bin/executable_contract b/bin/contract old mode 100644 new mode 100755 similarity index 100% rename from bin/executable_contract rename to bin/contract diff --git a/bin/executable_cronic b/bin/cronic old mode 100644 new mode 100755 similarity index 100% rename from bin/executable_cronic rename to bin/cronic diff --git a/bin/executable_battery b/bin/executable_battery deleted file mode 100644 index 03ce28b..0000000 --- a/bin/executable_battery +++ /dev/null @@ -1,132 +0,0 @@ -#!/bin/sh - -HEART_FULL=♥ -HEART_EMPTY=♡ -[ -z "$NUM_HEARTS" ] && - NUM_HEARTS=5 - -cutinate() -{ - perc=$1 - inc=$(( 100 / $NUM_HEARTS)) - - - for i in `seq $NUM_HEARTS`; do - if [ $perc -lt 100 ]; then - echo $HEART_EMPTY - else - echo $HEART_FULL - fi - perc=$(( $perc + $inc )) - done -} - -linux_get_bat () -{ - echo $(( $BAT_TOTAL / $BAT_COUNT )) -} - - -openbsd_get_bat () -{ - bf=$(sysctl -n hw.sensors.acpibat0.amphour0 | cut -d ' ' -f 1) - bn=$(sysctl -n hw.sensors.acpibat0.amphour3 | cut -d ' ' -f 1) - echo "(($bn * 100) / $bf)" | bc -l | awk -F '.' '{ print $1 }'; -} - -freebsd_get_bat () -{ - sysctl -n hw.acpi.battery.life -} - -battery_status() -{ -case $(uname -s) in - "Linux") - BATTERIES=$(ls /sys/class/power_supply | grep BAT) - BAT_COUNT=$(ls /sys/class/power_supply | grep BAT | wc -l) - [ $BAT_COUNT -eq 0 ] && return - for BATTERY in $BATTERIES; do - BAT_PATH=/sys/class/power_supply/$BATTERY - STATUS=$BAT_PATH/status - [ "$1" = `cat $STATUS` ] || [ "$1" = "" ] || return 0 - if [ -f "$BAT_PATH/energy_full" ]; then - naming="energy" - elif [ -f "$BAT_PATH/charge_full" ]; then - naming="charge" - elif [ -f "$BAT_PATH/capacity" ]; then - cat "$BAT_PATH/capacity" - return 0 - fi - BAT_PERCENT=$(( 100 * $(cat $BAT_PATH/${naming}_now) / $(cat $BAT_PATH/${naming}_full) )) - BAT_TOTAL=$(( ${BAT_TOTAL-0} + $BAT_PERCENT )) - done - linux_get_bat - ;; - "FreeBSD") - STATUS=`sysctl -n hw.acpi.battery.state` - case $1 in - "Discharging") - if [ $STATUS -eq 1 ]; then - freebsd_get_bat - fi - ;; - "Charging") - if [ $STATUS -eq 2 ]; then - freebsd_get_bat - fi - ;; - "") - freebsd_get_bat - ;; - esac - ;; - "OpenBSD") - openbsd_get_bat - ;; - "Darwin") - case $1 in - "Discharging") - ext="No";; - "Charging") - ext="Yes";; - esac - - ioreg -c AppleSmartBattery -w0 | \ - grep -o '"[^"]*" = [^ ]*' | \ - sed -e 's/= //g' -e 's/"//g' | \ - sort | \ - while read key value; do - case $key in - "MaxCapacity") - export maxcap=$value;; - "CurrentCapacity") - export curcap=$value;; - "ExternalConnected") - if [ -n "$ext" ] && [ "$ext" != "$value" ]; then - exit - fi - ;; - "FullyCharged") - if [ "$value" = "Yes" ]; then - exit - fi - ;; - esac - if [[ -n "$maxcap" && -n $curcap ]]; then - echo $(( 100 * $curcap / $maxcap )) - break - fi - done -esac -} - -BATTERY_STATUS=`battery_status $1` -[ -z "$BATTERY_STATUS" ] && exit - -if [ -n "$CUTE_BATTERY_INDICATOR" ]; then - cutinate $BATTERY_STATUS -else - echo ${BATTERY_STATUS}% -fi - diff --git a/bin/executable_gocov.sh b/bin/executable_gocov.sh deleted file mode 100644 index 53c3cef..0000000 --- a/bin/executable_gocov.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash -set -euo pipefail - -POSITIONAL=() -while [[ $# -gt 0 ]] -do -key="$1" - -case $key in - *) # unknown option - POSITIONAL+=("$1") # save it in an array for later - shift # past argument - ;; -esac -done -set -- "${POSITIONAL[@]}" # restore positional parameters - -FILENAME="${POSITIONAL[0]}" - -go tool cover -html="$FILENAME" -o "$FILENAME.html" -elinks "$FILENAME.html" -rm "$FILENAME.html" diff --git a/bin/executable_gblame b/bin/gblame old mode 100644 new mode 100755 similarity index 100% rename from bin/executable_gblame rename to bin/gblame diff --git a/bin/gettermsize b/bin/gettermsize new file mode 100755 index 0000000..fdd6482 Binary files /dev/null and b/bin/gettermsize differ diff --git a/bin/executable_golintc b/bin/golintc old mode 100644 new mode 100755 similarity index 100% rename from bin/executable_golintc rename to bin/golintc diff --git a/bin/obsidian b/bin/obsidian new file mode 120000 index 0000000..6151d58 --- /dev/null +++ b/bin/obsidian @@ -0,0 +1 @@ +./appimage/obsidian.appimage \ No newline at end of file diff --git a/bin/executable_orly b/bin/orly old mode 100644 new mode 100755 similarity index 100% rename from bin/executable_orly rename to bin/orly diff --git a/bin/executable_pk b/bin/pk old mode 100644 new mode 100755 similarity index 81% rename from bin/executable_pk rename to bin/pk index a7edbdf..1bd1a29 --- a/bin/executable_pk +++ b/bin/pk @@ -1,7 +1,9 @@ #!/bin/sh search () { shift - if command -v pacman &> /dev/null; then + if command -v apt &> /dev/null; then + apt search $1 + elif command -v pacman &> /dev/null; then pacman -Ss $1 || yay -Ss $1 elif command -v dnf &> /dev/null; then dnf search $1 @@ -19,7 +21,9 @@ search () { update () { shift - if command -v pacman &> /dev/null; then + if command -v apt-get &> /dev/null; then + sudo apt-get update + elif command -v pacman &> /dev/null; then sudo pacman -Sy elif command -v dnf &> /dev/null; then sudo dnf update @@ -27,14 +31,14 @@ update () { sudo port selfupdate elif command -v portsnap &> /dev/null; then sudo portsnap fetch && sudo portsnap upgrade - elif command -v apt-get &> /dev/null; then - sudo apt-get update fi } install () { shift - if command -v pacman &> /dev/null; then + if command -v apt-get &> /dev/null; then + sudo apt-get install $* + elif command -v pacman &> /dev/null; then sudo pacman -S $* || yay -S $* elif command -v dnf &> /dev/null; then sudo dnf install $* @@ -42,8 +46,6 @@ install () { sudo port install $* elif command -v portmaster &> /dev/null; then sudo portmaster $* - elif command -v apt-get &> /dev/null; then - sudo apt-get install $* fi } diff --git a/bin/rename_git_branch.sh b/bin/rename_git_branch.sh deleted file mode 100644 index 9eec62f..0000000 --- a/bin/rename_git_branch.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -git checkout $1 -git branch -m $1 $2 -git fetch -git branch --unset-upstream -git branch -u origin/$2 diff --git a/bin/run_browser b/bin/run_browser new file mode 100755 index 0000000..15440ea --- /dev/null +++ b/bin/run_browser @@ -0,0 +1,11 @@ +#!/bin/bash + +if [ -n "`which firefox`" ]; then + firefox +elif [ -n "`which iceweasel`" ]; then + iceweasel +elif [ -n "`which google-chrome`" ]; then + google-chrome +else + exit 1 +fi diff --git a/bin/run_jupyter.sh b/bin/run_jupyter.sh new file mode 100755 index 0000000..d2adca5 --- /dev/null +++ b/bin/run_jupyter.sh @@ -0,0 +1,2 @@ +#!/bin/bash +docker run --rm -p 10000:8888 -e JUPYTER_ENABLE_LAB=yes -v "$PWD":/home/jovyan jupyter/datascience-notebook diff --git a/bin/run_terminal b/bin/run_terminal new file mode 100755 index 0000000..94570a1 --- /dev/null +++ b/bin/run_terminal @@ -0,0 +1,15 @@ +#!/usr/bin/env bash + +if [ -n "`which alacritty`" ]; then + alacritty $@ +elif [ -n "`which terminator`" ]; then + terminator $@ +elif [ -n "`which gnome-terminal`" ]; then + gnome-terminal $@ +elif [ -n "`which xfce4-terminal`" ]; then + xfce4-terminal $@ +elif [ -n "`which urxvt`" ]; then + urxvt $@ +else + xterm $@ +fi diff --git a/bin/run_zotero b/bin/run_zotero new file mode 100755 index 0000000..55c0630 --- /dev/null +++ b/bin/run_zotero @@ -0,0 +1,3 @@ +#!/bin/bash + +tunnelwrap -i "$HOME/.ssh/id_ed25519" -p 2222 8082:docdav.dav.svc.k8s.barakmich.com:80 barak@barakmich.com "$HOME/local/Zotero_linux-x86_64/zotero" diff --git a/bin/executable_theyfightcrime b/bin/theyfightcrime old mode 100644 new mode 100755 similarity index 100% rename from bin/executable_theyfightcrime rename to bin/theyfightcrime diff --git a/bin/executable_vi b/bin/vi old mode 100644 new mode 100755 similarity index 61% rename from bin/executable_vi rename to bin/vi index fe58154..faeface --- a/bin/executable_vi +++ b/bin/vi @@ -2,7 +2,7 @@ export TERM=xterm-256color if [ -n "`which nvim`" ]; then - exec -a nvim nvim "$@" + nvim "$@" else - exec -a vim vim "$@" + vim "$@" fi diff --git a/bin/executable_xinput-toggle b/bin/xinput-toggle old mode 100644 new mode 100755 similarity index 100% rename from bin/executable_xinput-toggle rename to bin/xinput-toggle diff --git a/dot_config/alacritty/alacritty.toml.tmpl b/dot_config/alacritty/alacritty.toml.tmpl deleted file mode 100644 index 2d92f29..0000000 --- a/dot_config/alacritty/alacritty.toml.tmpl +++ /dev/null @@ -1,148 +0,0 @@ -[bell] -color = "#ffffff" -duration = 200 - -[colors] -draw_bold_text_with_bright_colors = false - -[colors.bright] -black = "#565656" -blue = "#49a4f8" -cyan = "#99faf2" -green = "#c0e17d" -magenta = "#a47de9" -red = "#ec5357" -white = "#ffffff" -yellow = "#f9da6a" - -[colors.normal] -black = "#2e2e2e" -blue = "#47a0f3" -cyan = "#64dbed" -green = "#abe047" -magenta = "#7b5cb0" -red = "#eb4129" -white = "#e5e9f0" -yellow = "#f6c744" - -[colors.primary] -background = "#000000" -foreground = "#fffbf6" - -[env] -TERM = "xterm-256color" - -[font] -{{if eq .chezmoi.hostname "lysander" -}} -size = 15.5 -{{ else if eq .chezmoi.hostname "mercutio" -}} -size = 19.0 -{{ else if eq .chezmoi.hostname "rosencrantz" -}} -size = 15.0 -{{ else if eq .chezmoi.hostname "altair" -}} -size = 22 -{{ else if eq .chezmoi.hostname "hermia" -}} -size = 20.5 -{{ else -}} -size = 19.0 -{{ end }} - -[font.bold] -style = "Semi-Condensed" -#style = "Regular" - -[font.bold_italic] -style = "Semi-Condensed Oblique" -#style = "Italic" - -[font.italic] -style = "Light Semi-Condensed Oblique" -#style = "Light Italic" - -[font.normal] -family = "Iosevka Berkeley" -style = "Light Semi-Condensed" -#style = "Light" - -[hints] -alphabet = "jfkdls;ahgurieowpq" - -[[hints.enabled]] -action = "Copy" -regex = "[a-f0-9]{7,}" - -[hints.enabled.binding] -key = "H" -mods = "Control|Shift" - -[[hints.enabled]] -action = "Copy" -regex = "(magnet:|mailto:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\u0000-\u001F\u007F-Ÿ<>\"\\s{-}\\^⟨⟩`]+" - -[hints.enabled.binding] -key = "U" -mods = "Control|Shift" - -[[hints.enabled]] -post_processing = true -regex = "(magnet:|mailto:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\u0000-\u001F\u007F-Ÿ<>\"\\s{-}\\^⟨⟩`]+" -{{if eq .chezmoi.os "darwin" -}} -command = "open" -{{ else -}} -command = "xdg-open" -{{ end }} - -[hints.enabled.binding] -key = "L" -mods = "Control|Shift" - -[hints.enabled.mouse] -enabled = true -mods = "None" - -[[keyboard.bindings]] -action = "ToggleViMode" -key = "Q" -mode = "Vi|~Search" - -[[keyboard.bindings]] -action = "Paste" -key = "P" -mode = "Vi|~Search" - -[[keyboard.bindings]] -{{if eq .chezmoi.hostname "rosencrantz" -}} -action = "ToggleFullscreen" -{{ else -}} -action = "ToggleMaximized" -{{ end }} -key = "Return" -mods = "Alt" - -[[keyboard.bindings]] -action = "ToggleSimpleFullscreen" -key = "Return" -mods = "Command" - -[[keyboard.bindings]] -chars = "\u001B." -key = "Period" -mods = "Command" - -[scrolling] -history = 10000 -multiplier = 3 - -[window] -opacity = 0.88 -startup_mode = "Windowed" -option_as_alt = "Both" -#decorations = "None" - -[window.dimensions] -columns = 106 -lines = 24 - -[window.padding] -x = 3 -y = 3 diff --git a/dot_config/elinks/elinks.conf b/dot_config/elinks/elinks.conf deleted file mode 100644 index eb38a51..0000000 --- a/dot_config/elinks/elinks.conf +++ /dev/null @@ -1,50 +0,0 @@ -## ELinks 0.17.0 configuration file - -## This is ELinks configuration file. You can edit it manually, -## if you wish so; this file is edited by ELinks when you save -## options through UI, however only option values will be altered -## and missing options will be added at the end of file; if option -## is not written in this file, but in some file included from it, -## it is NOT counted as missing. Note that all your formatting, -## own comments and so on will be kept as-is. -## -## Obviously, if you don't like what ELinks is going to do with -## this file, you can change it by altering the config.saving_style -## option. Come on, aren't we friendly guys after all? - - - -############################## -# Automatically saved options -# - -## config -# Configuration handling options. - - ## config.saving_style_w [0|1] - # This is internal option used when displaying a warning about obsolete - # config.saving_style. You shouldn't touch it. - set config.saving_style_w = 1 - - -## terminal -# Terminal options. - - ## terminal.tmux-256color - # Options specific to this terminal type (according to $TERM value). - - ## terminal.tmux-256color.colors - set terminal.tmux-256color.colors = 3 - ## terminal.tmux-256color.type - set terminal.tmux-256color.type = 0 - - -## ui -# User interface options. - - ## ui.language - # Language of user interface. 'System' means that the language will be - # extracted from the environment dynamically. - set ui.language = "System" - - diff --git a/dot_config/fish/.gitignore b/dot_config/fish/.gitignore deleted file mode 100644 index 44e4e55..0000000 --- a/dot_config/fish/.gitignore +++ /dev/null @@ -1 +0,0 @@ -work.fish diff --git a/dot_config/fish/completions/cargo.fish b/dot_config/fish/completions/cargo.fish deleted file mode 100644 index 3c1f8c5..0000000 --- a/dot_config/fish/completions/cargo.fish +++ /dev/null @@ -1,802 +0,0 @@ -# Tab completion for cargo (https://github.com/rust-lang/cargo). - -## --- WRITTEN MANUALLY --- -set -l __fish_cargo_subcommands (cargo --list 2>&1 | string replace -rf '^\s+([^\s]+)\s*(.*)' '$1\t$2' | string escape) - -complete -c cargo -f -c cargo -n __fish_use_subcommand -a "$__fish_cargo_subcommands" -complete -c cargo -x -c cargo -n '__fish_seen_subcommand_from help' -a "$__fish_cargo_subcommands" - -for x in bench b build rustc t test - complete -c cargo -x -n "__fish_seen_subcommand_from $x" -l bench -a "(cargo bench --bench 2>&1 | string replace -rf '^\s+' '')" - complete -c cargo -n "__fish_seen_subcommand_from $x" -l lib -d 'Only this package\'s library' - complete -c cargo -x -n "__fish_seen_subcommand_from $x" -l test -a "(cargo test --test 2>&1 | string replace -rf '^\s+' '')" -end - -for x in bench b build r run rustc t test - complete -c cargo -x -n "__fish_seen_subcommand_from $x" -l bin -a "(cargo run --bin 2>&1 | string replace -rf '^\s+' '')" - complete -c cargo -x -n "__fish_seen_subcommand_from $x" -l example -a "(cargo run --example 2>&1 | string replace -rf '^\s+' '')" -end - -function __fish_cargo_packages - find . -name Cargo.toml | string replace -rf '.*/([^/]+)/?Cargo.toml' '$1' -end -complete -c cargo -n '__fish_seen_subcommand_from run test build debug check' -l package \ - -xa "(__fish_cargo_packages)" - -## --- AUTO-GENERATED WITH `cargo complete fish` --- -complete -c cargo -n __fish_use_subcommand -l explain -d 'Run `rustc --explain CODE`' -complete -c cargo -n __fish_use_subcommand -l color -d 'Coloring: auto, always, never' -complete -c cargo -n __fish_use_subcommand -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n __fish_use_subcommand -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n __fish_use_subcommand -s V -l version -d 'Print version info and exit' -complete -c cargo -n __fish_use_subcommand -l list -d 'List installed commands' -complete -c cargo -n __fish_use_subcommand -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n __fish_use_subcommand -s q -l quiet -d 'No output printed to stdout' -complete -c cargo -n __fish_use_subcommand -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n __fish_use_subcommand -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n __fish_use_subcommand -l offline -d 'Run without accessing the network' -complete -c cargo -n __fish_use_subcommand -s h -l help -d 'Prints help information' -complete -c cargo -n __fish_use_subcommand -f -a bench -d 'Execute all benchmarks of a local package' -complete -c cargo -n __fish_use_subcommand -f -a build -d 'Compile a local package and all of its dependencies' -complete -c cargo -n __fish_use_subcommand -f -a check -d 'Check a local package and all of its dependencies for errors' -complete -c cargo -n __fish_use_subcommand -f -a clean -d 'Remove artifacts that cargo has generated in the past' -complete -c cargo -n __fish_use_subcommand -f -a complete -d 'Generate completion file for a shell' -complete -c cargo -n __fish_use_subcommand -f -a describe-future-incompatibilities -d 'Reports any crates which will eventually stop compiling' -complete -c cargo -n __fish_use_subcommand -f -a doc -d 'Build a package\'s documentation' -complete -c cargo -n __fish_use_subcommand -f -a fetch -d 'Fetch dependencies of a package from the network' -complete -c cargo -n __fish_use_subcommand -f -a fix -d 'Automatically fix lint warnings reported by rustc' -complete -c cargo -n __fish_use_subcommand -f -a generate-lockfile -d 'Generate the lockfile for a package' -complete -c cargo -n __fish_use_subcommand -f -a git-checkout -d 'This subcommand has been removed' -complete -c cargo -n __fish_use_subcommand -f -a init -d 'Create a new cargo package in an existing directory' -complete -c cargo -n __fish_use_subcommand -f -a install -d 'Install a Rust binary. Default location is $HOME/.cargo/bin' -complete -c cargo -n __fish_use_subcommand -f -a locate-project -d 'Print a JSON representation of a Cargo.toml file\'s location' -complete -c cargo -n __fish_use_subcommand -f -a login -d 'Save an api token from the registry locally. If token is not specified, it will be read from stdin.' -complete -c cargo -n __fish_use_subcommand -f -a logout -d 'Remove an API token from the registry locally' -complete -c cargo -n __fish_use_subcommand -f -a metadata -d 'Output the resolved dependencies of a package, the concrete used versions including overrides, in machine-readable format' -complete -c cargo -n __fish_use_subcommand -f -a new -d 'Create a new cargo package at ' -complete -c cargo -n __fish_use_subcommand -f -a owner -d 'Manage the owners of a crate on the registry' -complete -c cargo -n __fish_use_subcommand -f -a package -d 'Assemble the local package into a distributable tarball' -complete -c cargo -n __fish_use_subcommand -f -a pkgid -d 'Print a fully qualified package specification' -complete -c cargo -n __fish_use_subcommand -f -a publish -d 'Upload a package to the registry' -complete -c cargo -n __fish_use_subcommand -f -a read-manifest -d 'Print a JSON representation of a Cargo.toml manifest. - -Deprecated, use `cargo metadata --no-deps` instead.' -complete -c cargo -n __fish_use_subcommand -f -a run -d 'Run a binary or example of the local package' -complete -c cargo -n __fish_use_subcommand -f -a rustc -d 'Compile a package, and pass extra options to the compiler' -complete -c cargo -n __fish_use_subcommand -f -a rustdoc -d 'Build a package\'s documentation, using specified custom flags.' -complete -c cargo -n __fish_use_subcommand -f -a search -d 'Search packages in crates.io' -complete -c cargo -n __fish_use_subcommand -f -a test -d 'Execute all unit and integration tests and build examples of a local package' -complete -c cargo -n __fish_use_subcommand -f -a tree -d 'Display a tree visualization of a dependency graph' -complete -c cargo -n __fish_use_subcommand -f -a uninstall -d 'Remove a Rust binary' -complete -c cargo -n __fish_use_subcommand -f -a update -d 'Update dependencies as recorded in the local lock file' -complete -c cargo -n __fish_use_subcommand -f -a vendor -d 'Vendor all dependencies for a project locally' -complete -c cargo -n __fish_use_subcommand -f -a verify-project -d 'Check correctness of crate manifest' -complete -c cargo -n __fish_use_subcommand -f -a version -d 'Show version information' -complete -c cargo -n __fish_use_subcommand -f -a yank -d 'Remove a pushed crate from the index' -complete -c cargo -n __fish_use_subcommand -f -a help -d 'Prints this message or the help of the given subcommand(s)' -complete -c cargo -n "__fish_seen_subcommand_from bench" -l bin -d 'Benchmark only the specified binary' -complete -c cargo -n "__fish_seen_subcommand_from bench" -l example -d 'Benchmark only the specified example' -complete -c cargo -n "__fish_seen_subcommand_from bench" -l test -d 'Benchmark only the specified test target' -complete -c cargo -n "__fish_seen_subcommand_from bench" -l bench -d 'Benchmark only the specified bench target' -complete -c cargo -n "__fish_seen_subcommand_from bench" -s p -l package -d 'Package to run benchmarks for' -complete -c cargo -n "__fish_seen_subcommand_from bench" -l exclude -d 'Exclude packages from the benchmark' -complete -c cargo -n "__fish_seen_subcommand_from bench" -s j -l jobs -d 'Number of parallel jobs, defaults to # of CPUs' -complete -c cargo -n "__fish_seen_subcommand_from bench" -l features -d 'Space or comma separated list of features to activate' -complete -c cargo -n "__fish_seen_subcommand_from bench" -l target -d 'Build for the target triple' -complete -c cargo -n "__fish_seen_subcommand_from bench" -l target-dir -d 'Directory for all generated artifacts' -complete -c cargo -n "__fish_seen_subcommand_from bench" -l manifest-path -d 'Path to Cargo.toml' -complete -c cargo -n "__fish_seen_subcommand_from bench" -l message-format -d 'Error format' -complete -c cargo -n "__fish_seen_subcommand_from bench" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from bench" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from bench" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from bench" -s q -l quiet -d 'No output printed to stdout' -complete -c cargo -n "__fish_seen_subcommand_from bench" -l lib -d 'Benchmark only this package\'s library' -complete -c cargo -n "__fish_seen_subcommand_from bench" -l bins -d 'Benchmark all binaries' -complete -c cargo -n "__fish_seen_subcommand_from bench" -l examples -d 'Benchmark all examples' -complete -c cargo -n "__fish_seen_subcommand_from bench" -l tests -d 'Benchmark all tests' -complete -c cargo -n "__fish_seen_subcommand_from bench" -l benches -d 'Benchmark all benches' -complete -c cargo -n "__fish_seen_subcommand_from bench" -l all-targets -d 'Benchmark all targets' -complete -c cargo -n "__fish_seen_subcommand_from bench" -l no-run -d 'Compile, but don\'t run benchmarks' -complete -c cargo -n "__fish_seen_subcommand_from bench" -l all -d 'Alias for --workspace (deprecated)' -complete -c cargo -n "__fish_seen_subcommand_from bench" -l workspace -d 'Benchmark all packages in the workspace' -complete -c cargo -n "__fish_seen_subcommand_from bench" -l all-features -d 'Activate all available features' -complete -c cargo -n "__fish_seen_subcommand_from bench" -l no-default-features -d 'Do not activate the `default` feature' -complete -c cargo -n "__fish_seen_subcommand_from bench" -l ignore-rust-version -d 'Ignore `rust-version` specification in packages (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from bench" -l no-fail-fast -d 'Run all benchmarks regardless of failure' -complete -c cargo -n "__fish_seen_subcommand_from bench" -l unit-graph -d 'Output build graph in JSON (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from bench" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from bench" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from bench" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from bench" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from bench" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from bench" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from build" -s p -l package -d 'Package to build (see `cargo help pkgid`)' -complete -c cargo -n "__fish_seen_subcommand_from build" -l exclude -d 'Exclude packages from the build' -complete -c cargo -n "__fish_seen_subcommand_from build" -s j -l jobs -d 'Number of parallel jobs, defaults to # of CPUs' -complete -c cargo -n "__fish_seen_subcommand_from build" -l bin -d 'Build only the specified binary' -complete -c cargo -n "__fish_seen_subcommand_from build" -l example -d 'Build only the specified example' -complete -c cargo -n "__fish_seen_subcommand_from build" -l test -d 'Build only the specified test target' -complete -c cargo -n "__fish_seen_subcommand_from build" -l bench -d 'Build only the specified bench target' -complete -c cargo -n "__fish_seen_subcommand_from build" -l profile -d 'Build artifacts with the specified profile' -complete -c cargo -n "__fish_seen_subcommand_from build" -l features -d 'Space or comma separated list of features to activate' -complete -c cargo -n "__fish_seen_subcommand_from build" -l target -d 'Build for the target triple' -complete -c cargo -n "__fish_seen_subcommand_from build" -l target-dir -d 'Directory for all generated artifacts' -complete -c cargo -n "__fish_seen_subcommand_from build" -l out-dir -d 'Copy final artifacts to this directory (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from build" -l manifest-path -d 'Path to Cargo.toml' -complete -c cargo -n "__fish_seen_subcommand_from build" -l message-format -d 'Error format' -complete -c cargo -n "__fish_seen_subcommand_from build" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from build" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from build" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from build" -s q -l quiet -d 'No output printed to stdout' -complete -c cargo -n "__fish_seen_subcommand_from build" -l all -d 'Alias for --workspace (deprecated)' -complete -c cargo -n "__fish_seen_subcommand_from build" -l workspace -d 'Build all packages in the workspace' -complete -c cargo -n "__fish_seen_subcommand_from build" -l lib -d 'Build only this package\'s library' -complete -c cargo -n "__fish_seen_subcommand_from build" -l bins -d 'Build all binaries' -complete -c cargo -n "__fish_seen_subcommand_from build" -l examples -d 'Build all examples' -complete -c cargo -n "__fish_seen_subcommand_from build" -l tests -d 'Build all tests' -complete -c cargo -n "__fish_seen_subcommand_from build" -l benches -d 'Build all benches' -complete -c cargo -n "__fish_seen_subcommand_from build" -l all-targets -d 'Build all targets' -complete -c cargo -n "__fish_seen_subcommand_from build" -l release -d 'Build artifacts in release mode, with optimizations' -complete -c cargo -n "__fish_seen_subcommand_from build" -l all-features -d 'Activate all available features' -complete -c cargo -n "__fish_seen_subcommand_from build" -l no-default-features -d 'Do not activate the `default` feature' -complete -c cargo -n "__fish_seen_subcommand_from build" -l ignore-rust-version -d 'Ignore `rust-version` specification in packages (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from build" -l build-plan -d 'Output the build plan in JSON (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from build" -l unit-graph -d 'Output build graph in JSON (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from build" -l future-incompat-report -d 'Ouputs a future incompatibility report at the end of the build (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from build" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from build" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from build" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from build" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from build" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from build" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from check" -s p -l package -d 'Package(s) to check' -complete -c cargo -n "__fish_seen_subcommand_from check" -l exclude -d 'Exclude packages from the check' -complete -c cargo -n "__fish_seen_subcommand_from check" -s j -l jobs -d 'Number of parallel jobs, defaults to # of CPUs' -complete -c cargo -n "__fish_seen_subcommand_from check" -l bin -d 'Check only the specified binary' -complete -c cargo -n "__fish_seen_subcommand_from check" -l example -d 'Check only the specified example' -complete -c cargo -n "__fish_seen_subcommand_from check" -l test -d 'Check only the specified test target' -complete -c cargo -n "__fish_seen_subcommand_from check" -l bench -d 'Check only the specified bench target' -complete -c cargo -n "__fish_seen_subcommand_from check" -l profile -d 'Check artifacts with the specified profile' -complete -c cargo -n "__fish_seen_subcommand_from check" -l features -d 'Space or comma separated list of features to activate' -complete -c cargo -n "__fish_seen_subcommand_from check" -l target -d 'Check for the target triple' -complete -c cargo -n "__fish_seen_subcommand_from check" -l target-dir -d 'Directory for all generated artifacts' -complete -c cargo -n "__fish_seen_subcommand_from check" -l manifest-path -d 'Path to Cargo.toml' -complete -c cargo -n "__fish_seen_subcommand_from check" -l message-format -d 'Error format' -complete -c cargo -n "__fish_seen_subcommand_from check" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from check" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from check" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from check" -s q -l quiet -d 'No output printed to stdout' -complete -c cargo -n "__fish_seen_subcommand_from check" -l all -d 'Alias for --workspace (deprecated)' -complete -c cargo -n "__fish_seen_subcommand_from check" -l workspace -d 'Check all packages in the workspace' -complete -c cargo -n "__fish_seen_subcommand_from check" -l lib -d 'Check only this package\'s library' -complete -c cargo -n "__fish_seen_subcommand_from check" -l bins -d 'Check all binaries' -complete -c cargo -n "__fish_seen_subcommand_from check" -l examples -d 'Check all examples' -complete -c cargo -n "__fish_seen_subcommand_from check" -l tests -d 'Check all tests' -complete -c cargo -n "__fish_seen_subcommand_from check" -l benches -d 'Check all benches' -complete -c cargo -n "__fish_seen_subcommand_from check" -l all-targets -d 'Check all targets' -complete -c cargo -n "__fish_seen_subcommand_from check" -l release -d 'Check artifacts in release mode, with optimizations' -complete -c cargo -n "__fish_seen_subcommand_from check" -l all-features -d 'Activate all available features' -complete -c cargo -n "__fish_seen_subcommand_from check" -l no-default-features -d 'Do not activate the `default` feature' -complete -c cargo -n "__fish_seen_subcommand_from check" -l ignore-rust-version -d 'Ignore `rust-version` specification in packages (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from check" -l unit-graph -d 'Output build graph in JSON (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from check" -l future-incompat-report -d 'Ouputs a future incompatibility report at the end of the build (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from check" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from check" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from check" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from check" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from check" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from check" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from clean" -s p -l package -d 'Package to clean artifacts for' -complete -c cargo -n "__fish_seen_subcommand_from clean" -l manifest-path -d 'Path to Cargo.toml' -complete -c cargo -n "__fish_seen_subcommand_from clean" -l target -d 'Target triple to clean output for' -complete -c cargo -n "__fish_seen_subcommand_from clean" -l target-dir -d 'Directory for all generated artifacts' -complete -c cargo -n "__fish_seen_subcommand_from clean" -l profile -d 'Clean artifacts of the specified profile' -complete -c cargo -n "__fish_seen_subcommand_from clean" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from clean" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from clean" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from clean" -s q -l quiet -d 'No output printed to stdout' -complete -c cargo -n "__fish_seen_subcommand_from clean" -l release -d 'Whether or not to clean release artifacts' -complete -c cargo -n "__fish_seen_subcommand_from clean" -l doc -d 'Whether or not to clean just the documentation directory' -complete -c cargo -n "__fish_seen_subcommand_from clean" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from clean" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from clean" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from clean" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from clean" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from clean" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from complete" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from complete" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from complete" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from complete" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from complete" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from complete" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from complete" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from complete" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from complete" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from describe-future-incompatibilities" -l id -d 'identifier of the report [generated by a Cargo command invocation' -complete -c cargo -n "__fish_seen_subcommand_from describe-future-incompatibilities" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from describe-future-incompatibilities" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from describe-future-incompatibilities" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from describe-future-incompatibilities" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from describe-future-incompatibilities" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from describe-future-incompatibilities" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from describe-future-incompatibilities" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from describe-future-incompatibilities" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from describe-future-incompatibilities" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from doc" -s p -l package -d 'Package to document' -complete -c cargo -n "__fish_seen_subcommand_from doc" -l exclude -d 'Exclude packages from the build' -complete -c cargo -n "__fish_seen_subcommand_from doc" -s j -l jobs -d 'Number of parallel jobs, defaults to # of CPUs' -complete -c cargo -n "__fish_seen_subcommand_from doc" -l bin -d 'Document only the specified binary' -complete -c cargo -n "__fish_seen_subcommand_from doc" -l profile -d 'Build artifacts with the specified profile' -complete -c cargo -n "__fish_seen_subcommand_from doc" -l features -d 'Space or comma separated list of features to activate' -complete -c cargo -n "__fish_seen_subcommand_from doc" -l target -d 'Build for the target triple' -complete -c cargo -n "__fish_seen_subcommand_from doc" -l target-dir -d 'Directory for all generated artifacts' -complete -c cargo -n "__fish_seen_subcommand_from doc" -l manifest-path -d 'Path to Cargo.toml' -complete -c cargo -n "__fish_seen_subcommand_from doc" -l message-format -d 'Error format' -complete -c cargo -n "__fish_seen_subcommand_from doc" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from doc" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from doc" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from doc" -s q -l quiet -d 'No output printed to stdout' -complete -c cargo -n "__fish_seen_subcommand_from doc" -l open -d 'Opens the docs in a browser after the operation' -complete -c cargo -n "__fish_seen_subcommand_from doc" -l all -d 'Alias for --workspace (deprecated)' -complete -c cargo -n "__fish_seen_subcommand_from doc" -l workspace -d 'Document all packages in the workspace' -complete -c cargo -n "__fish_seen_subcommand_from doc" -l no-deps -d 'Don\'t build documentation for dependencies' -complete -c cargo -n "__fish_seen_subcommand_from doc" -l document-private-items -d 'Document private items' -complete -c cargo -n "__fish_seen_subcommand_from doc" -l lib -d 'Document only this package\'s library' -complete -c cargo -n "__fish_seen_subcommand_from doc" -l bins -d 'Document all binaries' -complete -c cargo -n "__fish_seen_subcommand_from doc" -l release -d 'Build artifacts in release mode, with optimizations' -complete -c cargo -n "__fish_seen_subcommand_from doc" -l all-features -d 'Activate all available features' -complete -c cargo -n "__fish_seen_subcommand_from doc" -l no-default-features -d 'Do not activate the `default` feature' -complete -c cargo -n "__fish_seen_subcommand_from doc" -l ignore-rust-version -d 'Ignore `rust-version` specification in packages (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from doc" -l unit-graph -d 'Output build graph in JSON (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from doc" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from doc" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from doc" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from doc" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from doc" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from doc" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from fetch" -l manifest-path -d 'Path to Cargo.toml' -complete -c cargo -n "__fish_seen_subcommand_from fetch" -l target -d 'Fetch dependencies for the target triple' -complete -c cargo -n "__fish_seen_subcommand_from fetch" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from fetch" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from fetch" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from fetch" -s q -l quiet -d 'No output printed to stdout' -complete -c cargo -n "__fish_seen_subcommand_from fetch" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from fetch" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from fetch" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from fetch" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from fetch" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from fetch" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from fix" -s p -l package -d 'Package(s) to fix' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l exclude -d 'Exclude packages from the fixes' -complete -c cargo -n "__fish_seen_subcommand_from fix" -s j -l jobs -d 'Number of parallel jobs, defaults to # of CPUs' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l bin -d 'Fix only the specified binary' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l example -d 'Fix only the specified example' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l test -d 'Fix only the specified test target' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l bench -d 'Fix only the specified bench target' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l profile -d 'Build artifacts with the specified profile' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l features -d 'Space or comma separated list of features to activate' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l target -d 'Fix for the target triple' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l target-dir -d 'Directory for all generated artifacts' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l manifest-path -d 'Path to Cargo.toml' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l message-format -d 'Error format' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from fix" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from fix" -s q -l quiet -d 'No output printed to stdout' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l all -d 'Alias for --workspace (deprecated)' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l workspace -d 'Fix all packages in the workspace' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l lib -d 'Fix only this package\'s library' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l bins -d 'Fix all binaries' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l examples -d 'Fix all examples' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l tests -d 'Fix all tests' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l benches -d 'Fix all benches' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l all-targets -d 'Fix all targets (default)' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l release -d 'Fix artifacts in release mode, with optimizations' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l all-features -d 'Activate all available features' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l no-default-features -d 'Do not activate the `default` feature' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l broken-code -d 'Fix code even if it already has compiler errors' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l edition -d 'Fix in preparation for the next edition' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l edition-idioms -d 'Fix warnings to migrate to the idioms of an edition' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l allow-no-vcs -d 'Fix code even if a VCS was not detected' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l allow-dirty -d 'Fix code even if the working directory is dirty' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l allow-staged -d 'Fix code even if the working directory has staged changes' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l ignore-rust-version -d 'Ignore `rust-version` specification in packages (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from fix" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from fix" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from fix" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from fix" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from generate-lockfile" -l manifest-path -d 'Path to Cargo.toml' -complete -c cargo -n "__fish_seen_subcommand_from generate-lockfile" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from generate-lockfile" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from generate-lockfile" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from generate-lockfile" -s q -l quiet -d 'No output printed to stdout' -complete -c cargo -n "__fish_seen_subcommand_from generate-lockfile" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from generate-lockfile" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from generate-lockfile" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from generate-lockfile" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from generate-lockfile" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from generate-lockfile" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from git-checkout" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from git-checkout" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from git-checkout" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from git-checkout" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from git-checkout" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from git-checkout" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from git-checkout" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from git-checkout" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from git-checkout" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from init" -l registry -d 'Registry to use' -complete -c cargo -n "__fish_seen_subcommand_from init" -l vcs -d 'Initialize a new repository for the given version control system (git, hg, pijul, or fossil) or do not initialize any version control at all (none), overriding a global configuration.' -r -f -a "git hg pijul fossil none" -complete -c cargo -n "__fish_seen_subcommand_from init" -l edition -d 'Edition to set for the crate generated' -r -f -a "2015 2018 2021" -complete -c cargo -n "__fish_seen_subcommand_from init" -l name -d 'Set the resulting package name, defaults to the directory name' -complete -c cargo -n "__fish_seen_subcommand_from init" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from init" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from init" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from init" -s q -l quiet -d 'No output printed to stdout' -complete -c cargo -n "__fish_seen_subcommand_from init" -l bin -d 'Use a binary (application) template [default]' -complete -c cargo -n "__fish_seen_subcommand_from init" -l lib -d 'Use a library template' -complete -c cargo -n "__fish_seen_subcommand_from init" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from init" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from init" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from init" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from init" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from init" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from install" -l version -d 'Specify a version to install' -complete -c cargo -n "__fish_seen_subcommand_from install" -l git -d 'Git URL to install the specified crate from' -complete -c cargo -n "__fish_seen_subcommand_from install" -l branch -d 'Branch to use when installing from git' -complete -c cargo -n "__fish_seen_subcommand_from install" -l tag -d 'Tag to use when installing from git' -complete -c cargo -n "__fish_seen_subcommand_from install" -l rev -d 'Specific commit to use when installing from git' -complete -c cargo -n "__fish_seen_subcommand_from install" -l path -d 'Filesystem path to local crate to install' -complete -c cargo -n "__fish_seen_subcommand_from install" -s j -l jobs -d 'Number of parallel jobs, defaults to # of CPUs' -complete -c cargo -n "__fish_seen_subcommand_from install" -l features -d 'Space or comma separated list of features to activate' -complete -c cargo -n "__fish_seen_subcommand_from install" -l profile -d 'Install artifacts with the specified profile' -complete -c cargo -n "__fish_seen_subcommand_from install" -l bin -d 'Install only the specified binary' -complete -c cargo -n "__fish_seen_subcommand_from install" -l example -d 'Install only the specified example' -complete -c cargo -n "__fish_seen_subcommand_from install" -l target -d 'Build for the target triple' -complete -c cargo -n "__fish_seen_subcommand_from install" -l target-dir -d 'Directory for all generated artifacts' -complete -c cargo -n "__fish_seen_subcommand_from install" -l root -d 'Directory to install packages into' -complete -c cargo -n "__fish_seen_subcommand_from install" -l index -d 'Registry index to install from' -complete -c cargo -n "__fish_seen_subcommand_from install" -l registry -d 'Registry to use' -complete -c cargo -n "__fish_seen_subcommand_from install" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from install" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from install" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from install" -s q -l quiet -d 'No output printed to stdout' -complete -c cargo -n "__fish_seen_subcommand_from install" -l list -d 'list all installed packages and their versions' -complete -c cargo -n "__fish_seen_subcommand_from install" -s f -l force -d 'Force overwriting existing crates or binaries' -complete -c cargo -n "__fish_seen_subcommand_from install" -l no-track -d 'Do not save tracking information' -complete -c cargo -n "__fish_seen_subcommand_from install" -l all-features -d 'Activate all available features' -complete -c cargo -n "__fish_seen_subcommand_from install" -l no-default-features -d 'Do not activate the `default` feature' -complete -c cargo -n "__fish_seen_subcommand_from install" -l debug -d 'Build in debug mode instead of release mode' -complete -c cargo -n "__fish_seen_subcommand_from install" -l bins -d 'Install all binaries' -complete -c cargo -n "__fish_seen_subcommand_from install" -l examples -d 'Install all examples' -complete -c cargo -n "__fish_seen_subcommand_from install" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from install" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from install" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from install" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from install" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from locate-project" -l manifest-path -d 'Path to Cargo.toml' -complete -c cargo -n "__fish_seen_subcommand_from locate-project" -l message-format -d 'Output representation [possible values: json, plain]' -complete -c cargo -n "__fish_seen_subcommand_from locate-project" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from locate-project" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from locate-project" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from locate-project" -s q -l quiet -d 'No output printed to stdout' -complete -c cargo -n "__fish_seen_subcommand_from locate-project" -l workspace -d 'Locate Cargo.toml of the workspace root' -complete -c cargo -n "__fish_seen_subcommand_from locate-project" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from locate-project" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from locate-project" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from locate-project" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from locate-project" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from locate-project" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from login" -l host -d 'Host to set the token for' -complete -c cargo -n "__fish_seen_subcommand_from login" -l registry -d 'Registry to use' -complete -c cargo -n "__fish_seen_subcommand_from login" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from login" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from login" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from login" -s q -l quiet -d 'No output printed to stdout' -complete -c cargo -n "__fish_seen_subcommand_from login" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from login" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from login" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from login" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from login" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from login" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from logout" -l registry -d 'Registry to use' -complete -c cargo -n "__fish_seen_subcommand_from logout" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from logout" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from logout" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from logout" -s q -l quiet -d 'No output printed to stdout' -complete -c cargo -n "__fish_seen_subcommand_from logout" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from logout" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from logout" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from logout" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from logout" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from logout" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from metadata" -l features -d 'Space or comma separated list of features to activate' -complete -c cargo -n "__fish_seen_subcommand_from metadata" -l filter-platform -d 'Only include resolve dependencies matching the given target-triple' -complete -c cargo -n "__fish_seen_subcommand_from metadata" -l manifest-path -d 'Path to Cargo.toml' -complete -c cargo -n "__fish_seen_subcommand_from metadata" -l format-version -d 'Format version' -r -f -a 1 -complete -c cargo -n "__fish_seen_subcommand_from metadata" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from metadata" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from metadata" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from metadata" -s q -l quiet -d 'Do not print cargo log messages' -complete -c cargo -n "__fish_seen_subcommand_from metadata" -l all-features -d 'Activate all available features' -complete -c cargo -n "__fish_seen_subcommand_from metadata" -l no-default-features -d 'Do not activate the `default` feature' -complete -c cargo -n "__fish_seen_subcommand_from metadata" -l no-deps -d 'Output information only about the workspace members and don\'t fetch dependencies' -complete -c cargo -n "__fish_seen_subcommand_from metadata" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from metadata" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from metadata" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from metadata" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from metadata" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from metadata" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from new" -l registry -d 'Registry to use' -complete -c cargo -n "__fish_seen_subcommand_from new" -l vcs -d 'Initialize a new repository for the given version control system (git, hg, pijul, or fossil) or do not initialize any version control at all (none), overriding a global configuration.' -r -f -a "git hg pijul fossil none" -complete -c cargo -n "__fish_seen_subcommand_from new" -l edition -d 'Edition to set for the crate generated' -r -f -a "2015 2018 2021" -complete -c cargo -n "__fish_seen_subcommand_from new" -l name -d 'Set the resulting package name, defaults to the directory name' -complete -c cargo -n "__fish_seen_subcommand_from new" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from new" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from new" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from new" -s q -l quiet -d 'No output printed to stdout' -complete -c cargo -n "__fish_seen_subcommand_from new" -l bin -d 'Use a binary (application) template [default]' -complete -c cargo -n "__fish_seen_subcommand_from new" -l lib -d 'Use a library template' -complete -c cargo -n "__fish_seen_subcommand_from new" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from new" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from new" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from new" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from new" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from new" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from owner" -s a -l add -d 'Name of a user or team to invite as an owner' -complete -c cargo -n "__fish_seen_subcommand_from owner" -s r -l remove -d 'Name of a user or team to remove as an owner' -complete -c cargo -n "__fish_seen_subcommand_from owner" -l index -d 'Registry index to modify owners for' -complete -c cargo -n "__fish_seen_subcommand_from owner" -l token -d 'API token to use when authenticating' -complete -c cargo -n "__fish_seen_subcommand_from owner" -l registry -d 'Registry to use' -complete -c cargo -n "__fish_seen_subcommand_from owner" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from owner" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from owner" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from owner" -s q -l quiet -d 'No output printed to stdout' -complete -c cargo -n "__fish_seen_subcommand_from owner" -s l -l list -d 'List owners of a crate' -complete -c cargo -n "__fish_seen_subcommand_from owner" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from owner" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from owner" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from owner" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from owner" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from owner" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from package" -l target -d 'Build for the target triple' -complete -c cargo -n "__fish_seen_subcommand_from package" -l target-dir -d 'Directory for all generated artifacts' -complete -c cargo -n "__fish_seen_subcommand_from package" -l features -d 'Space or comma separated list of features to activate' -complete -c cargo -n "__fish_seen_subcommand_from package" -l manifest-path -d 'Path to Cargo.toml' -complete -c cargo -n "__fish_seen_subcommand_from package" -s j -l jobs -d 'Number of parallel jobs, defaults to # of CPUs' -complete -c cargo -n "__fish_seen_subcommand_from package" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from package" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from package" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from package" -s q -l quiet -d 'No output printed to stdout' -complete -c cargo -n "__fish_seen_subcommand_from package" -s l -l list -d 'Print files included in a package without making one' -complete -c cargo -n "__fish_seen_subcommand_from package" -l no-verify -d 'Don\'t verify the contents by building them' -complete -c cargo -n "__fish_seen_subcommand_from package" -l no-metadata -d 'Ignore warnings about a lack of human-usable metadata' -complete -c cargo -n "__fish_seen_subcommand_from package" -l allow-dirty -d 'Allow dirty working directories to be packaged' -complete -c cargo -n "__fish_seen_subcommand_from package" -l all-features -d 'Activate all available features' -complete -c cargo -n "__fish_seen_subcommand_from package" -l no-default-features -d 'Do not activate the `default` feature' -complete -c cargo -n "__fish_seen_subcommand_from package" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from package" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from package" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from package" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from package" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from package" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from pkgid" -s p -l package -d 'Argument to get the package ID specifier for' -complete -c cargo -n "__fish_seen_subcommand_from pkgid" -l manifest-path -d 'Path to Cargo.toml' -complete -c cargo -n "__fish_seen_subcommand_from pkgid" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from pkgid" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from pkgid" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from pkgid" -s q -l quiet -d 'No output printed to stdout' -complete -c cargo -n "__fish_seen_subcommand_from pkgid" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from pkgid" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from pkgid" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from pkgid" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from pkgid" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from pkgid" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from publish" -l index -d 'Registry index URL to upload the package to' -complete -c cargo -n "__fish_seen_subcommand_from publish" -l host -d 'DEPRECATED, renamed to \'--index\'' -complete -c cargo -n "__fish_seen_subcommand_from publish" -l token -d 'Token to use when uploading' -complete -c cargo -n "__fish_seen_subcommand_from publish" -l target -d 'Build for the target triple' -complete -c cargo -n "__fish_seen_subcommand_from publish" -l target-dir -d 'Directory for all generated artifacts' -complete -c cargo -n "__fish_seen_subcommand_from publish" -l manifest-path -d 'Path to Cargo.toml' -complete -c cargo -n "__fish_seen_subcommand_from publish" -l features -d 'Space or comma separated list of features to activate' -complete -c cargo -n "__fish_seen_subcommand_from publish" -s j -l jobs -d 'Number of parallel jobs, defaults to # of CPUs' -complete -c cargo -n "__fish_seen_subcommand_from publish" -l registry -d 'Registry to publish to' -complete -c cargo -n "__fish_seen_subcommand_from publish" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from publish" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from publish" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from publish" -s q -l quiet -d 'No output printed to stdout' -complete -c cargo -n "__fish_seen_subcommand_from publish" -l no-verify -d 'Don\'t verify the contents by building them' -complete -c cargo -n "__fish_seen_subcommand_from publish" -l allow-dirty -d 'Allow dirty working directories to be packaged' -complete -c cargo -n "__fish_seen_subcommand_from publish" -l all-features -d 'Activate all available features' -complete -c cargo -n "__fish_seen_subcommand_from publish" -l no-default-features -d 'Do not activate the `default` feature' -complete -c cargo -n "__fish_seen_subcommand_from publish" -l dry-run -d 'Perform all checks without uploading' -complete -c cargo -n "__fish_seen_subcommand_from publish" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from publish" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from publish" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from publish" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from publish" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from publish" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from read-manifest" -l manifest-path -d 'Path to Cargo.toml' -complete -c cargo -n "__fish_seen_subcommand_from read-manifest" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from read-manifest" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from read-manifest" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from read-manifest" -s q -l quiet -d 'No output printed to stdout' -complete -c cargo -n "__fish_seen_subcommand_from read-manifest" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from read-manifest" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from read-manifest" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from read-manifest" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from read-manifest" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from read-manifest" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from run" -l bin -d 'Name of the bin target to run' -complete -c cargo -n "__fish_seen_subcommand_from run" -l example -d 'Name of the example target to run' -complete -c cargo -n "__fish_seen_subcommand_from run" -s p -l package -d 'Package with the target to run' -complete -c cargo -n "__fish_seen_subcommand_from run" -s j -l jobs -d 'Number of parallel jobs, defaults to # of CPUs' -complete -c cargo -n "__fish_seen_subcommand_from run" -l profile -d 'Build artifacts with the specified profile' -complete -c cargo -n "__fish_seen_subcommand_from run" -l features -d 'Space or comma separated list of features to activate' -complete -c cargo -n "__fish_seen_subcommand_from run" -l target -d 'Build for the target triple' -complete -c cargo -n "__fish_seen_subcommand_from run" -l target-dir -d 'Directory for all generated artifacts' -complete -c cargo -n "__fish_seen_subcommand_from run" -l manifest-path -d 'Path to Cargo.toml' -complete -c cargo -n "__fish_seen_subcommand_from run" -l message-format -d 'Error format' -complete -c cargo -n "__fish_seen_subcommand_from run" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from run" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from run" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from run" -s q -l quiet -d 'No output printed to stdout' -complete -c cargo -n "__fish_seen_subcommand_from run" -l release -d 'Build artifacts in release mode, with optimizations' -complete -c cargo -n "__fish_seen_subcommand_from run" -l all-features -d 'Activate all available features' -complete -c cargo -n "__fish_seen_subcommand_from run" -l no-default-features -d 'Do not activate the `default` feature' -complete -c cargo -n "__fish_seen_subcommand_from run" -l unit-graph -d 'Output build graph in JSON (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from run" -l ignore-rust-version -d 'Ignore `rust-version` specification in packages (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from run" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from run" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from run" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from run" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from run" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from run" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -s p -l package -d 'Package to build' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -s j -l jobs -d 'Number of parallel jobs, defaults to # of CPUs' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -l bin -d 'Build only the specified binary' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -l example -d 'Build only the specified example' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -l test -d 'Build only the specified test target' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -l bench -d 'Build only the specified bench target' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -l profile -d 'Build artifacts with the specified profile' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -l features -d 'Space or comma separated list of features to activate' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -l target -d 'Target triple which compiles will be for' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -l print -d 'Output compiler information without compiling' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -l target-dir -d 'Directory for all generated artifacts' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -l manifest-path -d 'Path to Cargo.toml' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -l message-format -d 'Error format' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -s q -l quiet -d 'No output printed to stdout' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -l lib -d 'Build only this package\'s library' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -l bins -d 'Build all binaries' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -l examples -d 'Build all examples' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -l tests -d 'Build all tests' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -l benches -d 'Build all benches' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -l all-targets -d 'Build all targets' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -l release -d 'Build artifacts in release mode, with optimizations' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -l all-features -d 'Activate all available features' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -l no-default-features -d 'Do not activate the `default` feature' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -l unit-graph -d 'Output build graph in JSON (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -l ignore-rust-version -d 'Ignore `rust-version` specification in packages (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -l future-incompat-report -d 'Ouputs a future incompatibility report at the end of the build (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from rustc" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -s p -l package -d 'Package to document' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -s j -l jobs -d 'Number of parallel jobs, defaults to # of CPUs' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -l bin -d 'Build only the specified binary' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -l example -d 'Build only the specified example' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -l test -d 'Build only the specified test target' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -l bench -d 'Build only the specified bench target' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -l profile -d 'Build artifacts with the specified profile' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -l features -d 'Space or comma separated list of features to activate' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -l target -d 'Build for the target triple' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -l target-dir -d 'Directory for all generated artifacts' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -l manifest-path -d 'Path to Cargo.toml' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -l message-format -d 'Error format' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -s q -l quiet -d 'No output printed to stdout' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -l open -d 'Opens the docs in a browser after the operation' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -l lib -d 'Build only this package\'s library' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -l bins -d 'Build all binaries' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -l examples -d 'Build all examples' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -l tests -d 'Build all tests' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -l benches -d 'Build all benches' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -l all-targets -d 'Build all targets' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -l release -d 'Build artifacts in release mode, with optimizations' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -l all-features -d 'Activate all available features' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -l no-default-features -d 'Do not activate the `default` feature' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -l unit-graph -d 'Output build graph in JSON (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -l ignore-rust-version -d 'Ignore `rust-version` specification in packages (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from rustdoc" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from search" -l index -d 'Registry index URL to upload the package to' -complete -c cargo -n "__fish_seen_subcommand_from search" -l host -d 'DEPRECATED, renamed to \'--index\'' -complete -c cargo -n "__fish_seen_subcommand_from search" -l limit -d 'Limit the number of results (default: 10, max: 100)' -complete -c cargo -n "__fish_seen_subcommand_from search" -l registry -d 'Registry to use' -complete -c cargo -n "__fish_seen_subcommand_from search" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from search" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from search" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from search" -s q -l quiet -d 'No output printed to stdout' -complete -c cargo -n "__fish_seen_subcommand_from search" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from search" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from search" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from search" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from search" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from search" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from test" -l bin -d 'Test only the specified binary' -complete -c cargo -n "__fish_seen_subcommand_from test" -l example -d 'Test only the specified example' -complete -c cargo -n "__fish_seen_subcommand_from test" -l test -d 'Test only the specified test target' -complete -c cargo -n "__fish_seen_subcommand_from test" -l bench -d 'Test only the specified bench target' -complete -c cargo -n "__fish_seen_subcommand_from test" -s p -l package -d 'Package to run tests for' -complete -c cargo -n "__fish_seen_subcommand_from test" -l exclude -d 'Exclude packages from the test' -complete -c cargo -n "__fish_seen_subcommand_from test" -s j -l jobs -d 'Number of parallel jobs, defaults to # of CPUs' -complete -c cargo -n "__fish_seen_subcommand_from test" -l profile -d 'Build artifacts with the specified profile' -complete -c cargo -n "__fish_seen_subcommand_from test" -l features -d 'Space or comma separated list of features to activate' -complete -c cargo -n "__fish_seen_subcommand_from test" -l target -d 'Build for the target triple' -complete -c cargo -n "__fish_seen_subcommand_from test" -l target-dir -d 'Directory for all generated artifacts' -complete -c cargo -n "__fish_seen_subcommand_from test" -l manifest-path -d 'Path to Cargo.toml' -complete -c cargo -n "__fish_seen_subcommand_from test" -l message-format -d 'Error format' -complete -c cargo -n "__fish_seen_subcommand_from test" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from test" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from test" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from test" -s q -l quiet -d 'Display one character per test instead of one line' -complete -c cargo -n "__fish_seen_subcommand_from test" -l lib -d 'Test only this package\'s library unit tests' -complete -c cargo -n "__fish_seen_subcommand_from test" -l bins -d 'Test all binaries' -complete -c cargo -n "__fish_seen_subcommand_from test" -l examples -d 'Test all examples' -complete -c cargo -n "__fish_seen_subcommand_from test" -l tests -d 'Test all tests' -complete -c cargo -n "__fish_seen_subcommand_from test" -l benches -d 'Test all benches' -complete -c cargo -n "__fish_seen_subcommand_from test" -l all-targets -d 'Test all targets' -complete -c cargo -n "__fish_seen_subcommand_from test" -l doc -d 'Test only this library\'s documentation' -complete -c cargo -n "__fish_seen_subcommand_from test" -l no-run -d 'Compile, but don\'t run tests' -complete -c cargo -n "__fish_seen_subcommand_from test" -l no-fail-fast -d 'Run all tests regardless of failure' -complete -c cargo -n "__fish_seen_subcommand_from test" -l all -d 'Alias for --workspace (deprecated)' -complete -c cargo -n "__fish_seen_subcommand_from test" -l workspace -d 'Test all packages in the workspace' -complete -c cargo -n "__fish_seen_subcommand_from test" -l release -d 'Build artifacts in release mode, with optimizations' -complete -c cargo -n "__fish_seen_subcommand_from test" -l all-features -d 'Activate all available features' -complete -c cargo -n "__fish_seen_subcommand_from test" -l no-default-features -d 'Do not activate the `default` feature' -complete -c cargo -n "__fish_seen_subcommand_from test" -l ignore-rust-version -d 'Ignore `rust-version` specification in packages (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from test" -l unit-graph -d 'Output build graph in JSON (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from test" -l future-incompat-report -d 'Ouputs a future incompatibility report at the end of the build (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from test" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from test" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from test" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from test" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from test" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from test" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from tree" -l manifest-path -d 'Path to Cargo.toml' -complete -c cargo -n "__fish_seen_subcommand_from tree" -s p -l package -d 'Package to be used as the root of the tree' -complete -c cargo -n "__fish_seen_subcommand_from tree" -l exclude -d 'Exclude specific workspace members' -complete -c cargo -n "__fish_seen_subcommand_from tree" -l features -d 'Space or comma separated list of features to activate' -complete -c cargo -n "__fish_seen_subcommand_from tree" -l target -d 'Filter dependencies matching the given target-triple (default host platform). Pass `all` to include all targets.' -complete -c cargo -n "__fish_seen_subcommand_from tree" -s e -l edges -d 'The kinds of dependencies to display (features, normal, build, dev, all, no-dev, no-build, no-normal)' -complete -c cargo -n "__fish_seen_subcommand_from tree" -s i -l invert -d 'Invert the tree direction and focus on the given package' -complete -c cargo -n "__fish_seen_subcommand_from tree" -l prefix -d 'Change the prefix (indentation) of how each entry is displayed' -r -f -a "depth indent none" -complete -c cargo -n "__fish_seen_subcommand_from tree" -l charset -d 'Character set to use in output: utf8, ascii' -r -f -a "utf8 ascii" -complete -c cargo -n "__fish_seen_subcommand_from tree" -s f -l format -d 'Format string used for printing dependencies' -complete -c cargo -n "__fish_seen_subcommand_from tree" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from tree" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from tree" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from tree" -s q -l quiet -d 'Suppress status messages' -complete -c cargo -n "__fish_seen_subcommand_from tree" -l workspace -d 'Display the tree for all packages in the workspace' -complete -c cargo -n "__fish_seen_subcommand_from tree" -s a -l all -complete -c cargo -n "__fish_seen_subcommand_from tree" -l all-targets -complete -c cargo -n "__fish_seen_subcommand_from tree" -l all-features -d 'Activate all available features' -complete -c cargo -n "__fish_seen_subcommand_from tree" -l no-default-features -d 'Do not activate the `default` feature' -complete -c cargo -n "__fish_seen_subcommand_from tree" -l no-dev-dependencies -complete -c cargo -n "__fish_seen_subcommand_from tree" -l no-indent -complete -c cargo -n "__fish_seen_subcommand_from tree" -l prefix-depth -complete -c cargo -n "__fish_seen_subcommand_from tree" -l no-dedupe -d 'Do not de-duplicate (repeats all shared dependencies)' -complete -c cargo -n "__fish_seen_subcommand_from tree" -s d -l duplicates -d 'Show only dependencies which come in multiple versions (implies -i)' -complete -c cargo -n "__fish_seen_subcommand_from tree" -s V -l version -complete -c cargo -n "__fish_seen_subcommand_from tree" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from tree" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from tree" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from tree" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from tree" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from uninstall" -s p -l package -d 'Package to uninstall' -complete -c cargo -n "__fish_seen_subcommand_from uninstall" -l bin -d 'Only uninstall the binary NAME' -complete -c cargo -n "__fish_seen_subcommand_from uninstall" -l root -d 'Directory to uninstall packages from' -complete -c cargo -n "__fish_seen_subcommand_from uninstall" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from uninstall" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from uninstall" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from uninstall" -s q -l quiet -d 'No output printed to stdout' -complete -c cargo -n "__fish_seen_subcommand_from uninstall" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from uninstall" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from uninstall" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from uninstall" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from uninstall" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from uninstall" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from update" -s p -l package -d 'Package to update' -complete -c cargo -n "__fish_seen_subcommand_from update" -l precise -d 'Update a single dependency to exactly PRECISE when used with -p' -complete -c cargo -n "__fish_seen_subcommand_from update" -l manifest-path -d 'Path to Cargo.toml' -complete -c cargo -n "__fish_seen_subcommand_from update" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from update" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from update" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from update" -s q -l quiet -d 'No output printed to stdout' -complete -c cargo -n "__fish_seen_subcommand_from update" -s w -l workspace -d 'Only update the workspace packages' -complete -c cargo -n "__fish_seen_subcommand_from update" -l aggressive -d 'Force updating all dependencies of SPEC as well when used with -p' -complete -c cargo -n "__fish_seen_subcommand_from update" -l dry-run -d 'Don\'t actually write the lockfile' -complete -c cargo -n "__fish_seen_subcommand_from update" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from update" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from update" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from update" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from update" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from update" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from vendor" -l manifest-path -d 'Path to Cargo.toml' -complete -c cargo -n "__fish_seen_subcommand_from vendor" -s s -l sync -d 'Additional `Cargo.toml` to sync and vendor' -complete -c cargo -n "__fish_seen_subcommand_from vendor" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from vendor" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from vendor" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from vendor" -s q -l quiet -d 'No output printed to stdout' -complete -c cargo -n "__fish_seen_subcommand_from vendor" -l no-delete -d 'Don\'t delete older crates in the vendor directory' -complete -c cargo -n "__fish_seen_subcommand_from vendor" -l respect-source-config -d 'Respect `[source]` config in `.cargo/config`' -complete -c cargo -n "__fish_seen_subcommand_from vendor" -l versioned-dirs -d 'Always include version in subdir name' -complete -c cargo -n "__fish_seen_subcommand_from vendor" -l no-merge-sources -complete -c cargo -n "__fish_seen_subcommand_from vendor" -l relative-path -complete -c cargo -n "__fish_seen_subcommand_from vendor" -l only-git-deps -complete -c cargo -n "__fish_seen_subcommand_from vendor" -l disallow-duplicates -complete -c cargo -n "__fish_seen_subcommand_from vendor" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from vendor" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from vendor" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from vendor" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from vendor" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from vendor" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from verify-project" -l manifest-path -d 'Path to Cargo.toml' -complete -c cargo -n "__fish_seen_subcommand_from verify-project" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from verify-project" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from verify-project" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from verify-project" -s q -l quiet -d 'No output printed to stdout' -complete -c cargo -n "__fish_seen_subcommand_from verify-project" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from verify-project" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from verify-project" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from verify-project" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from verify-project" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from verify-project" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from version" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from version" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from version" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from version" -s q -l quiet -d 'No output printed to stdout' -complete -c cargo -n "__fish_seen_subcommand_from version" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from version" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from version" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from version" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from version" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from version" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from yank" -l vers -d 'The version to yank or un-yank' -complete -c cargo -n "__fish_seen_subcommand_from yank" -l index -d 'Registry index to yank from' -complete -c cargo -n "__fish_seen_subcommand_from yank" -l token -d 'API token to use when authenticating' -complete -c cargo -n "__fish_seen_subcommand_from yank" -l registry -d 'Registry to use' -complete -c cargo -n "__fish_seen_subcommand_from yank" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from yank" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from yank" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from yank" -s q -l quiet -d 'No output printed to stdout' -complete -c cargo -n "__fish_seen_subcommand_from yank" -l undo -d 'Undo a yank, putting a version back into the index' -complete -c cargo -n "__fish_seen_subcommand_from yank" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from yank" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from yank" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from yank" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from yank" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from yank" -l offline -d 'Run without accessing the network' -complete -c cargo -n "__fish_seen_subcommand_from help" -l color -d 'Coloring: auto, always, never' -complete -c cargo -n "__fish_seen_subcommand_from help" -l config -d 'Override a configuration value (unstable)' -complete -c cargo -n "__fish_seen_subcommand_from help" -s Z -d 'Unstable (nightly-only) flags to Cargo, see \'cargo -Z help\' for details' -complete -c cargo -n "__fish_seen_subcommand_from help" -s h -l help -d 'Prints help information' -complete -c cargo -n "__fish_seen_subcommand_from help" -s V -l version -d 'Prints version information' -complete -c cargo -n "__fish_seen_subcommand_from help" -s v -l verbose -d 'Use verbose output (-vv very verbose/build.rs output)' -complete -c cargo -n "__fish_seen_subcommand_from help" -l frozen -d 'Require Cargo.lock and cache are up to date' -complete -c cargo -n "__fish_seen_subcommand_from help" -l locked -d 'Require Cargo.lock is up to date' -complete -c cargo -n "__fish_seen_subcommand_from help" -l offline -d 'Run without accessing the network' diff --git a/dot_config/fish/completions/git.fish b/dot_config/fish/completions/git.fish deleted file mode 100644 index 0fa768d..0000000 --- a/dot_config/fish/completions/git.fish +++ /dev/null @@ -1,2162 +0,0 @@ -# fish completion for git - -# Use this instead of calling git directly; it passes the commands that are -# already present on the commandline to git. This is relevant for --work-tree etc, see issue #6219. -function __fish_git - set -l saved_args $argv - set -l global_args - set -l cmd (commandline -opc) - # We assume that git is the first command until we have a better awareness of subcommands, see #2705. - set -e cmd[1] - if argparse -s (__fish_git_global_optspecs) -- $cmd 2>/dev/null - # All arguments that were parsed by argparse are global git options. - set -l num_global_args (math (count $cmd) - (count $argv)) - if test $num_global_args -ne 0 - set global_args $cmd[1..$num_global_args] - end - end - # Using 'command git' to avoid interactions for aliases from git to (e.g.) hub - # Using eval to expand ~ and variables specified on the commandline. - eval command git $global_args \$saved_args 2>/dev/null -end - -# Print an optspec for argparse to handle git's options that are independent of any subcommand. -function __fish_git_global_optspecs - string join \n v-version h/help C= c=+ 'e-exec-path=?' H-html-path M-man-path I-info-path p/paginate \ - P/no-pager o-no-replace-objects b-bare G-git-dir= W-work-tree= N-namespace= S-super-prefix= \ - l-literal-pathspecs g-glob-pathspecs O-noglob-pathspecs i-icase-pathspecs -end - -function __fish_git_commits - # Complete commits with their subject line as the description - # This allows filtering by subject with the new pager! - # Because even subject lines can be quite long, - # trim them (abbrev'd hash+tab+subject) to 73 characters - # - # Hashes we just truncate ourselves to 10 characters, without disambiguating. - # That technically means that sometimes we don't give usable SHAs, - # but according to https://stackoverflow.com/a/37403152/3150338, - # that happens for 3 commits out of 600k. - # For fish, at the time of writing, out of 12200 commits, 7 commits need 8 characters. - # And since this takes about 1/3rd of the time that disambiguating takes... - __fish_git log --pretty=tformat:"%H"\t"%<(64,trunc)%s" --all --max-count=1000 2>/dev/null \ - | string replace -r '^([0-9a-f]{10})[0-9a-f]*\t(.*)' '$1\t$2' -end - -function __fish_git_recent_commits - # Like __fish_git_commits, but not on all branches and limited to - # the last 50 commits. Used for fixup, where only the current branch - # and the latest commits make sense. - __fish_git log --pretty=tformat:"%h"\t"%<(64,trunc)%s" --max-count=50 $argv 2>/dev/null -end - -function __fish_git_branches - # This is much faster than using `git branch`, - # and avoids having to deal with localized "detached HEAD" messages. - __fish_git for-each-ref --format='%(refname)' refs/heads/ refs/remotes/ 2>/dev/null \ - | string replace -r '^refs/heads/(.*)$' '$1\tLocal Branch' \ - | string replace -r '^refs/remotes/(.*)$' '$1\tRemote Branch' -end - -function __fish_git_submodules - __fish_git submodule 2>/dev/null \ - | string replace -r '^.[^ ]+ ([^ ]+).*$' '$1' -end - -function __fish_git_local_branches - __fish_git for-each-ref --format='%(refname:strip=2)' refs/heads/ 2>/dev/null \ - | string replace -rf '.*' '$0\tLocal Branch' -end - -function __fish_git_unique_remote_branches - # `git checkout` accepts remote branches without the remote part - # if they are unambiguous. - # E.g. if only alice has a "frobulate" branch - # `git checkout frobulate` is equivalent to `git checkout -b frobulate --track alice/frobulate`. - __fish_git for-each-ref --format="%(refname:strip=3)" \ - --sort="refname:strip=3" \ - "refs/remotes/*/$match*" "refs/remotes/*/*/**" 2>/dev/null | uniq -u -end - -function __fish_git_tags - __fish_git tag --sort=-creatordate 2>/dev/null -end - -function __fish_git_heads - set -l gitdir (__fish_git rev-parse --git-dir 2>/dev/null) - or return # No git dir, no need to even test. - for head in HEAD FETCH_HEAD ORIG_HEAD MERGE_HEAD - if test -f $gitdir/$head - echo $head - end - end -end - -function __fish_git_refs - __fish_git_branches - __fish_git_tags - __fish_git_heads -end - -function __fish_git_remotes - __fish_git remote 2>/dev/null -end - -function __fish_git_files - # A function to show various kinds of files git knows about, - # by parsing `git status --porcelain`. - # - # This accepts arguments to denote the kind of files: - # - added: Staged added files (unstaged adds are untracked) - # - copied - # - deleted - # - deleted-staged - # - ignored - # - modified: Files that have been modified (but aren't staged) - # - modified-staged: Staged modified files - # - renamed - # - untracked - # and as a convenience "all-staged" - # to get _all_ kinds of staged files. - - # Save the repo root to remove it from the path later. - set -l root (__fish_git rev-parse --show-toplevel --is-bare-repository 2>/dev/null) - or return - - # Skip bare repositories. - test "$root[2]" = true - and return - or set -e root[2] - - # Cache the translated descriptions so we don't have to get it - # once per file. - contains -- all-staged $argv; and set -l all_staged - contains -- unmerged $argv; and set -l unmerged - and set -l unmerged_desc "Unmerged File" - contains -- added $argv; or set -ql all_staged; and set -l added - and set -l added_desc "Added file" - contains -- modified $argv; and set -l modified - and set -l modified_desc "Modified file" - contains -- untracked $argv; and set -l untracked - and set -l untracked_desc "Untracked file" - contains -- modified-staged $argv; or set -ql all_staged; and set -l modified_staged - and set -l staged_modified_desc "Staged modified file" - contains -- modified-staged-deleted $argv; or set -ql modified_staged; and set -l modified_staged_deleted - and set -l modified_staged_deleted_desc "Staged modified and deleted file" - contains -- deleted $argv; and set -l deleted - and set -l deleted_desc "Deleted file" - contains -- deleted-staged $argv; or set -ql all_staged; and set -l deleted_staged - and set -l staged_deleted_desc "Staged deleted file" - contains -- ignored $argv; and set -l ignored - and set -l ignored_desc "Ignored file" - contains -- renamed $argv; and set -l renamed - and set -l renamed_desc "Renamed file" - contains -- copied $argv; and set -l copied - and set -l copied_desc "Copied file" - - # A literal "?" for use in `case`. - set -l q '\\?' - if status test-feature qmark-noglob - set q '?' - end - set -l use_next - # git status --porcelain gives us all the info we need, in a format we don't. - # The v2 format has better documentation and doesn't use " " to denote anything, - # but it's only been added in git 2.11.0, which was released November 2016. - - # Also, we ignore submodules because they aren't useful as arguments (generally), - # and they slow things down quite significantly. - # E.g. `git reset $submodule` won't do anything (not even print an error). - # --ignore-submodules=all was added in git 1.7.2, released July 2010. - # - set -l status_opt --ignore-submodules=all - - # If we aren't looking for ignored files, let git status skip them. - # (don't use --ignored=no because that was only added in git 2.16, from Jan 2018. - set -q ignored; and set -a status_opt --ignored - - # If we're looking for untracked files, we give untracked files even inside untracked directories. - # This makes it nicer if e.g. you're in an untracked directory and want to just add one file. - set -q untracked; and set -a status_opt -uall - or set -a status_opt -uno - - # We need to set status.relativePaths to true because the porcelain v2 format still honors that, - # and core.quotePath to false so characters > 0x80 (i.e. non-ASCII) aren't considered special. - # We explicitly enable globs so we can use that to match the current token. - set -l git_opt -c status.relativePaths -c core.quotePath= - - # We pick the v2 format if we can, because it shows relative filenames (if used without "-z"). - # We fall back on the v1 format by reading git's _version_, because trying v2 first is too slow. - set -l ver (__fish_git --version | string replace -rf 'git version (\d+)\.(\d+)\.?.*' '$1\n$2') - # Version >= 2.11.* has the v2 format. - if test "$ver[1]" -gt 2 2>/dev/null; or test "$ver[1]" -eq 2 -a "$ver[2]" -ge 11 2>/dev/null - __fish_git $git_opt status --porcelain=2 $status_opt \ - | while read -la -d ' ' line - set -l file - set -l desc - # The basic status format is "XY", where X is "our" state (meaning the staging area), - # and "Y" is "their" state. - # A "." means it's unmodified. - switch "$line[1..2]" - case 'u *' - # Unmerged - # "Unmerged entries have the following format; the first character is a "u" to distinguish from ordinary changed entries." - # "u

" - # This is first to distinguish it from normal modifications et al. - set -ql unmerged - and set file "$line[11..-1]" - and set desc $unmerged_desc - case '2 .R*' '2 R.*' - # Renamed/Copied - # From the docs: "Renamed or copied entries have the following format:" - # "2 " - # Since is \t, we can't really parse it unambiguously. - # The "-z" format would be great here! - set -ql renamed - and set file (string replace -r '\t[^\t]*' '' -- "$line[10..-1]") - and set desc $renamed_desc - case '2 RM*' '2 RT*' - # Staged as renamed, with unstaged modifications (issue #6031) - set -ql renamed - or set -ql modified - and set file (string replace -r '\t[^\t]*' '' -- "$line[10..-1]") - set -ql renamed - and set desc $renamed_desc - set -ql modified - and set --append desc $modified_desc - case '2 RD*' - # Staged as renamed, but deleted in the worktree - set -ql renamed - or set -ql deleted - and set file (string replace -r '\t[^\t]*' '' -- "$line[10..-1]") - set -ql renamed - and set desc $renamed_desc - set -ql deleted - and set --append desc $deleted_desc - case '2 .C*' '2 C.*' - set -ql copied - and set file (string replace -r '\t[^\t].*' '' -- "$line[10..-1]") - and set desc $copied_desc - case '1 A.*' - # Additions are only shown here if they are staged. - # Otherwise it's an untracked file. - set -ql added - and set file "$line[9..-1]" - and set desc $added_desc - case '1 AD*' - # Added files that were since deleted - if set -ql added - set file "$line[9..-1]" - set desc $added_desc - else if set -ql deleted - set file "$line[9..-1]" - set desc $deleted_desc - end - case "1 AM*" "1 AT*" - # Added files with additional modifications - # ("T" is type-changed. As of git 2.33 this appears to be undocumented. - # it happens when e.g. a file is replaced with a symlink. - # For our purposes it's the same as modified) - if set -ql added - set file "$line[9..-1]" - set desc $added_desc - else if set -ql modified - set file "$line[9..-1]" - set desc $modified_desc - end - case '1 .A*' - # Files added with git add --intent-to-add. - set -ql untracked - and set file "$line[9..-1]" - and set desc $untracked_desc - case '1 .M*' '1 .T*' - # Modified - # From the docs: "Ordinary changed entries have the following format:" - # "1 " - # Since can contain spaces, print from element 9 onwards - set -ql modified - and set file "$line[9..-1]" - and set desc $modified_desc - case '1 MD*' '1 TD*' - set -ql modified_staged_deleted - and set file "$line[9..-1]" - and set desc $modified_staged_deleted_desc - case '1 M.*' '1 T.*' - # If the character is first ("M."), then that means it's "our" change, - # which means it is staged. - # This is useless for many commands - e.g. `checkout` won't do anything with this. - # So it needs to be requested explicitly. - set -ql modified_staged - and set file "$line[9..-1]" - and set desc $staged_modified_desc - case '1 MM*' '1 MT*' '1 TM*' '1 TT*' - # Staged-modified with unstaged modifications - # These need to be offered for both kinds of modified. - if set -ql modified - set file "$line[9..-1]" - set desc $modified_desc - else if set -ql modified_staged - set file "$line[9..-1]" - set desc $staged_modified_desc - end - case '1 .D*' - set -ql deleted - and set file "$line[9..-1]" - and set desc $deleted_desc - case '1 D.*' - # TODO: The docs are unclear on this. - # There is both X unmodified and Y either M or D ("not updated") - # and Y is D and X is unmodified or [MARC] ("deleted in work tree"). - # For our purposes, we assume this is a staged deletion. - set -ql deleted_staged - and set file "$line[9..-1]" - and set desc $staged_deleted_desc - case "$q"' *' - # Untracked - # "? " - print from element 2 on. - set -ql untracked - and set file "$line[2..-1]" - and set desc $untracked_desc - case '! *' - # Ignored - # "! " - print from element 2 on. - set -ql ignored - and set file "$line[2..-1]" - and set desc $ignored_desc - end - # Only try printing if the file was selected. - if set -q file[1] - for d in $desc - # Without "-z", git sometimes _quotes_ filenames. - # It adds quotes around it _and_ escapes the character. - # e.g. `"a\\b"`. - # We just remove the quotes and hope it works out. - # If this contains newlines or tabs, - # there is nothing we can do, but that's a general issue with scripted completions. - set file (string trim -c \" -- $file) - # First the relative filename. - printf '%s\t%s\n' "$file" $d - # Now from repo root. - # Only do this if the filename isn't a simple child, - # or the current token starts with ":" - if string match -q '../*' -- $file - or string match -q ':*' -- (commandline -ct) - set -l fromroot (builtin realpath -- $file 2>/dev/null) - and set fromroot (string replace -- "$root/" ":/" "$fromroot") - and printf '%s\t%s\n' "$fromroot" $d - end - end - end - end - else - # v1 format logic - # We need to compute relative paths on our own, which is slow. - # Pre-remove the root at least, so we have fewer components to deal with. - set -l _pwd_list (string replace "$root/" "" -- $PWD/ | string split /) - test -z "$_pwd_list[-1]"; and set -e _pwd_list[-1] - # Cache the previous relative path because these are sorted, so we can reuse it - # often for files in the same directory. - set -l previous - # Note that we can't use space as a delimiter between status and filename, because - # the status can contain spaces - " M" is different from "M ". - __fish_git $git_opt status --porcelain -z $status_opt \ - | while read -lz -d' ' line - set -l desc - # The entire line is the "from" from a rename. - if set -q use_next[1] - if contains -- $use_next $argv - set -l var "$use_next"_desc - set desc $$var - set -e use_next[1] - else - set -e use_next[1] - continue - end - end - - # The format is two characters for status, then a space and then - # up to a NUL for the filename. - # - set -l stat (string sub -l 2 -- $line) - # The basic status format is "XY", where X is "our" state (meaning the staging area), - # and "Y" is "their" state (meaning the work tree). - # A " " means it's unmodified. - # - # Be careful about the ordering here! - switch "$stat" - case DD AU UD UA DU AA UU - # Unmerged - set -ql unmerged - and set desc $unmerged_desc - case 'R ' RM RD - # Renamed/Copied - # These have the "from" name as the next batch. - # TODO: Do we care about the new name? - set use_next renamed - continue - case 'C ' CM CD - set use_next copied - continue - case AM - if set -ql added - set file "$line[9..-1]" - set desc $added_desc - else if set -ql modified - set file "$line[9..-1]" - set desc $modified_desc - end - case AD - if set -ql added - set file "$line[9..-1]" - set desc $added_desc - else if set -ql deleted - set file "$line[9..-1]" - set desc $deleted_desc - end - case 'A ' - # Additions are only shown here if they are staged. - # Otherwise it's an untracked file. - set -ql added - and set desc $added_desc - case '*M' - # Modified - set -ql modified - and set desc $modified_desc - case 'M*' - # If the character is first ("M "), then that means it's "our" change, - # which means it is staged. - # This is useless for many commands - e.g. `checkout` won't do anything with this. - # So it needs to be requested explicitly. - set -ql modified_staged - and set desc $staged_modified_desc - case '*D' - set -ql deleted - and set desc $deleted_desc - case 'D*' - # TODO: The docs are unclear on this. - # There is both X unmodified and Y either M or D ("not updated") - # and Y is D and X is unmodified or [MARC] ("deleted in work tree"). - # For our purposes, we assume this is a staged deletion. - set -ql deleted_staged - and set desc $staged_deleted_desc - case "$q$q" - # Untracked - set -ql untracked - and set desc $untracked_desc - case '!!' - # Ignored - set -ql ignored - and set desc $ignored_desc - end - if set -q desc[1] - # Again: "XY filename", so the filename starts on character 4. - set -l relfile (string sub -s 4 -- $line) - - set -l file - # Computing relative path by hand. - set -l abs (string split / -- $relfile) - # If it's in the same directory, we just need to change the filename. - if test "$abs[1..-2]" = "$previous[1..-2]" - # If we didn't have a previous file, and the current file is in the current directory, - # this would error out. - # - # See #5728. - set -q previous[1] - and set previous[-1] $abs[-1] - or set previous $abs - else - set -l pwd_list $_pwd_list - # Remove common prefix - while test "$pwd_list[1]" = "$abs[1]" - set -e pwd_list[1] - set -e abs[1] - end - # Go a dir up for every entry left in pwd_list, then into $abs - set previous (string replace -r '.*' '..' -- $pwd_list) $abs - end - set -a file (string join / -- $previous) - - # The filename with ":/" prepended. - if string match -q '../*' -- $file - or string match -q ':*' -- (commandline -ct) - set file (string replace -- "$root/" ":/" "$root/$relfile") - end - - if test "$root/$relfile" = (pwd -P)/$relfile - set file $relfile - end - - printf '%s\n' $file\t$desc - end - end - end -end - -# Lists files included in the index of a commit, branch, or tag (not necessarily HEAD) -function __fish_git_rev_files - set -l rev $argv[1] - set -l path $argv[2] - - # Strip any partial files from the path before handing it to `git show` - set -l path (string replace -r -- '(.*/|).*' '$1' $path) - - # List files in $rev's index, skipping the "tree ..." header, but appending - # the parent path, which git does not include in the output (and fish requires) - printf "$path%s\n" (git show $rev:$path | sed '1,2d') -end - -# Provides __fish_git_rev_files completions for the current token -function __fish_git_complete_rev_files - set -l split (string split -m 1 ":" (commandline -ot)) - set -l rev $split[1] - set -l path $split[2] - - printf "$rev:%s\n" (__fish_git_rev_files $rev $path) -end - -# Determines whether we can/should complete with __fish_git_rev_files -function __fish_git_needs_rev_files - # git (as of 2.20) accepts the rev:path syntax for a number of subcommands, - # but then doesn't emit the expected (or any?) output, e.g. `git log master:foo` - # - # This definitely works with `git show` to retrieve a copy of a file as it exists - # in the index of revision $rev, it should be updated to include others as they - # are identified. - __fish_git_using_command show; and string match -r "^[^-].*:" -- (commandline -ot) -end - -function __fish_git_ranges - set -l both (commandline -ot | string replace -r '\.{2,3}' \n\$0\n) - set -l from $both[1] - set -l dots $both[2] - # If we didn't need to split (or there's nothing _to_ split), complete only the first part - # Note that status here is from `string replace` because `set` doesn't alter it - if test -z "$from" -o $status -gt 0 - if commandline -ct | string match -q '*..*' - # The cursor is right of a .. range operator, make sure to include them first. - __fish_git_refs | string replace -r '' "$dots" - else - __fish_git_refs | string replace \t "$dots"\t - end - return 0 - end - - set -l from_refs - if commandline -ct | string match -q '*..*' - # If the cursor is right of a .. range operator, only complete the right part. - set from_refs $from - else - set from_refs (__fish_git_refs | string match -e "$from" | string replace -r \t'.*$' '') - end - - set -l to $both[3] - # Remove description from the from-ref, not the to-ref. - for from_ref in $from_refs - for to_ref in (__fish_git_refs | string match "*$to*") # if $to is empty, this correctly matches everything - printf "%s%s%s\n" $from_ref $dots $to_ref - end - end -end - -function __fish_git_needs_command - # Figure out if the current invocation already has a command. - set -l cmd (commandline -opc) - set -e cmd[1] - argparse -s (__fish_git_global_optspecs) -- $cmd 2>/dev/null - or return 0 - # These flags function as commands, effectively. - set -q _flag_version; and return 1 - set -q _flag_html_path; and return 1 - set -q _flag_man_path; and return 1 - set -q _flag_info_path; and return 1 - if set -q argv[1] - # Also print the command, so this can be used to figure out what it is. - echo $argv[1] - return 1 - end - return 0 -end - -function __fish_git_config_keys - # Print already defined config values first - # Config keys may span multiple lines, so parse using null char - # With -z, key and value are separated by space, not "=" - __fish_git config -lz | while read -lz key value - # Print only first line of value(with an ellipsis) if multiline - printf '%s\t%s\n' $key (string replace \n …\n -- $value)[1] - end - # Print all recognized config keys; duplicates are not shown twice by fish - printf '%s\n' (__fish_git help --config)[1..-2] # Last line is a footer; ignore it -end - -# HACK: Aliases -# Git allows aliases, so we need to see what command the current command-token corresponds to -# (so we can complete e.g. `lg` like `log`). -# Checking `git config` for a lot of aliases can be quite slow if it is called -# for every possible command. -# Ideally, we'd `complete --wraps` this, but that is not currently possible, as is -# using `complete -C` like -# complete -c git -n '__fish_git_using_command lg' -a '(complete -C"git log ")' -# -# So instead, we store the aliases in global variables, named after the alias, containing the command. -# This is because alias:command is an n:1 mapping (an alias can only have one corresponding command, -# but a command can be aliased multiple times) - -# Approximately duplicates the logic from https://github.com/git/git/blob/d486ca60a51c9cb1fe068803c3f540724e95e83a/contrib/completion/git-completion.bash#L1130 -# The Git script also finds aliases that reference other aliases via a loop but this is fine for a PoC -function __fish_git_aliased_command - for word in (string split ' ' -- $argv) - switch $word - case !gitk gitk - echo gitk - return - # Adding " to the list - case '!*' '-*' '*=*' git '()' '{' : '\'*' '"*' - continue - case '*' - echo $word - return - end - end -end - -git config -z --get-regexp 'alias\..*' | while read -lz alias cmdline - set -l command (__fish_git_aliased_command $cmdline) - string match -q --regex '\w+' -- $command; or continue - # Git aliases can contain chars that variable names can't - escape them. - set -l alias (string replace 'alias.' '' -- $alias | string escape --style=var) - set -g __fish_git_alias_$alias $command -end - -function __fish_git_using_command - set -l cmd (__fish_git_needs_command) - test -z "$cmd" - and return 1 - contains -- $cmd $argv - and return 0 - - # Check aliases. - set -l varname __fish_git_alias_(string escape --style=var -- $cmd) - set -q $varname - and contains -- $$varname $argv - and return 0 - return 1 -end - -function __fish_git_stash_using_command - set -l cmd (commandline -opc) - __fish_git_using_command stash - or return 2 - # The word after the stash command _must_ be the subcommand - set cmd $cmd[(contains -i -- "stash" $cmd)..-1] - set -e cmd[1] - set -q cmd[1] - or return 1 - contains -- $cmd[1] $argv - and return 0 - return 1 -end - -function __fish_git_stash_not_using_subcommand - set -l cmd (commandline -opc) - __fish_git_using_command stash - or return 2 - set cmd $cmd[(contains -i -- "stash" $cmd)..-1] - set -q cmd[2] - and return 1 - return 0 -end - -function __fish_git_complete_worktrees - __fish_git worktree list --porcelain | string replace --regex --filter '^worktree\s*' '' -end - -function __fish_git_complete_stashes - __fish_git stash list --format=%gd:%gs 2>/dev/null | string replace ":" \t -end - -function __fish_git_aliases - __fish_git config -z --get-regexp '^alias\.' 2>/dev/null | while read -lz key value - begin - set -l name (string replace -r '^.*\.' '' -- $key) - # Only use the first line of the value as the description. - set -l val (printf '%s\n' $value)[1] - printf "%s\t%s\n" $name "Alias for $val" - end - end -end - -function __fish_git_custom_commands - # complete all commands starting with git- - # however, a few builtin commands are placed into $PATH by git because - # they're used by the ssh transport. We could filter them out by checking - # if any of these completion results match the name of the builtin git commands, - # but it's simpler just to blacklist these names. They're unlikely to change, - # and the failure mode is we accidentally complete a plumbing command. - for name in (string replace -r "^.*/git-([^/]*)" '$1' $PATH/git-*) - switch $name - case cvsserver receive-pack shell upload-archive upload-pack - # skip these - case \* - echo $name - end - end -end - -# Suggest branches for the specified remote - returns 1 if no known remote is specified -function __fish_git_branch_for_remote - set -l remotes (__fish_git_remotes) - set -l remote - set -l cmd (commandline -opc) - for r in $remotes - if contains -- $r $cmd - set remote $r - break - end - end - set -q remote[1] - or return 1 - __fish_git_branches | string replace -f -- "$remote/" '' -end - -# Return 0 if the current token is a possible commit-hash with at least 3 characters -function __fish_git_possible_commithash - set -q argv[1] - and set -l token $argv[1] - or set -l token (commandline -ct) - if string match -qr '^[0-9a-fA-F]{3,}$' -- $token - return 0 - end - return 1 -end - -function __fish_git_reflog - __fish_git reflog --no-decorate 2>/dev/null | string replace -r '[0-9a-f]* (.+@\{[0-9]+\}): (.*)$' '$1\t$2' -end - -function __fish_git_help_all_concepts - git help -g | string match -e -r '^ \w+' | while read -l concept desc - printf "%s\tConcept: %s\n" $concept (string trim $desc) - end -end - -function __fish_git_diff_opt -a option - switch $option - case diff-algorithm - printf "%b" " -default\tBasic greedy diff algorithm -myers\tBasic greedy diff algorithm -minimal\tMake smallest diff possible -patience\tPatience diff algorithm -histogram\tPatience algorithm with low-occurrence common elements" - case diff-filter - printf "%b" " -A\tAdded files -C\tCopied files -D\tDeleted files -M\tModified files -R\tRenamed files -T\tType changed files -U\tUnmerged files -X\tUnknown files -B\tBroken pairing files" - case dirstat - printf "%b" " -changes\tCount lines that have been removed from the source / added to the destination -lines\tRegular line-based diff analysis -files\tCount the number of files changed -cumulative\tCount changes in a child directory for the parent directory as well" - case ignore-submodules - printf "%b" " -none\tUntracked/modified files -untracked\tNot considered dirty when they only contain untracked content -dirty\tIgnore all changes to the work tree of submodules -all\tHide all changes to submodules (default)" - case submodule - printf "%b" " -short\tShow the name of the commits at the beginning and end of the range -log\tList the commits in the range -diff\tShow an inline diff of the changes" - case ws-error-highlight - printf "%b" " -context\tcontext lines of the diff -old\told lines of the diff -new\tnew lines of the diff -none\treset previous values -default\treset the list to 'new' -all\tShorthand for 'old,new,context'" - end -end - -function __fish_git_show_opt -a option - switch $option - case format pretty - printf "%b" " -oneline\t -short\t<sha1> / <author> / <title line> -medium\t<sha1> / <author> / <author date> / <title> / <commit msg> -full\t<sha1> / <author> / <committer> / <title> / <commit msg> -fuller\t<sha1> / <author> / <author date> / <committer> / <committer date> / <title> / <commit msg> -email\t<sha1> <date> / <author> / <author date> / <title> / <commit msg> -raw\tShow the entire commit exactly as stored in the commit object -format:\tSpecify which information to show" - end -end - -function __fish_git_is_rebasing - test -e (__fish_git rev-parse --absolute-git-dir)/rebase-merge -end - -# general options -complete -f -c git -l help -d 'Display the manual of a git command' -complete -f -c git -n __fish_git_needs_command -l version -d 'Display version' -complete -x -c git -n __fish_git_needs_command -s C -a '(__fish_complete_directories)' -d 'Run as if git was started in this directory' -complete -x -c git -n __fish_git_needs_command -s c -a '(__fish_git config -l 2>/dev/null | string replace = \t)' -d 'Set a configuration option' -complete -x -c git -n __fish_git_needs_command -l exec-path -a '(__fish_complete_directories)' -d 'Get or set the path to the git programs' -complete -f -c git -n __fish_git_needs_command -l html-path -d 'Print the path to the html documentation' -complete -f -c git -n __fish_git_needs_command -l man-path -d 'Print the path to the man documentation' -complete -f -c git -n __fish_git_needs_command -l info-path -d 'Print the path to the info documentation' -complete -f -c git -n __fish_git_needs_command -s p -l paginate -d 'Pipe output into a pager' -complete -f -c git -n __fish_git_needs_command -l no-pager -d 'Do not pipe output into a pager' -complete -r -c git -n __fish_git_needs_command -l git-dir -d 'Set the path to the repository' -complete -r -c git -n __fish_git_needs_command -l work-tree -d 'Set the path to the working tree' -complete -f -c git -n __fish_git_needs_command -l namespace -d 'Set the namespace' -complete -f -c git -n __fish_git_needs_command -l bare -d 'Treat the repository as bare' -complete -f -c git -n __fish_git_needs_command -l no-replace-objects -d 'Do not use replacement refs to replace git objects' -complete -f -c git -n __fish_git_needs_command -l literal-pathspecs -d 'Treat pathspecs literally' -complete -f -c git -n __fish_git_needs_command -l glob-pathspecs -d 'Treat pathspecs as globs' -complete -f -c git -n __fish_git_needs_command -l noglob-pathspecs -d "Don't treat pathspecs as globs" -complete -f -c git -n __fish_git_needs_command -l icase-pathspecs -d 'Match pathspecs case-insensitively' - -# Options shared between multiple commands -complete -f -c git -n '__fish_git_using_command log show diff-tree rev-list' -l pretty -a '(__fish_git_show_opt pretty)' - -complete -c git -n '__fish_git_using_command diff show range-diff' -l abbrev -d 'Show only a partial prefix instead of the full 40-byte hexadecimal object name' -complete -c git -n '__fish_git_using_command diff show range-diff' -l binary -d 'Output a binary diff that can be applied with "git-apply"' -complete -c git -n '__fish_git_using_command diff show range-diff' -l check -d 'Warn if changes introduce conflict markers or whitespace errors' -complete -c git -n '__fish_git_using_command diff show range-diff' -l color -d 'Show colored diff' -complete -c git -n '__fish_git_using_command diff show range-diff' -l color-moved -d 'Moved lines of code are colored differently' -complete -c git -n '__fish_git_using_command diff show range-diff' -l color-words -d 'Equivalent to --word-diff=color plus --word-diff-regex=<regex>' -complete -c git -n '__fish_git_using_command diff show range-diff' -l compact-summary -d 'Output a condensed summary of extended header information' -complete -c git -n '__fish_git_using_command diff show range-diff log' -l dst-prefix -d 'Show the given destination prefix instead of "b/"' -complete -c git -n '__fish_git_using_command diff show range-diff' -l ext-diff -d 'Allow an external diff helper to be executed' -complete -c git -n '__fish_git_using_command diff show range-diff' -l find-copies-harder -d 'Inspect unmodified files as candidates for the source of copy' -complete -c git -n '__fish_git_using_command diff show range-diff' -l find-object -d 'Look for differences that change the number of occurrences of the object' -complete -c git -n '__fish_git_using_command diff show range-diff' -l full-index -d 'Show the full pre- and post-image blob object names on the "index" line' -complete -c git -n '__fish_git_using_command diff show range-diff' -l histogram -d 'Generate a diff using the "histogram diff" algorithm' -complete -c git -n '__fish_git_using_command diff show range-diff' -l ignore-blank-lines -d 'Ignore changes whose lines are all blank' -complete -c git -n '__fish_git_using_command diff show range-diff' -l ignore-cr-at-eol -d 'Ignore carrige-return at the end of line when doing a comparison' -complete -c git -n '__fish_git_using_command diff show range-diff' -l ignore-space-at-eol -d 'Ignore changes in whitespace at EOL' -complete -c git -n '__fish_git_using_command diff show range-diff' -l indent-heuristic -d 'Enable the heuristic that shift diff hunk boundaries' -complete -c git -n '__fish_git_using_command diff show range-diff log' -l inter-hunk-context -d 'Show the context between diff hunks, up to the specified number of lines' -complete -c git -n '__fish_git_using_command diff show range-diff log' -l ita-invisible-in-index -d 'Make the entry appear as a new file in "git diff" and non-existent in "git diff -l cached"' -complete -c git -n '__fish_git_using_command diff show range-diff log' -l line-prefix -d 'Prepend an additional prefix to every line of output' -complete -c git -n '__fish_git_using_command diff show range-diff' -l minimal -d 'Spend extra time to make sure the smallest possible diff is produced' -complete -c git -n '__fish_git_using_command diff show range-diff' -l name-only -d 'Show only names of changed files' -complete -c git -n '__fish_git_using_command diff show range-diff' -l name-status -d 'Show only names and status of changed files' -complete -c git -n '__fish_git_using_command diff show range-diff' -l no-color -d 'Turn off colored diff' -complete -c git -n '__fish_git_using_command diff show range-diff' -l no-ext-diff -d 'Disallow external diff drivers' -complete -c git -n '__fish_git_using_command diff show range-diff' -l no-indent-heuristic -d 'Disable the indent heuristic' -complete -c git -n '__fish_git_using_command diff show range-diff log' -l no-prefix -d 'Do not show any source or destination prefix' -complete -c git -n '__fish_git_using_command diff show range-diff' -l no-renames -d 'Turn off rename detection' -complete -c git -n '__fish_git_using_command diff show range-diff' -l no-textconv -d 'Disallow external text conversion filters to be run when comparing binary files' -complete -c git -n '__fish_git_using_command diff show range-diff' -l numstat -d 'Shows number of added/deleted lines in decimal notation' -complete -c git -n '__fish_git_using_command diff show range-diff' -l patch-with-raw -d 'Synonym for -p --raw' -complete -c git -n '__fish_git_using_command diff show range-diff' -l patch-with-stat -d 'Synonym for -p --stat' -complete -c git -n '__fish_git_using_command diff show range-diff' -l patience -d 'Generate a diff using the "patience diff" algorithm' -complete -c git -n '__fish_git_using_command diff show range-diff log' -l pickaxe-all -d 'When -S or -G finds a change, show all the changes in that changeset' -complete -c git -n '__fish_git_using_command diff show range-diff log' -l pickaxe-regex -d 'Treat the <string> given to -S as an extended POSIX regular expression to match' -complete -c git -n '__fish_git_using_command diff show range-diff log' -l relative -d 'Exclude changes outside the directory and show relative pathnames' -complete -c git -n '__fish_git_using_command diff show range-diff' -l shortstat -d 'Output only the last line of the --stat format containing total number of modified files' -complete -c git -n '__fish_git_using_command diff show range-diff log' -l src-prefix -d 'Show the given source prefix instead of "a/"' -complete -c git -n '__fish_git_using_command diff show range-diff' -l stat -d 'Generate a diffstat' -complete -c git -n '__fish_git_using_command diff show range-diff apply' -l stat -d 'Generate a diffstat' -complete -c git -n '__fish_git_using_command diff show range-diff' -l summary -d 'Output a condensed summary of extended header information' -complete -c git -n '__fish_git_using_command diff show range-diff' -l textconv -d 'Allow external text conversion filters to be run when comparing binary files' -complete -c git -n '__fish_git_using_command diff show range-diff' -l word-diff -d 'Show a word diff' -complete -c git -n '__fish_git_using_command diff show range-diff' -l word-diff-regex -d 'Use <regex> to decide what a word is' -complete -c git -n '__fish_git_using_command diff show range-diff log' -s a -l text -d 'Treat all files as text' -complete -c git -n '__fish_git_using_command diff show range-diff log' -s B -l break-rewrites -d 'Break complete rewrite changes into pairs of delete and create' -complete -c git -n '__fish_git_using_command diff show range-diff' -s b -l ignore-space-change -d 'Ignore changes in amount of whitespace' -complete -c git -n '__fish_git_using_command diff show range-diff log' -s C -l find-copies -d 'Detect copies as well as renames' -complete -c git -n '__fish_git_using_command diff show range-diff log' -s D -l irreversible-delete -d 'Omit the preimage for deletes' -complete -c git -n '__fish_git_using_command diff show range-diff log' -s G -d "Look for differences where <regex> matches the patch's added/removed lines" -complete -c git -n '__fish_git_using_command diff show range-diff log' -s M -l find-renames -d 'Detect and report renames' -complete -c git -n '__fish_git_using_command diff show range-diff log' -s R -d 'Swap inputs to create a reverse diff' -complete -c git -n '__fish_git_using_command diff show range-diff log' -s S -d 'Look for differences that change the number of occurrences of the string' -complete -c git -n '__fish_git_using_command diff show range-diff' -s W -l function-context -d 'Show whole surrounding functions of changes' -complete -c git -n '__fish_git_using_command diff show range-diff' -s w -l ignore-all-space -d 'Ignore whitespace when comparing lines' -complete -c git -n '__fish_git_using_command diff show range-diff' -s z -d 'Use NULs as output field/commit terminators' -complete -r -c git -n '__fish_git_using_command diff show range-diff log' -s O -d 'Control the order in which files appear in the output' -complete -f -c git -n '__fish_git_using_command diff show range-diff' -l anchored -d 'Generate a diff using the "anchored diff" algorithm' -complete -x -c git -n '__fish_git_using_command diff show range-diff log' -s l -d 'Prevents rename/copy detection when rename/copy targets exceed the given number' -complete -x -c git -n '__fish_git_using_command diff show range-diff' -l diff-filter -a '(__fish_git_diff_opt diff-filter)' -d 'Choose diff filters' -complete -x -c git -n '__fish_git_using_command diff log show range-diff' -l diff-algorithm -a '(__fish_git_diff_opt diff-algorithm)' -d 'Choose a diff algorithm' -complete -x -c git -n '__fish_git_using_command diff log show range-diff' -l dirstat -a '(__fish_git_diff_opt dirstat)' -d 'Output the distribution of relative amount of changes for each sub-directory' -complete -x -c git -n '__fish_git_using_command diff log show range-diff' -l ignore-submodules -a '(__fish_git_diff_opt ignore-submodules)' -d 'Ignore changes to submodules in the diff generation' -complete -x -c git -n '__fish_git_using_command diff log show range-diff' -l submodule -a '(__fish_git_diff_opt submodule)' -d 'Specify how differences in submodules are shown' -complete -x -c git -n '__fish_git_using_command diff log show range-diff' -l ws-error-highlight -a '(__fish_git_diff_opt ws-error-highlight)' -d 'Highlight whitespace errors in lines of the diff' - -#### fetch -complete -f -c git -n __fish_git_needs_command -a fetch -d 'Download objects and refs from another repository' -# Suggest "repository", then "refspec" - this also applies to e.g. push/pull -complete -f -c git -n '__fish_git_using_command fetch; and not __fish_git_branch_for_remote' -a '(__fish_git_remotes)' -d Remote -complete -f -c git -n '__fish_git_using_command fetch; and __fish_git_branch_for_remote' -a '(__fish_git_branch_for_remote)' -complete -f -c git -n '__fish_git_using_command fetch' -s q -l quiet -d 'Be quiet' -complete -f -c git -n '__fish_git_using_command fetch' -s v -l verbose -d 'Be verbose' -complete -f -c git -n '__fish_git_using_command fetch' -s a -l append -d 'Append ref names and object names' -# TODO --upload-pack -complete -f -c git -n '__fish_git_using_command fetch' -s f -l force -d 'Force update of local branches' -complete -f -c git -n '__fish_git_using_command fetch' -s p -l prune -d 'Remove remote-tracking references that no longer exist on the remote' -# TODO other options - -#### filter-branch -complete -f -c git -n __fish_git_needs_command -a filter-branch -d 'Rewrite branches' -complete -f -c git -n '__fish_git_using_command filter-branch' -l env-filter -d 'This filter may be used if you only need to modify the environment' -complete -f -c git -n '__fish_git_using_command filter-branch' -l tree-filter -d 'This is the filter for rewriting the tree and its contents' -complete -f -c git -n '__fish_git_using_command filter-branch' -l index-filter -d 'This is the filter for rewriting the index' -complete -f -c git -n '__fish_git_using_command filter-branch' -l parent-filter -d 'This is the filter for rewriting the commit' -complete -f -c git -n '__fish_git_using_command filter-branch' -l msg-filter -d 'This is the filter for rewriting the commit messages' -complete -f -c git -n '__fish_git_using_command filter-branch' -l commit-filter -d 'This is the filter for performing the commit' -complete -f -c git -n '__fish_git_using_command filter-branch' -l tag-name-filter -d 'This is the filter for rewriting tag names' -complete -f -c git -n '__fish_git_using_command filter-branch' -l subdirectory-filter -d 'Only look at the history which touches the given subdirectory' -complete -f -c git -n '__fish_git_using_command filter-branch' -l prune-empty -d 'Ignore empty commits generated by filters' -complete -f -c git -n '__fish_git_using_command filter-branch' -l original -d 'Use this option to set the namespace where the original commits will be stored' -complete -r -c git -n '__fish_git_using_command filter-branch' -s d -d 'Use this option to set the path to the temporary directory used for rewriting' -complete -c git -n '__fish_git_using_command filter-branch' -s f -l force -d 'Filter even with refs in refs/original or existing temp directory' - -### remote -set -l remotecommands add rm remove show prune update rename set-head set-url set-branches get-url -complete -f -c git -n __fish_git_needs_command -a remote -d 'Manage set of tracked repositories' -complete -f -c git -n '__fish_git_using_command remote' -a '(__fish_git_remotes)' -complete -f -c git -n "__fish_git_using_command remote; and not __fish_seen_subcommand_from $remotecommands" -s v -l verbose -d 'Be verbose' -complete -f -c git -n "__fish_git_using_command remote; and not __fish_seen_subcommand_from $remotecommands" -a add -d 'Adds a new remote' -complete -f -c git -n "__fish_git_using_command remote; and not __fish_seen_subcommand_from $remotecommands" -a rm -d 'Removes a remote' -complete -f -c git -n "__fish_git_using_command remote; and not __fish_seen_subcommand_from $remotecommands" -a remove -d 'Removes a remote' -complete -f -c git -n "__fish_git_using_command remote; and not __fish_seen_subcommand_from $remotecommands" -a show -d 'Shows a remote' -complete -f -c git -n "__fish_git_using_command remote; and not __fish_seen_subcommand_from $remotecommands" -a prune -d 'Deletes all stale tracking branches' -complete -f -c git -n "__fish_git_using_command remote; and not __fish_seen_subcommand_from $remotecommands" -a update -d 'Fetches updates' -complete -f -c git -n "__fish_git_using_command remote; and not __fish_seen_subcommand_from $remotecommands" -a rename -d 'Renames a remote' -complete -f -c git -n "__fish_git_using_command remote; and not __fish_seen_subcommand_from $remotecommands" -a set-head -d 'Sets the default branch for a remote' -complete -f -c git -n "__fish_git_using_command remote; and not __fish_seen_subcommand_from $remotecommands" -a set-url -d 'Changes URLs for a remote' -complete -f -c git -n "__fish_git_using_command remote; and not __fish_seen_subcommand_from $remotecommands" -a get-url -d 'Retrieves URLs for a remote' -complete -f -c git -n "__fish_git_using_command remote; and not __fish_seen_subcommand_from $remotecommands" -a set-branches -d 'Changes the list of branches tracked by a remote' -complete -f -c git -n "__fish_git_using_command remote; and __fish_seen_subcommand_from add " -s f -d 'Once the remote information is set up git fetch <name> is run' -complete -f -c git -n "__fish_git_using_command remote; and __fish_seen_subcommand_from add " -l tags -d 'Import every tag from a remote with git fetch <name>' -complete -f -c git -n "__fish_git_using_command remote; and __fish_seen_subcommand_from add " -l no-tags -d "Don't import tags from a remote with git fetch <name>" -complete -f -c git -n '__fish_git_using_command remote; and __fish_seen_subcommand_from remove' -xa '(__fish_git_remotes)' -complete -f -c git -n "__fish_git_using_command remote; and __fish_seen_subcommand_from set-branches" -l add -d 'Add to the list of currently tracked branches instead of replacing it' -complete -f -c git -n "__fish_git_using_command remote; and __fish_seen_subcommand_from set-url" -l push -d 'Manipulate push URLs instead of fetch URLs' -complete -f -c git -n "__fish_git_using_command remote; and __fish_seen_subcommand_from set-url" -l add -d 'Add new URL instead of changing the existing URLs' -complete -f -c git -n "__fish_git_using_command remote; and __fish_seen_subcommand_from set-url" -l delete -d 'Remove URLs that match specified URL' -complete -f -c git -n "__fish_git_using_command remote; and __fish_seen_subcommand_from get-url" -l push -d 'Query push URLs rather than fetch URLs' -complete -f -c git -n "__fish_git_using_command remote; and __fish_seen_subcommand_from get-url" -l all -d 'All URLs for the remote will be listed' -complete -f -c git -n "__fish_git_using_command remote; and __fish_seen_subcommand_from show" -s n -d 'Remote heads are not queried, cached information is used instead' -complete -f -c git -n "__fish_git_using_command remote; and __fish_seen_subcommand_from prune" -l dry-run -d 'Report what will be pruned but do not actually prune it' -complete -f -c git -n "__fish_git_using_command remote; and __fish_seen_subcommand_from update" -l prune -d 'Prune all remotes that are updated' - -### show -complete -f -c git -n __fish_git_needs_command -a show -d 'Shows the last commit of a branch' -complete -f -c git -n '__fish_git_using_command show; and not contains -- -- (commandline -opc)' -a '(__fish_git_branches)' -complete -f -c git -n '__fish_git_using_command show; and not contains -- -- (commandline -opc)' -ka '(__fish_git_tags)' -d Tag -complete -f -c git -n '__fish_git_using_command show; and not contains -- -- (commandline -opc)' -ka '(__fish_git_commits)' -complete -f -c git -n '__fish_git_needs_rev_files; and not contains -- -- (commandline -opc)' -xa '(__fish_git_complete_rev_files)' -complete -F -c git -n '__fish_git_using_command show; and contains -- -- (commandline -opc)' -complete -f -c git -n '__fish_git_using_command show' -l format -d 'Pretty-print the contents of the commit logs in a given format' -a '(__fish_git_show_opt format)' -complete -f -c git -n '__fish_git_using_command show' -l abbrev-commit -d 'Show only a partial hexadecimal commit object name' -complete -f -c git -n '__fish_git_using_command show' -l no-abbrev-commit -d 'Show the full 40-byte hexadecimal commit object name' -complete -f -c git -n '__fish_git_using_command show' -l oneline -d 'Shorthand for "--pretty=oneline --abbrev-commit"' -complete -f -c git -n '__fish_git_using_command show' -l encoding -d 'Re-code the commit log message in the encoding' -complete -f -c git -n '__fish_git_using_command show' -l expand-tabs -d 'Perform a tab expansion in the log message' -complete -f -c git -n '__fish_git_using_command show' -l no-expand-tabs -d 'Do not perform a tab expansion in the log message' -complete -f -c git -n '__fish_git_using_command show' -l notes -k -a '(__fish_git_refs)' -d 'Show the notes that annotate the commit' -complete -f -c git -n '__fish_git_using_command show' -l no-notes -d 'Do not show notes' -complete -f -c git -n '__fish_git_using_command show' -l show-signature -d 'Check the validity of a signed commit object' - - -### show-branch -complete -f -c git -n __fish_git_needs_command -a show-branch -d 'Shows the commits on branches' -complete -f -c git -n '__fish_git_using_command show-branch' -k -a '(__fish_git_refs)' -d Rev -# TODO options - -### add -complete -c git -n __fish_git_needs_command -a add -d 'Add file contents to the index' -complete -c git -n '__fish_git_using_command add' -s n -l dry-run -d "Don't actually add the file(s)" -complete -c git -n '__fish_git_using_command add' -s v -l verbose -d 'Be verbose' -complete -c git -n '__fish_git_using_command add' -s f -l force -d 'Allow adding otherwise ignored files' -complete -c git -n '__fish_git_using_command add' -s i -l interactive -d 'Interactive mode' -complete -c git -n '__fish_git_using_command add' -s p -l patch -d 'Interactively choose hunks to stage' -complete -c git -n '__fish_git_using_command add' -s e -l edit -d 'Manually create a patch' -complete -c git -n '__fish_git_using_command add' -s u -l update -d 'Only match tracked files' -complete -c git -n '__fish_git_using_command add' -s A -l all -d 'Match files both in working tree and index' -complete -c git -n '__fish_git_using_command add' -s N -l intent-to-add -d 'Record only the fact that the path will be added later' -complete -c git -n '__fish_git_using_command add' -l refresh -d "Don't add the file(s), but only refresh their stat" -complete -c git -n '__fish_git_using_command add' -l chmod -xa "-x\t'Track file as non-executable' +x\t'Track file as executable'" -complete -c git -n '__fish_git_using_command add' -l ignore-errors -d 'Ignore errors' -complete -c git -n '__fish_git_using_command add' -l ignore-missing -d 'Check if any of the given files would be ignored' -# Renames also show up as untracked + deleted, and to get git to show it as a rename _both_ need to be added. -# However, we can't do that as it is two tokens, so we don't need renamed here. -complete -f -c git -n '__fish_git_using_command add' -a '(__fish_git_files modified untracked deleted unmerged modified-staged-deleted)' -# TODO options - -### am -complete -c git -n __fish_git_needs_command -a am -d 'Apply a series of patches from a mailbox' -complete -f -c git -n '__fish_git_using_command am' -s s -l signoff -d 'Add a Signed-off-By trailer to commit message' -complete -f -c git -n '__fish_git_using_command am' -l keep-non-patch -d 'Only strip bracket pairs containing \'PATCH\'' -complete -f -c git -n '__fish_git_using_command am' -l no-keep-cr -d 'Override am.keepcr to false' -complete -f -c git -n '__fish_git_using_command am' -s c -l scissors -d 'Remove everything in body before scissors' -complete -f -c git -n '__fish_git_using_command am' -l no-scissors -d 'Ignore scissor lines' -complete -x -c git -n '__fish_git_using_command am' -l quoted-cr -a 'nowarn warn strip' -d 'What to do when an email ends with CRLF' -complete -f -c git -n '__fish_git_using_command am' -l no-messageid -d 'Do not add message id to commit message' -complete -f -c git -n '__fish_git_using_command am' -s q -l quiet -d 'Supress logs' -complete -f -c git -n '__fish_git_using_command am' -l no-utf8 -d 'Disable all charset re-encoding of metadata' -complete -f -c git -n '__fish_git_using_command am' -s 3 -l 3way -d 'Fall back to three way merge on patch failure' -complete -f -c git -n '__fish_git_using_command am' -l no-3way -d 'Do not fall back to three way merge on patch failure' -complete -f -c git -n '__fish_git_using_command am' -l rerere-autoupdate -d 'Allow rerere to update index if possible' -complete -f -c git -n '__fish_git_using_command am' -l ignore-space-change -d 'Pass --ignore-space-change to git apply' -complete -F -c git -n '__fish_git_using_command am' -l directory -d 'Pass --directory to git apply' -complete -F -c git -n '__fish_git_using_command am' -l exclude -d 'Pass --exclude to git apply' -complete -F -c git -n '__fish_git_using_command am' -l include -d 'Pass --include to git apply' -complete -f -c git -n '__fish_git_using_command am' -l reject -d 'Pass --reject to git apply' -complete -x -f git -n '__fish_git_using_command am' -l patch-format -a 'mbox mboxrd stgit stgit-series hg' -d 'Specify the patch format' -complete -f -c git -n '__fish_git_using_command am' -s i -l interactive -d 'Run interactively' -complete -f -c git -n '__fish_git_using_command am' -l commiter-date-is-author-date -d 'Treat commiter date as author date' -complete -f -c git -n '__fish_git_using_command am' -l ignore-date -d 'Treat author date as commiter date' -complete -f -c git -n '__fish_git_using_command am' -l skip -d 'Skip current patch' -complete -x -c git -n '__fish_git_using_command am' -s S -l gpg-sign -a '(type -q gpg && __fish_complete_gpg_key_id gpg)' -d 'Sign commits with gpg' -complete -f -c git -n '__fish_git_using_command am' -l no-gpg-sign -d 'Do not sign commits' -complete -f -c git -n '__fish_git_using_command am' -s r -l resolved -l continue -d 'Mark patch failures as resolved' -complete -x -c git -n '__fish_git_using_command am' -l resolvemsg -d 'Message to print after patch failure' -complete -f -c git -n '__fish_git_using_command am' -l abort -d 'Abort patch operation and restore branch' -complete -f -c git -n '__fish_git_using_command am' -l quit -d 'Abort without restoring branch' -complete -c git -n '__fish_git_using_command am' -l show-current-patch -a 'diff raw' -d 'Show message at which patch failures occured' - -### checkout -complete -F -c git -n '__fish_git_using_command checkout; and contains -- -- (commandline -opc)' -complete -f -c git -n __fish_git_needs_command -a checkout -d 'Checkout and switch to a branch' -complete -k -f -c git -n '__fish_git_using_command checkout; and not contains -- -- (commandline -opc)' -a '(__fish_git_tags)' -d Tag -complete -k -f -c git -n '__fish_git_using_command checkout; and not contains -- -- (commandline -opc)' -a '(__fish_git_heads)' -d Head -complete -k -f -c git -n '__fish_git_using_command checkout; and not contains -- -- (commandline -opc)' -a '(__fish_git_branches)' -complete -k -f -c git -n '__fish_git_using_command checkout; and not contains -- -- (commandline -opc)' -a '(__fish_git_unique_remote_branches)' -d 'Unique Remote Branch' -complete -k -f -c git -n '__fish_git_using_command checkout; and not contains -- -- (commandline -opc)' -a '(__fish_git_local_branches)' -complete -k -f -c git -n '__fish_git_using_command checkout; and not contains -- -- (commandline -opc)' -a '(__fish_git_recent_commits --all)' -complete -k -f -c git -n '__fish_git_using_command checkout' -a '(__fish_git_files modified deleted modified-staged-deleted)' -complete -f -c git -n '__fish_git_using_command checkout' -s b -d 'Create a new branch' -complete -f -c git -n '__fish_git_using_command checkout' -s t -l track -d 'Track a new branch' -complete -f -c git -n '__fish_git_using_command checkout' -l theirs -d 'Keep staged changes' -complete -f -c git -n '__fish_git_using_command checkout' -l ours -d 'Keep unmerged changes' -complete -f -c git -n '__fish_git_using_command checkout' -l recurse-submodules -d 'Update the work trees of submodules' -complete -f -c git -n '__fish_git_using_command checkout' -l no-recurse-submodules -d 'Do not update the work trees of submodules' -# TODO options - -### apply -complete -c git -n __fish_git_needs_command -a apply -d 'Apply a patch on a git index file and a working tree' -complete -f -c git -n '__fish_git_using_command apply' -l numstat -d 'Show number of additions and deletions' -complete -f -c git -n '__fish_git_using_command apply' -l summary -d 'Output a condensed summary' -complete -f -c git -n '__fish_git_using_command apply' -l check -d 'Just check if the patches can be applied' -complete -f -c git -n '__fish_git_using_command apply' -l index -d 'Apply patch to index and working tree' -complete -f -c git -n '__fish_git_using_command apply' -l cached -d 'Apply patch to index' -complete -f -c git -n '__fish_git_using_command apply' -l intent-to-add -d 'Add entry for file in index with no content' -complete -f -c git -n '__fish_git_using_command apply' -s 3 -l 3way -d 'Attempt a 3 way merge on conflicts' -complete -F -c git -n '__fish_git_using_command apply' -l build-fake-ancestor -d 'Build a temporary index containing these blobs' -complete -f -c git -n '__fish_git_using_command apply' -s R -l reverse -d 'Apply the patch in reverse' -complete -f -c git -n '__fish_git_using_command apply' -l reject -d 'Leave rejected hunks in *.rej files' -complete -f -c git -n '__fish_git_using_command apply; and __fish_contains_opt numstat' -s z -d 'Do not munge pathnames' -complete -x -c git -n '__fish_git_using_command apply am' -s p -d 'Remove n leading path components' -complete -x -c git -n '__fish_git_using_command apply am' -s C -d 'Ensure n that lines of surrounding context match' -complete -f -c git -n '__fish_git_using_command apply' -l unidiff-zero -d 'Do not break on diffs generated using --unified=0' -complete -f -c git -n '__fish_git_needs_command apply' -l apply -d 'Always apply patches' -complete -f -c git -n '__fish_git_using_command apply' -l no-add -d 'Ignore additions made by patches' -complete -f -c git -n '__fish_git_using_command apply' -l allow-binary-replacement -l binary -d 'Also patch binaries' -complete -F -c git -n '__fish_git_using_command apply' -l exclude -d 'Dont apply changes to files matching given pattern' -complete -F -c git -n '__fish_git_using_command apply' -l include -d 'Apply changes to files matching given pattern' -complete -f -c git -n '__fish_git_using_command apply am' -l ignore-space-change -l ignore-whitespace -d 'Ignore whitespace change in context lines' -complete -x -c git -n '__fish_git_using_command apply am' -l whitespace -a 'nowarn warn fix error error-all' -d 'Action to take when there are whitespace errors' -complete -f -c git -n '__fish_git_using_command apply' -l inaccurate-eof -d 'Work around some diff versions not detecting newlines at end of file' -complete -f -c git -n '__fish_git_using_command apply' -s v -l verbose -d 'Report progress to stderr' -complete -f -c git -n '__fish_git_using_command apply' -l recount -d 'Do not trust the line counts in the hunk headers' -complete -F -c git -n '__fish_git_using_command apply' -l directory -d 'Prepend given path to all filenames' -complete -f -c git -n '__fish_git_using_command apply' -l unsafe-paths -d 'Allow patches that work outside working area' - - -### archive -complete -f -c git -n __fish_git_needs_command -a archive -d 'Create an archive of files from a named tree' -# TODO options - -### bisect -complete -f -c git -n __fish_git_needs_command -a bisect -d 'Find the change that introduced a bug by binary search' -complete -f -c git -n '__fish_git_using_command bisect; and __fish_prev_arg_in bisect' -xa " -start\t'Start a new bisect session' -bad\t'Mark a commit as bad' -new\t'Mark a commit as new' -good\t'Mark a commit as good' -old\t'Mark a commit as old' -terms\t'Show terms used for new/old states' -skip\t'Skip some commits' -reset\t'Exit a bisect session and reset HEAD' -visualize\t'See remaining commits in gitk' -replay\t'Replay a bisect log file' -log\t'Record a bisect log file' -run\t'Bisect automaically with the given command as discriminator' -help\t'Print a synopsis of all commands' -" -complete -c git -n '__fish_git_using_command bisect; and __fish_seen_argument --' -F -complete -f -c git -n '__fish_git_using_command bisect; and __fish_seen_subcommand_from start' -l term-new -l term-bad -x -d 'Use another term instead of new/bad' -complete -f -c git -n '__fish_git_using_command bisect; and __fish_seen_subcommand_from start' -l term-old -l term-good -x -d 'Use another term instead of old/good' -complete -f -c git -n '__fish_git_using_command bisect; and __fish_seen_subcommand_from start' -l no-checkout -d 'Do not checkout tree, only update BISECT_HEAD' -complete -f -c git -n '__fish_git_using_command bisect; and __fish_seen_subcommand_from start' -l first-parent -d 'On merge commits, follow only the first parent commit' -complete -f -c git -n '__fish_git_using_command bisect; and __fish_seen_subcommand_from start; and not contains -- -- (commandline -opc)' -a '(__fish_git_refs)' -complete -f -c git -n '__fish_git_using_command bisect; and __fish_seen_subcommand_from bad new good old' -a '(__fish_git_refs)' -complete -f -c git -n '__fish_git_using_command bisect; and __fish_seen_subcommand_from terms' -l --term-good -d 'Print the term for the old state' -complete -f -c git -n '__fish_git_using_command bisect; and __fish_seen_subcommand_from terms' -l --term-bad -d 'Print the term for the new state' -complete -f -c git -n '__fish_git_using_command bisect; and __fish_seen_subcommand_from skip' -a '(__fish_git_ranges)' -complete -f -c git -n '__fish_git_using_command bisect; and __fish_seen_subcommand_from reset' -a '(__fish_git_refs)' -complete -c git -n '__fish_git_using_command bisect; and __fish_seen_subcommand_from replay' -F -complete -f -c git -n '__fish_git_using_command bisect; and __fish_seen_subcommand_from run' -xa '(__fish_complete_subcommand --fcs-skip=3)' - -### branch -complete -f -c git -n __fish_git_needs_command -a branch -d 'List, create, or delete branches' -complete -f -c git -n '__fish_git_using_command branch' -a '(__fish_git_branches)' -complete -f -c git -n '__fish_git_using_command branch' -s d -l delete -d 'Delete branch' -xa '(__fish_git_local_branches)' -complete -f -c git -n '__fish_git_using_command branch' -s D -d 'Force deletion of branch' -xa '(__fish_git_local_branches)' -complete -f -c git -n '__fish_git_using_command branch' -s f -l force -d 'Reset branch even if it already exists' -complete -f -c git -n '__fish_git_using_command branch' -s m -l move -d 'Rename branch' -complete -f -c git -n '__fish_git_using_command branch' -s M -d 'Force rename branch' -complete -f -c git -n '__fish_git_using_command branch' -s c -l copy -d 'Copy branch' -complete -f -c git -n '__fish_git_using_command branch' -s C -d 'Force copy branch' -complete -f -c git -n '__fish_git_using_command branch' -s a -l all -d 'Lists both local and remote branches' -complete -f -c git -n '__fish_git_using_command branch' -s t -l track -l track -d 'Track remote branch' -complete -f -c git -n '__fish_git_using_command branch' -l no-track -d 'Do not track remote branch' -complete -f -c git -n '__fish_git_using_command branch' -l set-upstream-to -d 'Set remote branch to track' -complete -f -c git -n '__fish_git_using_command branch' -l merged -d 'List branches that have been merged' -complete -f -c git -n '__fish_git_using_command branch' -l no-merged -d 'List branches that have not been merged' - -### cherry -complete -f -c git -n __fish_git_needs_command -a cherry -d 'Find commits yet to be applied to upstream [upstream [head]]' -complete -f -c git -n '__fish_git_using_command cherry' -s v -d 'Show the commit subjects next to the SHA1s' -complete -f -c git -n '__fish_git_using_command cherry' -k -a '(__fish_git_refs)' -d Upstream - -### cherry-pick -complete -f -c git -n __fish_git_needs_command -a cherry-pick -d 'Apply the change introduced by an existing commit' -complete -f -c git -n '__fish_git_using_command cherry-pick' -k -a '(__fish_git_ranges)' -# TODO: Filter further -complete -f -c git -n '__fish_git_using_command cherry-pick; and __fish_git_possible_commithash' -ka '(__fish_git_commits)' -complete -f -c git -n '__fish_git_using_command cherry-pick' -s e -l edit -d 'Edit the commit message prior to committing' -complete -f -c git -n '__fish_git_using_command cherry-pick' -s x -d 'Append info in generated commit on the origin of the cherry-picked change' -complete -f -c git -n '__fish_git_using_command cherry-pick' -s n -l no-commit -d 'Apply changes without making any commit' -complete -f -c git -n '__fish_git_using_command cherry-pick' -s s -l signoff -d 'Add Signed-off-by line to the commit message' -complete -f -c git -n '__fish_git_using_command cherry-pick' -l ff -d 'Fast-forward if possible' -complete -f -c git -n '__fish_git_using_command cherry-pick' -l continue -d 'Continue the operation in progress' -complete -f -c git -n '__fish_git_using_command cherry-pick' -l abort -d 'Cancel the operation' -complete -f -c git -n '__fish_git_using_command cherry-pick' -l skip -d 'Skip the current commit and continue with the rest of the sequence' - -### clone -complete -f -c git -n __fish_git_needs_command -a clone -d 'Clone a repository into a new directory' -complete -f -c git -n '__fish_git_using_command clone' -l no-hardlinks -d 'Copy files instead of using hardlinks' -complete -f -c git -n '__fish_git_using_command clone' -s q -l quiet -d 'Operate quietly and do not report progress' -complete -f -c git -n '__fish_git_using_command clone' -s v -l verbose -d 'Provide more information on what is going on' -complete -f -c git -n '__fish_git_using_command clone' -s n -l no-checkout -d 'No checkout of HEAD is performed after the clone is complete' -complete -f -c git -n '__fish_git_using_command clone' -l bare -d 'Make a bare Git repository' -complete -f -c git -n '__fish_git_using_command clone' -l mirror -d 'Set up a mirror of the source repository' -complete -f -c git -n '__fish_git_using_command clone' -s o -l origin -d 'Use a specific name of the remote instead of the default' -complete -f -c git -n '__fish_git_using_command clone' -s b -l branch -d 'Use a specific branch instead of the one used by the cloned repository' -complete -f -c git -n '__fish_git_using_command clone' -l depth -d 'Truncate the history to a specified number of revisions' -complete -f -c git -n '__fish_git_using_command clone' -l recursive -d 'Initialize all submodules within the cloned repository' - -### commit -complete -c git -n __fish_git_needs_command -a commit -d 'Record changes to the repository' -complete -c git -n '__fish_git_using_command commit' -l amend -d 'Amend the log message of the last commit' -complete -f -c git -n '__fish_git_using_command commit' -a '(__fish_git_files modified deleted modified-staged-deleted untracked)' -complete -c git -n '__fish_git_using_command commit' -s a -l all -d 'Automatically stage modified and deleted files' -complete -c git -n '__fish_git_using_command commit' -s p -l patch -d 'Use interactive patch selection interface' -complete -f -c git -n '__fish_git_using_command commit' -l fixup -d 'Fixup commit to be used with rebase --autosquash' -complete -f -c git -n '__fish_git_using_command commit' -l squash -d 'Squash commit to be used with rebase --autosquash' -complete -c git -n '__fish_git_using_command commit' -l reset-author -d 'When amending, reset author of commit to the committer' -complete -x -c git -n '__fish_git_using_command commit' -l author -d 'Override the commit author' -complete -x -c git -n '__fish_git_using_command commit' -l cleanup -a "strip\t'Leading/trailing whitespace/empty lines, #commentary' - whitespace\t'Like strip but keep #commentary' - verbatim\t'Do not change the message' - scissors\t'Like whitespace but also remove after scissor lines' - default\t'Like strip if the message is to be edited, whitespace otherwise'" -d 'How to clean up the commit message' -complete -x -c git -n '__fish_git_using_command commit' -l date -d 'Override the author date' -complete -x -c git -n '__fish_git_using_command commit' -s m -l message -d 'Use the given message as the commit message' -complete -f -c git -n '__fish_git_using_command commit' -l no-edit -d 'Use the selected commit message without launching an editor' -complete -f -c git -n '__fish_git_using_command commit' -l no-gpg-sign -d 'Do not sign commit' -complete -f -c git -n '__fish_git_using_command commit' -s n -l no-verify -d 'Do not run pre-commit and commit-msg hooks' -complete -f -c git -n '__fish_git_using_command commit; and __fish_contains_opt fixup squash' -k -a '(__fish_git_recent_commits)' -complete -f -c git -n '__fish_git_using_command commit' -l allow-empty -d 'Create a commit with no changes' -complete -f -c git -n '__fish_git_using_command commit' -l allow-empty-message -d 'Create a commit with no commit message' -# TODO options - -### count-objects -complete -f -c git -n __fish_git_needs_command -a count-objects -d 'Count unpacked number of objects and their disk consumption' -complete -f -c git -n '__fish_git_using_command count-objects' -s v -l verbose -d 'Be verbose' -complete -f -c git -n '__fish_git_using_command count-objects' -s H -l human-readable -d 'Print in human readable format' - -### daemon -complete -c git -n __fish_git_needs_command -a daemon -d 'A really simple server for git repositories' -complete -f -c git -n '__fish_git_using_command daemon' -l strict-paths -d 'Match paths exactly' -complete -F -c git -n '__fish_git_using_command daemon' -l base-path -d 'Git Root' -complete -f -c git -n '__fish_git_using_command daemon' -l base-path-relaxed -d 'When looking up with base path fails, try without it' -complete -F -c git -n '__fish_git_using_command daemon' -l interpolated-path -d 'Construct a path from the given template' -complete -f -c git -n '__fish_git_using_command daemon' -l export-all -d 'Allow pulling from all directories' -complete -f -c git -n '__fish_git_using_command daemon' -l inetd -d 'Run as inetd service' -complete -x -c git -n '__fish_git_using_command daemon' -l listen -d 'Listen on this IP' -complete -x -c git -n '__fish_git_using_command daemon' -l port -d 'Listen on this port' -complete -x -c git -n '__fish_git_using_command daemon' -l init-timeout -d 'Connection timeout' -complete -x -c git -n '__fish_git_using_command daemon' -l timeout -d 'Timeout for each request' -complete -x -c git -n '__fish_git_using_command daemon' -l max-connections -d 'Maximum parallel clients' -complete -f -c git -n '__fish_git_using_command daemon' -l syslog -d '--log-destination=syslog' -complete -x -c git -n '__fish_git_using_command daemon' -l log-destination -a 'stderr syslog none' -d 'Log destination' -complete -x -c git -n '__fish_git_using_command daemon' -l user-path -d 'Allow ~user notation to be used' -complete -f -c git -n '__fish_git_using_command daemon' -l verbose -d 'Log all details' -complete -f -c git -n '__fish_git_using_command daemon' -l reuseaddr -d 'Reuse address when binding to listening server' -complete -f -c git -n '__fish_git_using_command daemon' -l detach -d 'Detach from shell' -complete -x -c git -n '__fish_git_using_command daemon' -l reuseaddr -d 'Save the process id in file' -complete -x -c git -n '__fish_git_using_command daemon' -l user -d 'Change daemon\'s uid' -complete -x -c git -n '__fish_git_using_command daemon' -l group -d 'Change daemon\'s gid' -complete -x -c git -n '__fish_git_using_command daemon' -l enable -a 'upload-pack upload-archive receive-pack' -d 'Enable service' -complete -x -c git -n '__fish_git_using_command daemon' -l disable -a 'upload-pack upload-archive receive-pack' -d 'Disable service' -complete -x -c git -n '__fish_git_using_command daemon' -l allow-override -a 'upload-pack upload-archive receive-pack' -d 'Allow overriding site-wide default per repository configuration' -complete -x -c git -n '__fish_git_using_command daemon' -l forbid-override -a 'upload-pack upload-archive receive-pack' -d 'Forbid overriding site-wide default per repository configuration' -complete -f -c git -n '__fish_git_using_command daemon' -l informative-errors -d 'Report more verbose errors to clients' -complete -f -c git -n '__fish_git_using_command daemon' -l no-informative-errors -d 'Report less verbose errors to clients' -complete -x -c git -n '__fish_git_using_command daemon' -l access-hook -d 'Hook to run whenever a client connects' - -### describe -complete -c git -n __fish_git_needs_command -a describe -d 'Give an object a human readable name based on an available ref' -complete -k -f -c git -n '__fish_git_using_command describe' -a '(__fish_git_tags)' -d Tag -complete -k -f -c git -n '__fish_git_using_command describe' -a '(__fish_git_branches)' -complete -k -f -c git -n '__fish_git_using_command describe' -a '(__fish_git_heads)' -d Head -complete -f -c git -n '__fish_git_using_command describe' -l dirty -d 'Describe the state of the working tree, append dirty if there are local changes' -complete -f -c git -n '__fish_git_using_command describe' -l broken -d 'Describe the state of the working tree, append -broken instead of erroring' -complete -f -c git -n '__fish_git_using_command describe' -l all -d 'Use all tags, not just annotated' -complete -f -c git -n '__fish_git_using_command describe' -l tags -d 'Use all commits/tags, not just annotated tags' -complete -f -c git -n '__fish_git_using_command describe' -l contains -d 'Find the tag that comes after the commit' -complete -f -c git -n '__fish_git_using_command describe' -l abbrev -d 'Use <n> digits, or as many digits as needed to form a unique object name' -complete -f -c git -n '__fish_git_using_command describe' -l candidates -d 'Consider up to <n> candidates' -complete -f -c git -n '__fish_git_using_command describe' -l exact-match -d 'Only output exact matches' -complete -f -c git -n '__fish_git_using_command describe' -l debug -d 'Display debug info' -complete -f -c git -n '__fish_git_using_command describe' -l long -d 'Always output the long format' -complete -f -c git -n '__fish_git_using_command describe' -l match -d 'Only consider tags matching the given glob pattern' -complete -f -c git -n '__fish_git_using_command describe' -l exclude -d 'Do not consider tags matching the given glob pattern' -complete -f -c git -n '__fish_git_using_command describe' -l always -d 'Show uniquely abbreviated commit object as fallback' -complete -f -c git -n '__fish_git_using_command describe' -l first-parent -d 'Follow only the first parent of a merge commit' - -### diff -complete -c git -n __fish_git_needs_command -a diff -d 'Show changes between commits, commit and working tree, etc' -complete -c git -n '__fish_git_using_command diff; and not contains -- -- (commandline -opc)' -k -a '(__fish_git_ranges)' -complete -c git -n '__fish_git_using_command diff' -l cached -d 'Show diff of changes in the index' -complete -c git -n '__fish_git_using_command diff' -l staged -d 'Show diff of changes in the index' -complete -c git -n '__fish_git_using_command diff' -l no-index -d 'Compare two paths on the filesystem' -complete -c git -n '__fish_git_using_command diff' -l exit-code -d 'Exit with 1 if there were differences or 0 if no differences' -complete -c git -n '__fish_git_using_command diff' -l quiet -d 'Disable all output of the program, implies --exit-code' -complete -c git -n '__fish_git_using_command diff' -s 1 -l base -d 'Compare the working tree with the "base" version' -complete -c git -n '__fish_git_using_command diff' -s 2 -l ours -d 'Compare the working tree with the "our branch"' -complete -c git -n '__fish_git_using_command diff' -s 3 -l theirs -d 'Compare the working tree with the "their branch"' -complete -c git -n '__fish_git_using_command diff' -s 0 -d 'Omit diff output for unmerged entries and just show "Unmerged"' -complete -c git -n '__fish_git_using_command diff; and not __fish_contains_opt cached staged' -a '( - set -l kinds modified - contains -- -- (commandline -opc) && set -a kinds deleted modified-staged-deleted - __fish_git_files $kinds -)' -complete -c git -n '__fish_git_using_command diff; and __fish_contains_opt cached staged' -fa '(__fish_git_files all-staged)' - -### Function to list available tools for git difftool and mergetool - -function __fish_git_diffmerge_tools -a cmd - git $cmd --tool-help | while read -l line - string match -q 'The following tools are valid, but not currently available:' -- $line - and break - string replace -f -r '^\t\t(\w+).*$' '$1' -- $line - end -end - -### difftool -complete -c git -n __fish_git_needs_command -a difftool -d 'Open diffs in a visual tool' -complete -c git -n '__fish_git_using_command difftool; and not contains -- -- (commandline -opc)' -k -a '(__fish_git_ranges)' -complete -c git -n '__fish_git_using_command difftool' -l cached -d 'Visually show diff of changes in the index' -complete -f -c git -n '__fish_git_using_command difftool' -a '( - set -l kinds modified - contains -- -- (commandline -opc) && set -a kinds deleted modified-staged-deleted - __fish_git_files $kinds -)' -complete -f -c git -n '__fish_git_using_command difftool' -s g -l gui -d 'Use `diff.guitool` instead of `diff.tool`' -complete -f -c git -n '__fish_git_using_command difftool' -s d -l dir-diff -d 'Perform a full-directory diff' -complete -c git -n '__fish_git_using_command difftool' -l prompt -d 'Prompt before each invocation of the diff tool' -complete -f -c git -n '__fish_git_using_command difftool' -s y -l no-prompt -d 'Do not prompt before launching a diff tool' -complete -f -c git -n '__fish_git_using_command difftool' -l symlinks -d 'Use symlinks in dir-diff mode' -complete -f -c git -n '__fish_git_using_command difftool' -s t -l tool -d 'Use the specified diff tool' -a "(__fish_git_diffmerge_tools difftool)" -complete -f -c git -n '__fish_git_using_command difftool' -l tool-help -d 'Print a list of diff tools that may be used with `--tool`' -complete -f -c git -n '__fish_git_using_command difftool' -l trust-exit-code -d 'Exit when an invoked diff tool returns a non-zero exit code' -complete -f -c git -n '__fish_git_using_command difftool' -s x -l extcmd -d 'Specify a custom command for viewing diffs' -# TODO options - -### gc -complete -f -c git -n __fish_git_needs_command -a gc -d 'Cleanup unnecessary files and optimize the local repository' -complete -f -c git -n '__fish_git_using_command gc' -l aggressive -d 'Aggressively optimize the repository' -complete -f -c git -n '__fish_git_using_command gc' -l auto -d 'Checks any housekeeping is required and then run' -complete -f -c git -n '__fish_git_using_command gc' -l prune -d 'Prune loose objects older than date' -complete -f -c git -n '__fish_git_using_command gc' -l no-prune -d 'Do not prune any loose objects' -complete -f -c git -n '__fish_git_using_command gc' -l quiet -d 'Be quiet' -complete -f -c git -n '__fish_git_using_command gc' -l force -d 'Force `git gc` to run' -complete -f -c git -n '__fish_git_using_command gc' -l keep-largest-pack -d 'Ignore `gc.bigPackThreshold`' - -### grep -complete -c git -n __fish_git_needs_command -a grep -d 'Print lines matching a pattern' -# TODO options - -### init -complete -f -c git -n __fish_git_needs_command -a init -d 'Create an empty git repository or reinitialize an existing one' -# TODO options - -### log -complete -c git -n __fish_git_needs_command -a shortlog -d 'Show commit shortlog' -complete -c git -n __fish_git_needs_command -a log -d 'Show commit logs' -complete -c git -n '__fish_git_using_command log; and not contains -- -- (commandline -opc)' -k -a '(__fish_git_ranges)' - -complete -c git -n '__fish_git_using_command log' -l follow -d 'Continue listing file history beyond renames' -complete -c git -n '__fish_git_using_command log' -l no-decorate -d 'Don\'t print ref names' -complete -f -c git -n '__fish_git_using_command log' -l decorate -a 'short\tHide\ prefixes full\tShow\ full\ ref\ names auto\tHide\ prefixes\ if\ printed\ to\ terminal no\tDon\\\'t\ display\ ref' -d 'Print out ref names' -complete -c git -n '__fish_git_using_command log' -l source -d 'Print ref name by which each commit was reached' -complete -c git -n '__fish_git_using_command log' -l use-mailmap -complete -c git -n '__fish_git_using_command log' -l full-diff -complete -c git -n '__fish_git_using_command log' -l log-size -complete -x -c git -n '__fish_git_using_command log' -s L -complete -x -c git -n '__fish_git_using_command log' -s n -l max-count -d 'Limit the number of commits before starting to show the commit output' -complete -x -c git -n '__fish_git_using_command log' -l skip -d 'Skip given number of commits' -complete -x -c git -n '__fish_git_using_command log' -l since -d 'Show commits more recent than specified date' -complete -x -c git -n '__fish_git_using_command log' -l after -d 'Show commits more recent than specified date' -complete -x -c git -n '__fish_git_using_command log' -l until -d 'Show commits older than specified date' -complete -x -c git -n '__fish_git_using_command log' -l before -d 'Show commits older than specified date' -complete -x -c git -n '__fish_git_using_command log' -l author -d 'Limit commits from given author' -complete -x -c git -n '__fish_git_using_command log' -l committer -d 'Limit commits from given committer' -complete -x -c git -n '__fish_git_using_command log' -l grep-reflog -d 'Limit commits to ones with reflog entries matching given pattern' -complete -x -c git -n '__fish_git_using_command log' -l grep -d 'Limit commits with message that match given pattern' -complete -c git -n '__fish_git_using_command log' -l all-match -d 'Limit commits to ones that match all given --grep' -complete -c git -n '__fish_git_using_command log' -l invert-grep -d 'Limit commits to ones with message that don\'t match --grep' -complete -c git -n '__fish_git_using_command log' -l regexp-ignore-case -s i -d 'Case insensitive match' -complete -c git -n '__fish_git_using_command log' -l basic-regexp -d 'Patterns are basic regular expressions (default)' -complete -c git -n '__fish_git_using_command log' -l extended-regexp -s E -d 'Patterns are extended regular expressions' -complete -c git -n '__fish_git_using_command log' -l fixed-strings -s F -d 'Patterns are fixed strings' -complete -c git -n '__fish_git_using_command log' -l perl-regexp -d 'Patterns are Perl-compatible regular expressions' -complete -c git -n '__fish_git_using_command log' -l remove-empty -d 'Stop when given path disappears from tree' -complete -c git -n '__fish_git_using_command log' -l merges -d 'Print only merge commits' -complete -c git -n '__fish_git_using_command log' -l no-merges -d 'Don\'t print commits with more than one parent' -complete -x -c git -n '__fish_git_using_command log' -l min-parents -d 'Show only commit with at least the given number of parents' -complete -x -c git -n '__fish_git_using_command log' -l max-parents -d 'Show only commit with at most the given number of parents' -complete -c git -n '__fish_git_using_command log' -l no-min-parents -d 'Show only commit without a minimum number of parents' -complete -c git -n '__fish_git_using_command log' -l no-max-parents -d 'Show only commit without a maximum number of parents' -complete -c git -n '__fish_git_using_command log' -l first-parent -d 'Follow only the first parent commit upon seeing a merge commit' -complete -c git -n '__fish_git_using_command log' -l not -d 'Reverse meaning of ^ prefix' -complete -c git -n '__fish_git_using_command log' -l all -d 'Show log for all branches, tags, and remotes' -complete -f -c git -n '__fish_git_using_command log' -l branches -d 'Show log for all matching branches' -complete -f -c git -n '__fish_git_using_command log' -l tags -d 'Show log for all matching tags' -complete -f -c git -n '__fish_git_using_command log' -l remotes -d 'Show log for all matching remotes' -complete -x -c git -n '__fish_git_using_command log' -l glob -d 'Show log for all matching branches, tags, and remotes' -complete -x -c git -n '__fish_git_using_command log' -l exclude -d 'Do not include refs matching given glob pattern' -complete -c git -n '__fish_git_using_command log' -l reflog -d 'Show log for all reflogs entries' -complete -c git -n '__fish_git_using_command log' -l ingnore-missing -d 'Ignore invalid object names' -complete -c git -n '__fish_git_using_command log' -l bisect -complete -c git -n '__fish_git_using_command log' -l stdin -d 'Read commits from stdin' -complete -c git -n '__fish_git_using_command log' -l cherry-mark -d 'Mark equivalent commits with = and inequivalent with +' -complete -c git -n '__fish_git_using_command log' -l cherry-pick -d 'Omit equivalent commits' -complete -c git -n '__fish_git_using_command log' -l left-only -complete -c git -n '__fish_git_using_command log' -l rigth-only -complete -c git -n '__fish_git_using_command log' -l cherry -complete -c git -n '__fish_git_using_command log' -l walk-reflogs -s g -complete -c git -n '__fish_git_using_command log' -l merge -complete -c git -n '__fish_git_using_command log' -l boundary -complete -c git -n '__fish_git_using_command log' -l simplify-by-decoration -complete -c git -n '__fish_git_using_command log' -l full-history -complete -c git -n '__fish_git_using_command log' -l dense -complete -c git -n '__fish_git_using_command log' -l sparse -complete -c git -n '__fish_git_using_command log' -l simplify-merges -complete -c git -n '__fish_git_using_command log' -l ancestry-path -complete -c git -n '__fish_git_using_command log' -l date-order -complete -c git -n '__fish_git_using_command log' -l author-date-order -complete -c git -n '__fish_git_using_command log' -l topo-order -complete -c git -n '__fish_git_using_command log' -l reverse -complete -f -c git -n '__fish_git_using_command log' -l no-walk -a "sorted unsorted" -complete -c git -n '__fish_git_using_command log' -l do-walk -complete -c git -n '__fish_git_using_command log' -l format -complete -c git -n '__fish_git_using_command log' -l abbrev-commit -complete -c git -n '__fish_git_using_command log' -l no-abbrev-commit -complete -c git -n '__fish_git_using_command log' -l oneline -complete -x -c git -n '__fish_git_using_command log' -l encoding -a '(__fish_print_encodings)' -complete -f -c git -n '__fish_git_using_command log' -l expand-tabs -complete -c git -n '__fish_git_using_command log' -l no-expand-tabs -complete -f -c git -n '__fish_git_using_command log' -l notes -complete -c git -n '__fish_git_using_command log' -l no-notes -complete -f -c git -n '__fish_git_using_command log' -l show-notes -complete -c git -n '__fish_git_using_command log' -l standard-notes -complete -c git -n '__fish_git_using_command log' -l no-standard-notes -complete -c git -n '__fish_git_using_command log' -l show-signature -complete -c git -n '__fish_git_using_command log' -l relative-date -complete -x -c git -n '__fish_git_using_command log' -l date -a ' - relative - local - iso - iso-local - iso8601 - iso8601-local - iso-strict - iso-strict-local - iso8601-strict - iso8601-strict-local - rfc-local - rfc2822-local - short - short-local - raw - human - unix - format: - default - default-local -' -complete -c git -n '__fish_git_using_command log' -l parents -complete -c git -n '__fish_git_using_command log' -l children -complete -c git -n '__fish_git_using_command log' -l left-right -complete -c git -n '__fish_git_using_command log' -l graph -complete -f -c git -n '__fish_git_using_command log' -l show-linear-break -complete -c git -n '__fish_git_using_command log' -s c -complete -c git -n '__fish_git_using_command log' -l cc -complete -c git -n '__fish_git_using_command log' -s m -complete -c git -n '__fish_git_using_command log' -s r -complete -c git -n '__fish_git_using_command log' -s t -complete -c git -n '__fish_git_using_command log' -l patch -s p -complete -c git -n '__fish_git_using_command log' -s u -complete -c git -n '__fish_git_using_command log' -l no-patch -s s -complete -x -c git -n '__fish_git_using_command log' -l unified -s U -complete -c git -n '__fish_git_using_command log' -l raw -complete -c git -n '__fish_git_using_command log' -l patch-with-raw -complete -c git -n '__fish_git_using_command log' -l indent-heuristic -complete -c git -n '__fish_git_using_command log' -l no-indent-heuristic -complete -c git -n '__fish_git_using_command log' -l compaction-heuristic -complete -c git -n '__fish_git_using_command log' -l no-compaction-heuristic -complete -c git -n '__fish_git_using_command log' -l minimal -complete -c git -n '__fish_git_using_command log' -l patience -complete -c git -n '__fish_git_using_command log' -l histogram -complete -f -x -c git -n '__fish_git_using_command log' -l stat -complete -c git -n '__fish_git_using_command log' -l numstat -complete -c git -n '__fish_git_using_command log' -l shortstat -complete -c git -n '__fish_git_using_command log' -l summary -complete -c git -n '__fish_git_using_command log' -l patch-with-stat -complete -c git -n '__fish_git_using_command log' -s z -complete -c git -n '__fish_git_using_command log' -l name-only -complete -c git -n '__fish_git_using_command log' -l name-status -complete -f -c git -n '__fish_git_using_command log' -l color -a 'always never auto' -complete -c git -n '__fish_git_using_command log' -l no-color -complete -f -c git -n '__fish_git_using_command log' -l word-diff -a ' - color - plain - porcelain - none -' -complete -f -c git -n '__fish_git_using_command log' -l color-words -complete -c git -n '__fish_git_using_command log' -l no-renames -complete -c git -n '__fish_git_using_command log' -l check -complete -c git -n '__fish_git_using_command log' -l full-index -complete -c git -n '__fish_git_using_command log' -l binary -complete -f -c git -n '__fish_git_using_command log' -l abbrev -complete -f -c git -n '__fish_git_using_command log' -s l - -function __fish__git_append_letters_nosep - set -l token (commandline -tc) - printf "%s\n" $token$argv -end - -complete -x -c git -n '__fish_git_using_command log' -l diff-filter -a '(__fish__git_append_letters_nosep a\tExclude\ added c\tExclude\ copied d\tExclude\ deleted m\tExclude\ modified r\tExclude\ renamed t\tExclude\ type\ changed u\tExclude\ unmerged x\tExclude\ unknown b\tExclude\ broken A\tAdded C\tCopied D\tDeleted M\tModified R\tRenamed T\tType\ Changed U\tUnmerged X\tUnknown B\tBroken)' - -### ls-files -complete -c git -n __fish_git_needs_command -a ls-files -d 'Show information about files in the index and the working tree' -complete -c git -n '__fish_git_using_command ls-files' -complete -c git -n '__fish_git_using_command ls-files' -s c -l cached -d 'Show cached files in the output' -complete -c git -n '__fish_git_using_command ls-files' -s d -l deleted -d 'Show deleted files in the output' -complete -c git -n '__fish_git_using_command ls-files' -s m -l modified -d 'Show modified files in the output' -complete -c git -n '__fish_git_using_command ls-files' -s o -l others -d 'Show other (i.e. untracked) files in the output' -complete -c git -n '__fish_git_using_command ls-files' -s i -l ignored -d 'Show only ignored files in the output' -complete -c git -n '__fish_git_using_command ls-files' -s s -l staged -d "Show staged contents' mode bits, object name and stage number in the output" -complete -c git -n '__fish_git_using_command ls-files' -l directory -d 'If a whole directory is classified as "other", show just its name' -complete -c git -n '__fish_git_using_command ls-files' -l no-empty-directory -d 'Do not list empty directories' -complete -c git -n '__fish_git_using_command ls-files' -s u -l unmerged -d 'Show unmerged files in the output' -complete -c git -n '__fish_git_using_command ls-files' -s k -l killed -d 'Show files on the filesystem that need to be removed for checkout-index to succeed' -complete -c git -n '__fish_git_using_command ls-files' -s z -d 'Use \0 delimiter' -complete -c git -n '__fish_git_using_command ls-files' -s x -l exclude -d 'Skip untracked files matching pattern' -complete -c git -n '__fish_git_using_command ls-files' -s X -l exclude-from -d 'Read exclude patterns from <file>; 1 per line' -complete -c git -n '__fish_git_using_command ls-files' -l exclude-per-directory -d 'Read extra exclude patterns that apply only to the dir and its subdirs in <file>' -complete -c git -n '__fish_git_using_command ls-files' -l exclude-standard -d 'Add the standard Git exclusions' -complete -c git -n '__fish_git_using_command ls-files' -l error-unmatch -d 'If any <file> does not appear in the index, treat this as an error' -complete -c git -n '__fish_git_using_command ls-files' -l with-tree -complete -c git -n '__fish_git_using_command ls-files' -s t -d 'Identifies the file status' -complete -c git -n '__fish_git_using_command ls-files' -s v -d 'Show file status, use lowercase letters for files assumed unchanged' -complete -c git -n '__fish_git_using_command ls-files' -s f -d 'Show file status, use lowercase letters for files marked as fsmonitor valid' -complete -c git -n '__fish_git_using_command ls-files' -l full-name -d 'Force paths to be output relative to the project top directory' -complete -c git -n '__fish_git_using_command ls-files' -l recurse-submodules -d 'Recursively calls ls-files on each submodule in the repository' -complete -c git -n '__fish_git_using_command ls-files' -l abbrev -d 'Show only a partial prefix' -complete -c git -n '__fish_git_using_command ls-files' -l debug -d 'After each line that describes a file, add more data about its cache entry' -complete -c git -n '__fish_git_using_command ls-files' -l eol -d 'Show <eolinfo> and <eolattr> of files' - -### mailinfo -complete -f -c git -n __fish_git_needs_command -a mailinfo -d 'Extracts patch and authorship from a single e-mail message' -complete -f -c git -n '__fish_git_using_command mailinfo am' -s k -d 'Do not remove email cruft from subject' -complete -f -c git -n '__fish_git_using_command mailinfo' -s b -d 'Only strip bracket pairs containing \'PATCH\'' -complete -f -c git -n '__fish_git_using_command mailinfo am' -s u -d 'Do not reencode author name and email' -complete -x -c git -n '__fish_git_using_command mailinfo' -l encoding -d 'Re-encode to given charset' -complete -f -c git -n '__fish_git_using_command mailinfo' -s n -d 'Disable all charset re-encoding of metadata' -complete -f -c git -n '__fish_git_using_command mailinfo am' -s m -l message-id -d 'Copy message id to the end of commit message' -complete -f -c git -n '__fish_git_using_command mailinfo' -l scissors -d 'Remove everything above scissor line' -complete -f -c git -n '__fish_git_using_command mailinfo' -l no-scissors -d 'Ignore scissor lines' -complete -x -c git -n '__fish_git_using_command mailinfo' -l quoted-cr -a 'nowarn warn strip' -d 'Action when processed email message end with CRLF instead of LF' - -### mailsplit -complete -c git -n __fish_git_needs_command -a mailsplit -d 'Simple UNIX mbox splitter program' -complete -F -c git -n '__fish_git_using_command mailsplit' -s o -d 'Directory to place individual messages' -complete -f -c git -n '__fish_git_using_command mailsplit' -s b -d 'Treat files not starting with From line as single mail message' -complete -x -c git -n '__fish_git_using_command mailsplit' -s d -d 'File name prefix digit precision' -complete -x -c git -n '__fish_git_using_command mailsplit' -s f -d 'Skip first n numbers' -complete -f -c git -n '__fish_git_using_command mailsplit am' -l keep-cr -d 'Do not remove \\r from lines starting with \\n\\r' -complete -f -c git -n '__fish_git_using_command mailsplit' -l mboxrd -d 'Input is of mboxrd form' - -### maintenance -complete -f -c git -n __fish_git_needs_command -a maintenance -d 'Run tasks to optimize Git repository data' -complete -f -c git -n '__fish_git_using_command maintenance' -a register -d 'Initialize Git config vars for maintenance' -complete -f -c git -n '__fish_git_using_command maintenance' -a run -d 'Run one or more maintenance tasks' -complete -f -c git -n '__fish_git_using_command maintenance' -a start -d 'Start maintenance' -complete -f -c git -n '__fish_git_using_command maintenance' -a stop -d 'Halt background maintenance' -complete -f -c git -n '__fish_git_using_command maintenance' -a unregister -d 'Remove repository from background maintenance' -complete -f -c git -n '__fish_git_using_command maintenance' -l quiet -d 'Supress logs' -complete -x -c git -n '__fish_git_using_command maintenance' -l task -a 'commit-graph prefetch gc loose-objects incremental-repack pack-refs' -d 'Tasks to run' -complete -f -c git -n '__fish_git_using_command maintenance' -l auto -d 'Run maintenance only when necessary' -complete -f -c git -n '__fish_git_using_command maintenance' -l schedule -d 'Run maintenance on certain intervals' - -### merge -complete -f -c git -n __fish_git_needs_command -a merge -d 'Join two or more development histories together' -complete -f -c git -n '__fish_git_using_command merge' -a '(__fish_git_branches)' -complete -f -c git -n '__fish_git_using_command merge' -l commit -d "Autocommit the merge" -complete -f -c git -n '__fish_git_using_command merge' -l no-commit -d "Don't autocommit the merge" -complete -f -c git -n '__fish_git_using_command merge' -s e -l edit -d 'Edit auto-generated merge message' -complete -f -c git -n '__fish_git_using_command merge' -l no-edit -d "Don't edit auto-generated merge message" -complete -f -c git -n '__fish_git_using_command merge' -l ff -d "Don't generate a merge commit if merge is fast-forward" -complete -f -c git -n '__fish_git_using_command merge' -l no-ff -d "Generate a merge commit even if merge is fast-forward" -complete -f -c git -n '__fish_git_using_command merge' -l ff-only -d 'Refuse to merge unless fast-forward possible' -complete -f -c git -n '__fish_git_using_command merge' -s S -l gpg-sign -d 'GPG-sign the merge commit' -complete -f -c git -n '__fish_git_using_command merge' -l log -d 'Populate the log message with one-line descriptions' -complete -f -c git -n '__fish_git_using_command merge' -l no-log -d "Don't populate the log message with one-line descriptions" -complete -f -c git -n '__fish_git_using_command merge' -l signoff -d 'Add Signed-off-by line at the end of the merge commit message' -complete -f -c git -n '__fish_git_using_command merge' -l no-signoff -d 'Do not add a Signed-off-by line at the end of the merge commit message' -complete -f -c git -n '__fish_git_using_command merge' -l stat -d "Show diffstat of the merge" -complete -f -c git -n '__fish_git_using_command merge' -s n -l no-stat -d "Don't show diffstat of the merge" -complete -f -c git -n '__fish_git_using_command merge' -l squash -d "Squash changes from other branch as a single commit" -complete -f -c git -n '__fish_git_using_command merge' -l no-squash -d "Don't squash changes" -complete -x -c git -n '__fish_git_using_command merge' -s s -l strategy -d 'Use the given merge strategy' -complete -r -c git -n '__fish_git_using_command merge' -s X -l strategy-option -d 'Pass given option to the merge strategy' -complete -f -c git -n '__fish_git_using_command merge' -l verify-signatures -d 'Abort merge if other branch tip commit is not signed with a valid key' -complete -f -c git -n '__fish_git_using_command merge' -l no-verify-signatures -d 'Do not abort merge if other branch tip commit is not signed with a valid key' -complete -f -c git -n '__fish_git_using_command merge' -s q -l quiet -d 'Be quiet' -complete -f -c git -n '__fish_git_using_command merge' -s v -l verbose -d 'Be verbose' -complete -f -c git -n '__fish_git_using_command merge' -l progress -d 'Force progress status' -complete -f -c git -n '__fish_git_using_command merge' -l no-progress -d 'Force no progress status' -complete -f -c git -n '__fish_git_using_command merge' -l allow-unrelated-histories -d 'Allow merging even when branches do not share a common history' -complete -x -c git -n '__fish_git_using_command merge' -s m -d 'Set the commit message' -complete -f -c git -n '__fish_git_using_command merge' -s rerere-autoupdate -d 'If possible, use previous conflict resolutions' -complete -f -c git -n '__fish_git_using_command merge' -s no-rerere-autoupdate -d 'Do not use previous conflict resolutions' -complete -f -c git -n '__fish_git_using_command merge' -l abort -d 'Abort the current conflict resolution process' -complete -f -c git -n '__fish_git_using_command merge' -l continue -d 'Conclude current conflict resolution process' - -### merge-base -complete -f -c git -n __fish_git_needs_command -a merge-base -d 'Find as good common ancestors as possible for a merge' -complete -f -c git -n '__fish_git_using_command merge-base' -a '(__fish_git_branches)' -complete -f -c git -n '__fish_git_using_command merge-base' -s a -l all -d 'Output all merge bases for the commits, instead of just one' -complete -f -c git -n '__fish_git_using_command merge-base' -l octopus -d 'Compute the best common ancestors of all supplied commits' -complete -f -c git -n '__fish_git_using_command merge-base' -l independent -d 'Print a minimal subset of the supplied commits with the same ancestors.' -complete -f -c git -n '__fish_git_using_command merge-base' -l is-ancestor -d 'Check if the first commit is an ancestor of the second commit' -complete -f -c git -n '__fish_git_using_command merge-base' -l fork-point -d 'Find the point at which a branch forked from another branch ref' - -### mergetool - -complete -f -c git -n __fish_git_needs_command -a mergetool -d 'Run merge conflict resolution tools to resolve merge conflicts' -complete -f -c git -n '__fish_git_using_command mergetool' -s t -l tool -d "Use specific merge resolution program" -a "(__fish_git_diffmerge_tools mergetool)" -complete -f -c git -n '__fish_git_using_command mergetool' -l tool-help -d 'Print a list of merge tools that may be used with `--tool`' -complete -f -c git -n '__fish_git_using_command mergetool' -a "(__fish_git_files unmerged)" -complete -f -c git -n '__fish_git_using_command mergetool' -s y -l no-prompt -d 'Do not prompt before launching a diff tool' -complete -f -c git -n '__fish_git_using_command mergetool' -l prompt -d 'Prompt before each invocation of the merge resolution program' -complete -c git -n '__fish_git_using_command mergetool' -s O -d 'Process files in the order specified in the file passed as argument' - -### mv -complete -c git -n __fish_git_needs_command -a mv -d 'Move or rename a file, a directory, or a symlink' -complete -f -c git -n '__fish_git_using_command mv' -s f -l force -d 'Force rename/moving even if target exists' -complete -f -c git -n '__fish_git_using_command mv' -s k -d 'Skip rename/move which can lead to error' -complete -f -c git -n '__fish_git_using_command mv' -s n -l dry-run -d 'Only show what would happen' -complete -f -c git -n '__fish_git_using_command mv' -s v -l verbose -d 'Report names of files as they are changed' - -### notes -set -l notescommands add copy append edit show merge remove # list prune get-ref -complete -c git -n __fish_git_needs_command -a notes -d 'Add or inspect object notes' -complete -f -c git -n "__fish_git_using_command notes; and not __fish_seen_subcommand_from $notescommands" -a list -d 'List notes for given object' -complete -f -c git -n "__fish_git_using_command notes; and not __fish_seen_subcommand_from $notescommands" -a add -d 'Add notes for a given object' -complete -f -c git -n "__fish_git_using_command notes; and not __fish_seen_subcommand_from $notescommands" -a copy -d 'Copy notes from object1 to object2' -complete -f -c git -n "__fish_git_using_command notes; and not __fish_seen_subcommand_from $notescommands" -a append -d 'Append to the notes of existing object' -complete -f -c git -n "__fish_git_using_command notes; and not __fish_seen_subcommand_from $notescommands" -a edit -d 'Edit notes for a given object' -complete -f -c git -n "__fish_git_using_command notes; and not __fish_seen_subcommand_from $notescommands" -a show -d 'Show notes for given object' -complete -f -c git -n "__fish_git_using_command notes; and not __fish_seen_subcommand_from $notescommands" -a merge -d 'Merge the given notes ref to current notes ref' -complete -f -c git -n "__fish_git_using_command notes; and not __fish_seen_subcommand_from $notescommands" -a remove -d 'Remove notes for given object' -complete -f -c git -n "__fish_git_using_command notes; and not __fish_seen_subcommand_from $notescommands" -a prune -d 'Remove notes for non-existing/unreachable objects' -complete -f -c git -n "__fish_git_using_command notes; and not __fish_seen_subcommand_from $notescommands" -a get-ref -d 'Print current notes ref' -complete -f -c git -n "__fish_git_using_command notes; and __fish_seen_subcommand_from $notescommands" -ka '(__fish_git_commits)' -complete -f -c git -n "__fish_git_using_command notes; and __fish_seen_subcommand_from add copy" -s f -l force -d 'Overwrite existing notes' -complete -f -c git -n "__fish_git_using_command notes; and __fish_seen_subcommand_from add append edit" -l allow-empty -d 'Allow empty note' -complete -r -c git -n "__fish_git_using_command notes; and __fish_seen_subcommand_from add append" -s F -l file -d 'Read note message from file' -complete -x -c git -n "__fish_git_using_command notes; and __fish_seen_subcommand_from add append" -s m -l message -d 'Use this note message' -complete -f -c git -n "__fish_git_using_command notes; and __fish_seen_subcommand_from add append" -s C -l reuse-message -a '(__fish_git_commits)' -d 'Copy note from object' -complete -f -c git -n "__fish_git_using_command notes; and __fish_seen_subcommand_from add append" -s c -l reedit-message -a '(__fish_git_commits)' -d 'Copy and edit note from object' -complete -f -c git -n "__fish_git_using_command notes; and __fish_seen_subcommand_from copy remove" -l stdin -d 'Read object names from stdin' -complete -f -c git -n "__fish_git_using_command notes; and __fish_seen_subcommand_from merge remove prune" -s v -l verbose -d 'Be more verbose' -complete -f -c git -n "__fish_git_using_command notes; and __fish_seen_subcommand_from merge remove prune" -s q -l quiet -d 'Operate quietly' -complete -x -c git -n "__fish_git_using_command notes; and __fish_seen_subcommand_from merge" -s s -l strategy -d 'Merge strategy to use to resolve conflicts' -a " - manual\t'Instruct the user to resolve merge conflicts' - ours\t'Resolve conflicts in favour of local version' - theirs\t'Resolve conflicts in favour of remote version' - union\t'Resolve conflicts by concatenating local and remote versions' - cat_sort_uniq\t'Concatenate, sort and remove duplicate lines' - " -complete -f -c git -n "__fish_git_using_command notes; and __fish_seen_subcommand_from merge" -l commit -d 'Finalize git notes merge' -complete -f -c git -n "__fish_git_using_command notes; and __fish_seen_subcommand_from merge" -l abort -d 'Abort git notes merge' -complete -f -c git -n "__fish_git_using_command notes; and __fish_seen_subcommand_from remove" -l ignore-missing -d 'Do not throw error on deleting non-existing object note' - -### prune -complete -f -c git -n __fish_git_needs_command -a prune -d 'Prune all unreachable objects from the object database' -# TODO options - -### pull -complete -f -c git -n __fish_git_needs_command -a pull -d 'Fetch from and merge with another repository or a local branch' -complete -f -c git -n '__fish_git_using_command pull' -s q -l quiet -d 'Be quiet' -complete -f -c git -n '__fish_git_using_command pull' -s v -l verbose -d 'Be verbose' -# Options related to fetching -complete -f -c git -n '__fish_git_using_command pull' -l all -d 'Fetch all remotes' -complete -f -c git -n '__fish_git_using_command pull' -s a -l append -d 'Append ref names and object names' -complete -f -c git -n '__fish_git_using_command pull' -s f -l force -d 'Force update of local branches' -complete -f -c git -n '__fish_git_using_command pull' -s k -l keep -d 'Keep downloaded pack' -complete -f -c git -n '__fish_git_using_command pull' -l no-tags -d 'Disable automatic tag following' -complete -f -c git -n '__fish_git_using_command pull' -s p -l prune -d 'Remove remote-tracking references that no longer exist on the remote' -# TODO --upload-pack -complete -f -c git -n '__fish_git_using_command pull' -l progress -d 'Force progress status' -complete -f -c git -n '__fish_git_using_command pull; and not __fish_git_branch_for_remote' -a '(__fish_git_remotes)' -d 'Remote alias' -complete -f -c git -n '__fish_git_using_command pull; and __fish_git_branch_for_remote' -a '(__fish_git_branch_for_remote)' -# Options related to merging -complete -f -c git -n '__fish_git_using_command pull' -l commit -d "Autocommit the merge" -complete -f -c git -n '__fish_git_using_command pull' -l no-commit -d "Don't autocommit the merge" -complete -f -c git -n '__fish_git_using_command pull' -s e -l edit -d 'Edit auto-generated merge message' -complete -f -c git -n '__fish_git_using_command pull' -l no-edit -d "Don't edit auto-generated merge message" -complete -f -c git -n '__fish_git_using_command pull' -l ff -d "Don't generate a merge commit if merge is fast-forward" -complete -f -c git -n '__fish_git_using_command pull' -l no-ff -d "Generate a merge commit even if merge is fast-forward" -complete -f -c git -n '__fish_git_using_command pull' -l ff-only -d 'Refuse to merge unless fast-forward possible' -complete -f -c git -n '__fish_git_using_command pull' -s S -l gpg-sign -d 'GPG-sign the merge commit' -complete -f -c git -n '__fish_git_using_command pull' -l log -d 'Populate the log message with one-line descriptions' -complete -f -c git -n '__fish_git_using_command pull' -l no-log -d "Don't populate the log message with one-line descriptions" -complete -f -c git -n '__fish_git_using_command pull' -l signoff -d 'Add Signed-off-by line at the end of the merge commit message' -complete -f -c git -n '__fish_git_using_command pull' -l no-signoff -d 'Do not add a Signed-off-by line at the end of the merge commit message' -complete -f -c git -n '__fish_git_using_command pull' -l stat -d "Show diffstat of the merge" -complete -f -c git -n '__fish_git_using_command pull' -s n -l no-stat -d "Don't show diffstat of the merge" -complete -f -c git -n '__fish_git_using_command pull' -l squash -d "Squash changes from upstream branch as a single commit" -complete -f -c git -n '__fish_git_using_command pull' -l no-squash -d "Don't squash changes" -complete -x -c git -n '__fish_git_using_command pull' -s s -l strategy -d 'Use the given merge strategy' -complete -r -c git -n '__fish_git_using_command pull' -s X -l strategy-option -d 'Pass given option to the merge strategy' -complete -f -c git -n '__fish_git_using_command pull' -l verify-signatures -d 'Abort merge if upstream branch tip commit is not signed with a valid key' -complete -f -c git -n '__fish_git_using_command pull' -l no-verify-signatures -d 'Do not abort merge if upstream branch tip commit is not signed with a valid key' -complete -f -c git -n '__fish_git_using_command pull' -l allow-unrelated-histories -d 'Allow merging even when branches do not share a common history' -complete -f -c git -n '__fish_git_using_command pull' -s r -l rebase -d 'Rebase the current branch on top of the upstream branch' -complete -f -c git -n '__fish_git_using_command pull' -l no-rebase -d 'Do not rebase the current branch on top of the upstream branch' -complete -f -c git -n '__fish_git_using_command pull' -l autostash -d 'Before starting rebase, stash local changes, and apply stash when done' -complete -f -c git -n '__fish_git_using_command pull' -l no-autostash -d 'Do not stash local changes before starting rebase' -# TODO other options - -### range-diff -complete -f -c git -n __fish_git_needs_command -a range-diff -d 'Compare two commit ranges (e.g. two versions of a branch)' -complete -f -c git -n '__fish_git_using_command range-diff' -ka '(__fish_git_ranges)' -complete -f -c git -n '__fish_git_using_command range-diff' -l creation-factor -d 'Percentage by which creation is weighted' -complete -f -c git -n '__fish_git_using_command range-diff' -l no-dual-color -d 'Use simple diff colors' - - -### push -complete -f -c git -n __fish_git_needs_command -a push -d 'Update remote refs along with associated objects' -complete -f -c git -n '__fish_git_using_command push; and not __fish_git_branch_for_remote' -a '(__fish_git_remotes)' -d 'Remote alias' -complete -f -c git -n '__fish_git_using_command push; and __fish_git_branch_for_remote' -ka '(__fish_git_tags)' -d Tag -complete -f -c git -n '__fish_git_using_command push; and __fish_git_branch_for_remote' -ka '(__fish_git_branches)' -complete -f -c git -n '__fish_git_using_command push; and __fish_git_branch_for_remote' -ka '(__fish_git_heads)' -# The "refspec" here is an optional "+" to signify a force-push -complete -f -c git -n '__fish_git_using_command push; and __fish_git_branch_for_remote; and string match -q "+*" -- (commandline -ct)' -a '+(__fish_git_branches | string replace -r \t".*" "")' -d 'Force-push branch' -# git push REMOTE :BRANCH deletes BRANCH on remote REMOTE -complete -f -c git -n '__fish_git_using_command push; and __fish_git_branch_for_remote; and string match -q ":*" -- (commandline -ct)' -a ':(__fish_git_branch_for_remote | string replace -r \t".*" "")' -d 'Delete remote branch' -# then src:dest (where both src and dest are git objects, so we want to complete branches) -complete -f -c git -n '__fish_git_using_command push; and __fish_git_branch_for_remote; and string match -q "+*:*" -- (commandline -ct)' -a '(commandline -ct | string replace -r ":.*" ""):(__fish_git_branch_for_remote | string replace -r \t".*" "")' -d 'Force-push local branch to remote branch' -complete -f -c git -n '__fish_git_using_command push; and __fish_git_branch_for_remote; and string match -q "*:*" -- (commandline -ct)' -a '(commandline -ct | string replace -r ":.*" ""):(__fish_git_branch_for_remote | string replace -r \t".*" "")' -d 'Push local branch to remote branch' -complete -f -c git -n '__fish_git_using_command push' -l all -d 'Push all refs under refs/heads/' -complete -f -c git -n '__fish_git_using_command push' -l prune -d "Remove remote branches that don't have a local counterpart" -complete -f -c git -n '__fish_git_using_command push' -l mirror -d 'Push all refs under refs/' -complete -f -c git -n '__fish_git_using_command push' -l delete -d 'Delete all listed refs from the remote repository' -complete -f -c git -n '__fish_git_using_command push' -l tags -d 'Push all refs under refs/tags' -complete -f -c git -n '__fish_git_using_command push' -l follow-tags -d 'Push all usual refs plus the ones under refs/tags' -complete -f -c git -n '__fish_git_using_command push' -s n -l dry-run -d 'Do everything except actually send the updates' -complete -f -c git -n '__fish_git_using_command push' -l porcelain -d 'Produce machine-readable output' -complete -f -c git -n '__fish_git_using_command push' -s f -l force -d 'Force update of remote refs' -complete -f -c git -n '__fish_git_using_command push' -s f -l force-with-lease -d 'Force update of remote refs, stopping if other\'s changes would be overwritten' -complete -f -c git -n '__fish_git_using_command push' -s u -l set-upstream -d 'Add upstream (tracking) reference' -complete -f -c git -n '__fish_git_using_command push' -s q -l quiet -d 'Be quiet' -complete -f -c git -n '__fish_git_using_command push' -s v -l verbose -d 'Be verbose' -complete -f -c git -n '__fish_git_using_command push' -l progress -d 'Force progress status' -# TODO --recurse-submodules=check|on-demand - -### rebase -complete -f -c git -n __fish_git_needs_command -a rebase -d 'Forward-port local commits to the updated upstream head' -complete -f -c git -n '__fish_git_using_command rebase' -a '(__fish_git_remotes)' -d 'Remote alias' -complete -f -c git -n '__fish_git_using_command rebase' -a '(__fish_git_branches)' -complete -f -c git -n '__fish_git_using_command rebase' -a '(__fish_git_heads)' -d Head -complete -f -c git -n '__fish_git_using_command rebase' -a '(__fish_git_recent_commits)' -complete -f -c git -n '__fish_git_using_command rebase' -a '(__fish_git_tags)' -d Tag -complete -f -c git -n '__fish_git_using_command rebase; and __fish_git_is_rebasing' -l continue -d 'Restart the rebasing process' -complete -f -c git -n '__fish_git_using_command rebase; and __fish_git_is_rebasing' -l abort -d 'Abort the rebase operation' -complete -f -c git -n '__fish_git_using_command rebase; and __fish_git_is_rebasing' -l edit-todo -d 'Edit the todo list' -complete -f -c git -n '__fish_git_using_command rebase' -l keep-empty -d "Keep the commits that don't change anything" -complete -f -c git -n '__fish_git_using_command rebase; and __fish_git_is_rebasing' -l skip -d 'Restart the rebasing process by skipping the current patch' -complete -f -c git -n '__fish_git_using_command rebase' -s m -l merge -d 'Use merging strategies to rebase' -complete -f -c git -n '__fish_git_using_command rebase' -s q -l quiet -d 'Be quiet' -complete -f -c git -n '__fish_git_using_command rebase' -s v -l verbose -d 'Be verbose' -complete -f -c git -n '__fish_git_using_command rebase' -l stat -d "Show diffstat of the rebase" -complete -f -c git -n '__fish_git_using_command rebase' -s n -l no-stat -d "Don't show diffstat of the rebase" -complete -f -c git -n '__fish_git_using_command rebase' -l verify -d "Allow the pre-rebase hook to run" -complete -f -c git -n '__fish_git_using_command rebase' -l no-verify -d "Don't allow the pre-rebase hook to run" -complete -f -c git -n '__fish_git_using_command rebase' -s f -l force-rebase -d 'Force the rebase' -complete -f -c git -n '__fish_git_using_command rebase' -l committer-date-is-author-date -d "Use the author date as the committer date" -complete -f -c git -n '__fish_git_using_command rebase' -l ignore-date -d "Use the committer date as the author date" -complete -f -c git -n '__fish_git_using_command rebase' -s i -l interactive -d 'Interactive mode' -complete -f -c git -n '__fish_git_using_command rebase' -s p -l preserve-merges -d 'Try to recreate merges' -complete -f -c git -n '__fish_git_using_command rebase' -s r -l rebase-merges -a 'rebase-cousins no-rebase-cousins' -d 'Preserve branch structure' -complete -f -c git -n '__fish_git_using_command rebase' -l root -d 'Rebase all reachable commits' -complete -f -c git -n '__fish_git_using_command rebase' -l autosquash -d 'Automatic squashing' -complete -f -c git -n '__fish_git_using_command rebase' -l no-autosquash -d 'No automatic squashing' -complete -f -c git -n '__fish_git_using_command rebase' -l autostash -d 'Before starting rebase, stash local changes, and apply stash when done' -complete -f -c git -n '__fish_git_using_command rebase' -l no-autostash -d 'Do not stash local changes before starting rebase' -complete -f -c git -n '__fish_git_using_command rebase' -l no-ff -d 'No fast-forward' -# This actually takes script for $SHELL, but completing that is... complicated. -complete -r -c git -n '__fish_git_using_command rebase' -l exec -d 'Execute shellscript' - -### reflog -set -l reflogcommands show expire delete exists -complete -f -c git -n __fish_git_needs_command -a reflog -d 'Manage reflog information' -complete -f -c git -n '__fish_git_using_command reflog' -a '(__fish_git_branches)' -complete -f -c git -n '__fish_git_using_command reflog' -a '(__fish_git_heads)' -d Head - -complete -f -c git -n "__fish_git_using_command reflog; and not __fish_seen_subcommand_from $reflogcommands" -a "$reflogcommands" - -### reset -complete -c git -n __fish_git_needs_command -a reset -d 'Reset current HEAD to the specified state' -complete -f -c git -n '__fish_git_using_command reset' -l hard -d 'Reset the index and the working tree' -complete -f -c git -n '__fish_git_using_command reset' -l soft -d 'Reset head without touching the index or the working tree' -complete -f -c git -n '__fish_git_using_command reset' -l mixed -d 'The default: reset the index but not the working tree' -complete -c git -n '__fish_git_using_command reset; and not contains -- -- (commandline -opc)' -a '(__fish_git_branches)' -# reset can either undo changes to versioned modified files, -# or remove files from the staging area. -# Deleted files seem to need a "--" separator. -complete -f -c git -n '__fish_git_using_command reset; and not contains -- -- (commandline -opc)' -a '(__fish_git_files all-staged modified)' -complete -f -c git -n '__fish_git_using_command reset; and contains -- -- (commandline -opc)' -a '(__fish_git_files all-staged deleted modified)' -complete -f -c git -n '__fish_git_using_command reset; and not contains -- -- (commandline -opc)' -a '(__fish_git_reflog)' -d Reflog -# TODO options - -### restore and switch -# restore options -complete -f -c git -n __fish_git_needs_command -a restore -d 'Restore working tree files' -complete -f -c git -n '__fish_git_using_command restore' -r -s s -l source -d 'Specify the source tree used to restore the working tree' -k -a '(__fish_git_refs)' -complete -f -c git -n '__fish_git_using_command restore' -s p -l patch -d 'Interactive mode' -complete -f -c git -n '__fish_git_using_command restore' -s W -l worktree -d 'Restore working tree (default)' -complete -f -c git -n '__fish_git_using_command restore' -s S -l staged -d 'Restore the index' -complete -f -c git -n '__fish_git_using_command restore' -l ours -d 'When restoring files, use stage #2 (ours)' -complete -f -c git -n '__fish_git_using_command restore' -l theirs -d 'When restoring files, use stage #3 (theirs)' -complete -f -c git -n '__fish_git_using_command restore' -s m -l merge -d 'Recreate the conflicted merge in the unmerged paths when restoring files' -complete -f -c git -n '__fish_git_using_command restore' -l ignore-unmerged -d 'When restoring files, do not abort the operation if there are unmerged entries' -complete -f -c git -n '__fish_git_using_command restore' -l ignore-skip-worktree-bits -d 'Ignore the sparse-checkout file and unconditionally restore any files in <pathspec>' -complete -f -c git -n '__fish_git_using_command restore' -l overlay -d 'Never remove files when restoring' -complete -f -c git -n '__fish_git_using_command restore' -l no-overlay -d 'Remove files when restoring (default)' -complete -f -c git -n '__fish_git_using_command restore; and not contains -- --staged (commandline -opc)' -a '(__fish_git_files modified deleted modified-staged-deleted unmerged)' -complete -f -c git -n '__fish_git_using_command restore; and contains -- --staged (commandline -opc)' -a '(__fish_git_files added modified-staged deleted-staged renamed copied)' -complete -F -c git -n '__fish_git_using_command restore; and __fish_contains_opt -s s source' -# switch options -complete -f -c git -n __fish_git_needs_command -a switch -d 'Switch to a branch' -complete -k -f -c git -n '__fish_git_using_command switch' -a '(__fish_git_unique_remote_branches)' -d 'Unique Remote Branch' -complete -k -f -c git -n '__fish_git_using_command switch' -a '(__fish_git_local_branches)' -complete -f -c git -n '__fish_git_using_command switch' -r -s c -l create -d 'Create a new branch' -complete -f -c git -n '__fish_git_using_command switch' -r -s C -l force-create -d 'Force create a new branch' -complete -f -c git -n '__fish_git_using_command switch' -s d -l detach -d 'Switch to a commit for inspection and discardable experiment' -k -ra '(__fish_git_refs)' -complete -f -c git -n '__fish_git_using_command switch' -l guess -d 'Guess branch name from remote branch (default)' -complete -f -c git -n '__fish_git_using_command switch' -l no-guess -d 'Do not guess branch name from remote branch' -complete -f -c git -n '__fish_git_using_command switch' -s f -l force -l discard-changes -d 'Proceed even if the index or the working tree differs from HEAD' -complete -f -c git -n '__fish_git_using_command switch' -s m -l merge -d 'Merge the current branch and contents of the working tree into a new branch' -complete -f -c git -n '__fish_git_using_command switch' -s t -l track -d 'Track remote branch when creating a new branch' -complete -f -c git -n '__fish_git_using_command switch' -l no-track -d 'Do not track remote branch when creating a new branch' -complete -f -c git -n '__fish_git_using_command switch' -r -l orphan -d 'Create a new orphan branch' -complete -f -c git -n '__fish_git_using_command switch' -l ignore-other-worktrees -d 'Force check out of the reference' -complete -f -c git -n '__fish_git_using_command switch' -l recurse-submodules -d 'Update the work trees of submodules' -complete -f -c git -n '__fish_git_using_command switch' -l no-recurse-submodules -d 'Do not update the work trees of submodules' -# common options -complete -f -c git -n '__fish_git_using_command restore switch' -s q -l quiet -d 'Suppress messages' -complete -f -c git -n '__fish_git_using_command restore switch' -l progress -d 'Report progress status to stderr (default)' -complete -f -c git -n '__fish_git_using_command restore switch' -l no-progress -d 'Do not report progress status to stderr' -complete -f -c git -n '__fish_git_using_command restore switch' -l 'conflict=merge' -d 'Same as --merge, but specify \'merge\' as the conflicting hunk style (default)' -complete -f -c git -n '__fish_git_using_command restore switch' -l 'conflict=diff3' -d 'Same as --merge, but specify \'diff3\' as the conflicting hunk style' - -### rev-parse -complete -f -c git -n __fish_git_needs_command -a rev-parse -d 'Pick out and massage parameters' -complete -f -c git -n '__fish_git_using_command rev-parse' -a '(__fish_git_branches)' -complete -f -c git -n '__fish_git_using_command rev-parse' -a '(__fish_git_heads)' -d Head -complete -k -c git -n '__fish_git_using_command rev-parse' -a '(__fish_git_tags)' -d Tag -complete -c git -n '__fish_git_using_command rev-parse' -l abbrev-ref -d 'Output non-ambiguous short object names' - -### revert -complete -f -c git -n __fish_git_needs_command -a revert -d 'Revert an existing commit' -complete -f -c git -n '__fish_git_using_command revert' -ka '(__fish_git_commits)' -complete -f -c git -n '__fish_git_using_command revert' -l continue -d 'Continue the operation in progress' -complete -f -c git -n '__fish_git_using_command revert' -l abort -d 'Cancel the operation' -complete -f -c git -n '__fish_git_using_command revert' -l skip -d 'Skip the current commit and continue with the rest of the sequence' -# TODO options - -### rm -complete -c git -n __fish_git_needs_command -a rm -d 'Remove files from the working tree and the index' -complete -c git -n '__fish_git_using_command rm' -l cached -d 'Unstage files from the index' -complete -c git -n '__fish_git_using_command rm; and __fish_contains_opt cached' -f -a '(__fish_git_files all-staged)' -complete -c git -n '__fish_git_using_command rm' -l ignore-unmatch -d 'Exit with a zero status even if no files matched' -complete -c git -n '__fish_git_using_command rm' -s r -d 'Allow recursive removal' -complete -c git -n '__fish_git_using_command rm' -s q -l quiet -d 'Be quiet' -complete -c git -n '__fish_git_using_command rm' -s f -l force -d 'Override the up-to-date check' -complete -c git -n '__fish_git_using_command rm' -s n -l dry-run -d 'Dry run' -# TODO options - -### status -complete -f -c git -n __fish_git_needs_command -a status -d 'Show the working tree status' -complete -f -c git -n '__fish_git_using_command status' -s s -l short -d 'Give the output in the short-format' -complete -f -c git -n '__fish_git_using_command status' -s b -l branch -d 'Show the branch and tracking info even in short-format' -complete -f -c git -n '__fish_git_using_command status' -l porcelain -d 'Give the output in a stable, easy-to-parse format' -complete -f -c git -n '__fish_git_using_command status' -s z -d 'Terminate entries with null character' -complete -f -c git -n '__fish_git_using_command status' -s u -l untracked-files -x -a 'no normal all' -d 'The untracked files handling mode' -complete -f -c git -n '__fish_git_using_command status' -l ignore-submodules -x -a 'none untracked dirty all' -d 'Ignore changes to submodules' -# TODO options - -### stripspace -complete -f -c git -n __fish_git_needs_command -a stripspace -d 'Remove unnecessary whitespace' -complete -f -c git -n '__fish_git_using_command stripspace' -s s -l strip-comments -d 'Strip all lines starting with comment character' -complete -f -c git -n '__fish_git_using_command stripspace' -s c -l comment-lines -d 'Prepend comment character to each line' - -### tag -complete -f -c git -n __fish_git_needs_command -a tag -d 'Create, list, delete or verify a tag object signed with GPG' -complete -f -c git -n '__fish_git_using_command tag; and __fish_not_contain_opt -s d; and __fish_not_contain_opt -s v; and test (count (commandline -opc | string match -r -v \'^-\')) -eq 3' -a '(__fish_git_branches)' -complete -f -c git -n '__fish_git_using_command tag' -s a -l annotate -d 'Make an unsigned, annotated tag object' -complete -f -c git -n '__fish_git_using_command tag' -s s -l sign -d 'Make a GPG-signed tag' -complete -f -c git -n '__fish_git_using_command tag' -s d -l delete -d 'Remove a tag' -complete -f -c git -n '__fish_git_using_command tag' -s v -l verify -d 'Verify signature of a tag' -complete -f -c git -n '__fish_git_using_command tag' -s f -l force -d 'Force overwriting existing tag' -complete -f -c git -n '__fish_git_using_command tag' -s l -l list -d 'List tags' -complete -f -c git -n '__fish_git_using_command tag' -l contains -xka '(__fish_git_commits)' -d 'List tags that contain a commit' -complete -f -c git -n '__fish_git_using_command tag; and __fish_contains_opt -s d delete -s v verify' -a '(__fish_git_tags)' -d Tag -# TODO options - -### worktree -set -l git_worktree_commands add list lock move prune remove unlock -complete -c git -n __fish_git_needs_command -a worktree -d 'Manage multiple working trees' -complete -f -c git -n "__fish_git_using_command worktree; and not __fish_seen_subcommand_from $git_worktree_commands" -a add -d 'Create a working tree' -complete -f -c git -n "__fish_git_using_command worktree; and not __fish_seen_subcommand_from $git_worktree_commands" -a list -d 'List details of each worktree' -complete -f -c git -n "__fish_git_using_command worktree; and not __fish_seen_subcommand_from $git_worktree_commands" -a lock -d 'Lock a working tree' -complete -f -c git -n "__fish_git_using_command worktree; and not __fish_seen_subcommand_from $git_worktree_commands" -a move -d 'Move a working tree to a new location' -complete -f -c git -n "__fish_git_using_command worktree; and not __fish_seen_subcommand_from $git_worktree_commands" -a prune -d 'Prune working tree information in $GIT_DIR/worktrees' -complete -f -c git -n "__fish_git_using_command worktree; and not __fish_seen_subcommand_from $git_worktree_commands" -a remove -d 'Remove a working tree' -complete -f -c git -n "__fish_git_using_command worktree; and not __fish_seen_subcommand_from $git_worktree_commands" -a unlock -d 'Unlock a working tree' - -complete -f -c git -n '__fish_git_using_command worktree; and __fish_seen_subcommand_from add move remove' -s f -l force -d 'Override safeguards' - -complete -c git -n '__fish_git_using_command worktree; and __fish_seen_subcommand_from add' -complete -k -c git -n '__fish_git_using_command worktree; and __fish_seen_subcommand_from add' -a '(__fish_git_branches)' -complete -k -c git -n '__fish_git_using_command worktree; and __fish_seen_subcommand_from add' -a '(__fish_git_heads)' -d Head -complete -k -c git -n '__fish_git_using_command worktree; and __fish_seen_subcommand_from add' -a '(__fish_git_tags)' -d Tag -complete -k -c git -n '__fish_git_using_command worktree; and __fish_seen_subcommand_from add' -a '(__fish_git_unique_remote_branches)' -d 'Unique Remote Branch' -complete -k -c git -n '__fish_git_using_command worktree; and __fish_seen_subcommand_from add' -a '(__fish_git_local_branches)' -complete -x -c git -n '__fish_git_using_command worktree; and __fish_seen_subcommand_from add' -s b -d 'Create a new branch' -complete -x -c git -n '__fish_git_using_command worktree; and __fish_seen_subcommand_from add' -s B -d 'Create a new branch even if it already exists' -complete -f -c git -n '__fish_git_using_command worktree; and __fish_seen_subcommand_from add' -l detach -d 'Detach HEAD in the new working tree' -complete -f -c git -n '__fish_git_using_command worktree; and __fish_seen_subcommand_from add' -l checkout -d 'Checkout <commit-ish> after creating working tree' -complete -f -c git -n '__fish_git_using_command worktree; and __fish_seen_subcommand_from add' -l no-checkout -d 'Suppress checkout' -complete -f -c git -n '__fish_git_using_command worktree; and __fish_seen_subcommand_from add' -l guess-remote -complete -f -c git -n '__fish_git_using_command worktree; and __fish_seen_subcommand_from add' -l no-guess-remote -complete -f -c git -n '__fish_git_using_command worktree; and __fish_seen_subcommand_from add' -l track -d 'Mark <commit-ish> as "upstream" from the new branch' -complete -f -c git -n '__fish_git_using_command worktree; and __fish_seen_subcommand_from add' -l no-track -d 'Don\'t mark <commit-ish> as "upstream" from the new branch' -complete -f -c git -n '__fish_git_using_command worktree; and __fish_seen_subcommand_from add' -l lock -d 'Lock working tree after creation' -complete -f -c git -n '__fish_git_using_command worktree; and __fish_seen_subcommand_from add' -s q -l quiet -d 'Suppress feedback messages' -complete -f -c git -n '__fish_git_using_command worktree; and __fish_seen_subcommand_from list' -l porcelain -d 'Output in an easy-to-parse format for scripts' -complete -f -c git -n '__fish_git_using_command worktree; and __fish_seen_subcommand_from lock' -a '(__fish_git_complete_worktrees)' -d Worktree -complete -x -c git -n '__fish_git_using_command worktree; and __fish_seen_subcommand_from lock' -l reason -d 'An explanation why the working tree is locked' -complete -x -c git -n '__fish_git_using_command worktree; and __fish_seen_subcommand_from move; and not __fish_any_arg_in (__fish_git_complete_worktrees)' -a '(__fish_git_complete_worktrees)' -d Worktree -complete -x -c git -n '__fish_git_using_command worktree; and __fish_seen_subcommand_from move; and __fish_any_arg_in (__fish_git_complete_worktrees)' -a '(__fish_complete_directories)' -complete -f -c git -n '__fish_git_using_command worktree; and __fish_seen_subcommand_from prune' -s n -l dry-run -d 'Do not remove anything' -complete -f -c git -n '__fish_git_using_command worktree; and __fish_seen_subcommand_from prune' -s v -l verbose -d 'Report all removals' -complete -x -c git -n '__fish_git_using_command worktree; and __fish_seen_subcommand_from prune' -l expire -d 'Only expire unused working trees older than <time>' -complete -f -c git -n '__fish_git_using_command worktree; and __fish_seen_subcommand_from remove' -a '(__fish_git_complete_worktrees)' -d Worktree -complete -f -c git -n '__fish_git_using_command worktree; and __fish_seen_subcommand_from unlock' -a '(__fish_git_complete_worktrees)' -d Worktree - -### stash -complete -c git -n __fish_git_needs_command -a stash -d 'Stash away changes' -complete -f -c git -n '__fish_git_using_command stash; and __fish_git_stash_not_using_subcommand' -a list -d 'List stashes' -complete -f -c git -n '__fish_git_using_command stash; and __fish_git_stash_not_using_subcommand' -a show -d 'Show the changes recorded in the stash' -complete -f -c git -n '__fish_git_using_command stash; and __fish_git_stash_not_using_subcommand' -a pop -d 'Apply and remove a single stashed state' -complete -f -c git -n '__fish_git_using_command stash; and __fish_git_stash_not_using_subcommand' -a apply -d 'Apply a single stashed state' -complete -f -c git -n '__fish_git_using_command stash; and __fish_git_stash_not_using_subcommand' -a clear -d 'Remove all stashed states' -complete -f -c git -n '__fish_git_using_command stash; and __fish_git_stash_not_using_subcommand' -a drop -d 'Remove a single stashed state from the stash list' -complete -f -c git -n '__fish_git_using_command stash; and __fish_git_stash_not_using_subcommand' -a create -d 'Create a stash' -complete -f -c git -n '__fish_git_using_command stash; and __fish_git_stash_not_using_subcommand' -a save -d 'Save a new stash' -complete -f -c git -n '__fish_git_using_command stash; and __fish_git_stash_not_using_subcommand' -a branch -d 'Create a new branch from a stash' -complete -f -c git -n '__fish_git_using_command stash; and __fish_git_stash_not_using_subcommand' -a push -d 'Create a new stash with given files' - -complete -f -c git -n '__fish_git_stash_using_command apply' -a '(__fish_git_complete_stashes)' -complete -f -c git -n '__fish_git_stash_using_command branch' -a '(__fish_git_complete_stashes)' -complete -f -c git -n '__fish_git_stash_using_command drop' -a '(__fish_git_complete_stashes)' -complete -f -c git -n '__fish_git_stash_using_command pop' -a '(__fish_git_complete_stashes)' -complete -f -c git -n '__fish_git_stash_using_command show' -a '(__fish_git_complete_stashes)' - -complete -f -c git -n '__fish_git_stash_using_command push' -a '(__fish_git_files modified deleted modified-staged-deleted)' -complete -f -c git -n '__fish_git_stash_using_command push' -s p -l patch -d 'Interactively select hunks' -complete -f -c git -n '__fish_git_stash_using_command push' -s m -l message -d 'Add a description' - -### config -complete -f -c git -n __fish_git_needs_command -a config -d 'Set and read git configuration variables' -# TODO options - -### format-patch -complete -f -c git -n __fish_git_needs_command -a format-patch -d 'Generate patch series to send upstream' -complete -f -c git -n '__fish_git_using_command format-patch' -a '(__fish_git_branches)' -complete -c git -n '__fish_git_using_command format-patch' -s o -l output-directory -xa '(__fish_complete_directories)' -complete -f -c git -n '__fish_git_using_command format-patch' -s p -l no-stat -d "Generate plain patches without diffstat" -complete -f -c git -n '__fish_git_using_command format-patch' -s s -l no-patch -d "Suppress diff output" -complete -f -c git -n '__fish_git_using_command format-patch' -l minimal -d "Spend more time to create smaller diffs" -complete -f -c git -n '__fish_git_using_command format-patch' -l patience -d "Generate diff with the 'patience' algorithm" -complete -f -c git -n '__fish_git_using_command format-patch' -l histogram -d "Generate diff with the 'histogram' algorithm" -complete -f -c git -n '__fish_git_using_command format-patch' -l stdout -d "Print all commits to stdout in mbox format" -complete -f -c git -n '__fish_git_using_command format-patch' -l numstat -d "Show number of added/deleted lines in decimal notation" -complete -f -c git -n '__fish_git_using_command format-patch' -l shortstat -d "Output only last line of the stat" -complete -f -c git -n '__fish_git_using_command format-patch' -l summary -d "Output a condensed summary of extended header information" -complete -f -c git -n '__fish_git_using_command format-patch' -l no-renames -d "Disable rename detection" -complete -f -c git -n '__fish_git_using_command format-patch' -l full-index -d "Show full blob object names" -complete -f -c git -n '__fish_git_using_command format-patch' -l binary -d "Output a binary diff for use with git apply" -complete -f -c git -n '__fish_git_using_command format-patch log' -l find-copies-harder -d "Also inspect unmodified files as source for a copy" -complete -f -c git -n '__fish_git_using_command format-patch' -l text -s a -d "Treat all files as text" -complete -f -c git -n '__fish_git_using_command format-patch log' -l ignore-space-at-eol -d "Ignore changes in whitespace at EOL" -complete -f -c git -n '__fish_git_using_command format-patch log' -l ignore-space-change -s b -d "Ignore changes in amount of whitespace" -complete -f -c git -n '__fish_git_using_command format-patch log' -l ignore-all-space -s w -d "Ignore whitespace when comparing lines" -complete -f -c git -n '__fish_git_using_command format-patch log' -l ignore-blank-lines -d "Ignore changes whose lines are all blank" -complete -f -c git -n '__fish_git_using_command format-patch log' -l function-context -s W -d "Show whole surrounding functions of changes" -complete -f -c git -n '__fish_git_using_command format-patch log' -l ext-diff -d "Allow an external diff helper to be executed" -complete -f -c git -n '__fish_git_using_command format-patch log' -l no-ext-diff -d "Disallow external diff helpers" -complete -f -c git -n '__fish_git_using_command format-patch log' -l no-textconv -d "Disallow external text conversion filters for binary files (Default)" -complete -f -c git -n '__fish_git_using_command format-patch log' -l textconv -d "Allow external filters for binary files (Resulting diff is unappliable)" -complete -f -c git -n '__fish_git_using_command format-patch log' -l no-prefix -d "Do not show source or destination prefix" -complete -f -c git -n '__fish_git_using_command format-patch' -l numbered -s n -d "Name output in [Patch n/m] format, even with a single patch" -complete -f -c git -n '__fish_git_using_command format-patch' -l no-numbered -s N -d "Name output in [Patch] format, even with multiple patches" - - -## git submodule -set -l submodulecommands add status init deinit update set-branch set-url summary foreach sync absorbgitdirs -complete -f -c git -n __fish_git_needs_command -a submodule -d 'Initialize, update or inspect submodules' -complete -f -c git -n "__fish_git_using_command submodule; and not __fish_seen_subcommand_from $submodulecommands" -a add -d 'Add a submodule' -complete -f -c git -n "__fish_git_using_command submodule; and not __fish_seen_subcommand_from $submodulecommands" -a status -d 'Show submodule status' -complete -f -c git -n "__fish_git_using_command submodule; and not __fish_seen_subcommand_from $submodulecommands" -a init -d 'Initialize all submodules' -complete -f -c git -n "__fish_git_using_command submodule; and not __fish_seen_subcommand_from $submodulecommands" -a deinit -d 'Unregister the given submodules' -complete -f -c git -n "__fish_git_using_command submodule; and not __fish_seen_subcommand_from $submodulecommands" -a update -d 'Update all submodules' -complete -x -c git -n "__fish_git_using_command submodule; and not __fish_seen_subcommand_from $submodulecommands" -a set-branch -d 'Sets the default remote tracking branch for the submodule' -complete -f -c git -n "__fish_git_using_command submodule; and not __fish_seen_subcommand_from $submodulecommands" -a set-url -d 'Sets the URL of the specified submodule' -complete -f -c git -n "__fish_git_using_command submodule; and not __fish_seen_subcommand_from $submodulecommands" -a summary -d 'Show commit summary' -complete -f -c git -n "__fish_git_using_command submodule; and not __fish_seen_subcommand_from $submodulecommands" -a foreach -d 'Run command on each submodule' -complete -f -c git -n "__fish_git_using_command submodule; and not __fish_seen_subcommand_from $submodulecommands" -a sync -d 'Sync submodules\' URL with .gitmodules' -complete -f -c git -n "__fish_git_using_command submodule; and not __fish_seen_subcommand_from $submodulecommands" -a absorbgitdirs -d 'Move submodule\'s git directory to current .git/module directory' -complete -f -c git -n "__fish_git_using_command submodule; and not __fish_seen_subcommand_from $submodulecommands" -s q -l quiet -d "Only print error messages" -complete -f -c git -n '__fish_git_using_command submodule; and __fish_seen_subcommand_from update' -l init -d "Initialize all submodules" -complete -f -c git -n '__fish_git_using_command submodule; and __fish_seen_subcommand_from update' -l checkout -d "Checkout the superproject's commit on a detached HEAD in the submodule" -complete -f -c git -n '__fish_git_using_command submodule; and __fish_seen_subcommand_from update' -l merge -d "Merge the superproject's commit into the current branch of the submodule" -complete -f -c git -n '__fish_git_using_command submodule; and __fish_seen_subcommand_from update' -l rebase -d "Rebase current branch onto the superproject's commit" -complete -f -c git -n '__fish_git_using_command submodule; and __fish_seen_subcommand_from update' -s N -l no-fetch -d "Don't fetch new objects from the remote" -complete -f -c git -n '__fish_git_using_command submodule; and __fish_seen_subcommand_from update' -l remote -d "Instead of using superproject's SHA-1, use the state of the submodule's remote-tracking branch" -complete -f -c git -n '__fish_git_using_command submodule; and __fish_seen_subcommand_from update' -l force -d "Discard local changes when switching to a different commit & always run checkout" -complete -f -c git -n '__fish_git_using_command submodule; and __fish_seen_subcommand_from add' -l force -d "Also add ignored submodule path" -complete -f -c git -n '__fish_git_using_command submodule; and __fish_seen_subcommand_from deinit' -l force -d "Remove even with local changes" -complete -f -c git -n '__fish_git_using_command submodule; and __fish_seen_subcommand_from deinit' -l all -d "Remove all submodules" -complete -f -c git -n '__fish_git_using_command submodule; and __fish_seen_subcommand_from deinit; and not contains -- -- (commandline -opc)' -a '(__fish_git_submodules)' -d Submodule -complete -f -c git -n '__fish_git_using_command submodule; and __fish_seen_subcommand_from set-branch' -s b -l branch -d "Specify the branch to use" -complete -f -c git -n '__fish_git_using_command submodule; and __fish_seen_subcommand_from set-branch' -s d -l default -d "Use default branch of the submodule" -complete -f -c git -n '__fish_git_using_command submodule; and __fish_seen_subcommand_from status summary' -l cached -d "Use the commit stored in the index" -complete -f -c git -n '__fish_git_using_command submodule; and __fish_seen_subcommand_from status; and not contains -- -- (commandline -opc)' -a '(__fish_git_submodules)' -d Submodule -complete -f -c git -n '__fish_git_using_command submodule; and __fish_seen_subcommand_from summary' -l files -d "Compare the commit in the index with submodule HEAD" -complete -f -c git -n '__fish_git_using_command submodule; and __fish_seen_subcommand_from foreach update status' -l recursive -d "Traverse submodules recursively" -complete -f -c git -n '__fish_git_using_command submodule; and __fish_seen_subcommand_from foreach' -a "(__fish_complete_subcommand --fcs-skip=3)" - -## git whatchanged -complete -f -c git -n __fish_git_needs_command -a whatchanged -d 'Show logs with difference each commit introduces' - -## Aliases (custom user-defined commands) -complete -c git -n __fish_git_needs_command -a '(__fish_git_aliases)' - -### git clean -complete -f -c git -n __fish_git_needs_command -a clean -d 'Remove untracked files from the working tree' -complete -f -c git -n '__fish_git_using_command clean' -s f -l force -d 'Force run' -complete -f -c git -n '__fish_git_using_command clean' -s i -l interactive -d 'Show what would be done and clean files interactively' -complete -f -c git -n '__fish_git_using_command clean' -s n -l dry-run -d 'Don\'t actually remove anything, just show what would be done' -complete -f -c git -n '__fish_git_using_command clean' -s q -l quiet -d 'Be quiet, only report errors' -complete -f -c git -n '__fish_git_using_command clean' -s d -d 'Remove untracked directories in addition to untracked files' -complete -f -c git -n '__fish_git_using_command clean' -s x -d 'Remove ignored files, as well' -complete -f -c git -n '__fish_git_using_command clean' -s X -d 'Remove only ignored files' -# TODO -e option - -### git blame -complete -f -c git -n __fish_git_needs_command -a blame -d 'Show what revision and author last modified each line of a file' -complete -f -c git -n '__fish_git_using_command blame' -s b -d 'Show blank SHA-1 for boundary commits' -complete -f -c git -n '__fish_git_using_command blame' -l root -d 'Do not treat root commits as boundaries' -complete -f -c git -n '__fish_git_using_command blame' -l show-stats -d 'Include additional statistics' -complete -f -c git -n '__fish_git_using_command blame' -s L -d 'Annotate only the given line range' -complete -f -c git -n '__fish_git_using_command blame' -s l -d 'Show long rev' -complete -f -c git -n '__fish_git_using_command blame' -s t -d 'Show raw timestamp' -complete -r -c git -n '__fish_git_using_command blame' -s S -d 'Use revisions from named file instead of calling rev-list' -complete -f -c git -n '__fish_git_using_command blame' -l reverse -d 'Walk history forward instead of backward' -complete -f -c git -n '__fish_git_using_command blame' -s p -l porcelain -d 'Show in a format designed for machine consumption' -complete -f -c git -n '__fish_git_using_command blame' -l line-porcelain -d 'Show the porcelain format' -complete -f -c git -n '__fish_git_using_command blame' -l incremental -d 'Show the result incrementally' -complete -r -c git -n '__fish_git_using_command blame' -l contents -d 'Instead of working tree, use the contents of the named file' -complete -x -c git -n '__fish_git_using_command blame' -l date -d 'Specifies the format used to output dates' -complete -f -c git -n '__fish_git_using_command blame' -s M -d 'Detect moved or copied lines within a file' -complete -f -c git -n '__fish_git_using_command blame' -s C -d 'Detect lines moved or copied from other files modified in the same commit' -complete -f -c git -n '__fish_git_using_command blame' -s h -d 'Show help message' -complete -f -c git -n '__fish_git_using_command blame' -s c -d 'Use the same output mode as git-annotate' -complete -f -c git -n '__fish_git_using_command blame' -s f -l show-name -d 'Show the filename in the original commit' -complete -f -c git -n '__fish_git_using_command blame' -s n -l show-number -d 'Show the line number in the original commit' -complete -f -c git -n '__fish_git_using_command blame' -s s -d 'Suppress the author name and timestamp from the output' -complete -f -c git -n '__fish_git_using_command blame' -s e -l show-email -d 'Show the author email instead of author name' -complete -f -c git -n '__fish_git_using_command blame' -s w -d 'Ignore whitespace changes' - -### help -complete -f -c git -n __fish_git_needs_command -a help -d 'Display help information about Git' -complete -f -c git -n '__fish_git_using_command help' -a '(__fish_git_help_all_concepts)' -complete -f -c git -n '__fish_git_using_command help' -a add -d 'Add file contents to the index' -complete -f -c git -n '__fish_git_using_command help' -a am -d 'Apply a series of patches from a mailbox' -complete -f -c git -n '__fish_git_using_command help' -a apply -d 'Apply a patch on a git index file and a working tree' -complete -f -c git -n '__fish_git_using_command help' -a archive -d 'Create an archive of files from a named tree' -complete -f -c git -n '__fish_git_using_command help' -a bisect -d 'Find the change that introduced a bug by binary search' -complete -f -c git -n '__fish_git_using_command help' -a blame -d 'Show what revision and author last modified each line of a file' -complete -f -c git -n '__fish_git_using_command help' -a branch -d 'List, create, or delete branches' -complete -f -c git -n '__fish_git_using_command help' -a checkout -d 'Checkout and switch to a branch' -complete -f -c git -n '__fish_git_using_command help' -a cherry-pick -d 'Apply the change introduced by an existing commit' -complete -f -c git -n '__fish_git_using_command help' -a clean -d 'Remove untracked files from the working tree' -complete -f -c git -n '__fish_git_using_command help' -a clone -d 'Clone a repository into a new directory' -complete -f -c git -n '__fish_git_using_command help' -a commit -d 'Record changes to the repository' -complete -f -c git -n '__fish_git_using_command help' -a config -d 'Set and read git configuration variables' -complete -f -c git -n '__fish_git_using_command help' -a count-objects -d 'Count unpacked number of objects and their disk consumption' -complete -f -c git -n '__fish_git_using_command help' -a describe -d 'Give an object a human-readable name' -complete -f -c git -n '__fish_git_using_command help' -a diff -d 'Show changes between commits, commit and working tree, etc' -complete -f -c git -n '__fish_git_using_command help' -a daemon -d 'A really simple server for Git repositories' -complete -f -c git -n '__fish_git_using_command help' -a difftool -d 'Open diffs in a visual tool' -complete -f -c git -n '__fish_git_using_command help' -a fetch -d 'Download objects and refs from another repository' -complete -f -c git -n '__fish_git_using_command help' -a filter-branch -d 'Rewrite branches' -complete -f -c git -n '__fish_git_using_command help' -a format-patch -d 'Generate patch series to send upstream' -complete -f -c git -n '__fish_git_using_command help' -a gc -d 'Cleanup unnecessary files and optimize the local repository' -complete -f -c git -n '__fish_git_using_command help' -a grep -d 'Print lines matching a pattern' -complete -f -c git -n '__fish_git_using_command help' -a init -d 'Create an empty git repository or reinitialize an existing one' -complete -f -c git -n '__fish_git_using_command help' -a log -d 'Show commit logs' -complete -f -c git -n '__fish_git_using_command help' -a ls-files -d 'Show information about files in the index and the working tree' -complete -f -c git -n '__fish_git_using_command help' -a mailinfo -d 'Extracts patch and authorship from a single e-mail message' -complete -f -c git -n '__fish_git_using_command help' -a mailsplit -d 'Simple UNIX mbox splitter program' -complete -f -c git -n '__fish_git_using_command help' -a maintenance -d 'Run tasks to optimize Git repository data' -complete -f -c git -n '__fish_git_using_command help' -a merge -d 'Join two or more development histories together' -complete -f -c git -n '__fish_git_using_command help' -a merge-base -d 'Find as good common ancestors as possible for a merge' -complete -f -c git -n '__fish_git_using_command help' -a mergetool -d 'Run merge conflict resolution tools to resolve merge conflicts' -complete -f -c git -n '__fish_git_using_command help' -a mv -d 'Move or rename a file, a directory, or a symlink' -complete -f -c git -n '__fish_git_using_command help' -a notes -d 'Add or inspect object notes' -complete -f -c git -n '__fish_git_using_command help' -a prune -d 'Prune all unreachable objects from the object database' -complete -f -c git -n '__fish_git_using_command help' -a pull -d 'Fetch from and merge with another repository or a local branch' -complete -f -c git -n '__fish_git_using_command help' -a push -d 'Update remote refs along with associated objects' -complete -f -c git -n '__fish_git_using_command help' -a range-diff -d 'Compare two commit ranges (e.g. two versions of a branch)' -complete -f -c git -n '__fish_git_using_command help' -a rebase -d 'Forward-port local commits to the updated upstream head' -complete -f -c git -n '__fish_git_using_command help' -a reflog -d 'Manage reflog information' -complete -f -c git -n '__fish_git_using_command help' -a remote -d 'Manage set of tracked repositories' -complete -f -c git -n '__fish_git_using_command help' -a reset -d 'Reset current HEAD to the specified state' -complete -f -c git -n '__fish_git_using_command help' -a restore -d 'Restore working tree files' -complete -f -c git -n '__fish_git_using_command help' -a revert -d 'Revert an existing commit' -complete -f -c git -n '__fish_git_using_command help' -a rev-parse -d 'Pick out and massage parameters' -complete -f -c git -n '__fish_git_using_command help' -a rm -d 'Remove files from the working tree and from the index' -complete -f -c git -n '__fish_git_using_command help' -a show -d 'Shows the last commit of a branch' -complete -f -c git -n '__fish_git_using_command help' -a show-branch -d 'Shows the commits on branches' -complete -f -c git -n '__fish_git_using_command help' -a stash -d 'Stash away changes' -complete -f -c git -n '__fish_git_using_command help' -a status -d 'Show the working tree status' -complete -f -c git -n '__fish_git_using_command help' -a submodule -d 'Initialize, update or inspect submodules' -complete -f -c git -n '__fish_git_using_command help' -a stripspace -d 'Remove unnecessary whitespace' -complete -f -c git -n '__fish_git_using_command help' -a switch -d 'Switch to a branch' -complete -f -c git -n '__fish_git_using_command help' -a tag -d 'Create, list, delete or verify a tag object signed with GPG' -complete -f -c git -n '__fish_git_using_command help' -a whatchanged -d 'Show logs with difference each commit introduces' -complete -f -c git -n '__fish_git_using_command help' -a worktree -d 'Manage multiple working trees' - -# Complete both options and possible parameters to `git config` -complete -f -c git -n '__fish_git_using_command config' -l global -d 'Get/set global configuration' -complete -f -c git -n '__fish_git_using_command config' -l system -d 'Get/set system configuration' -complete -f -c git -n '__fish_git_using_command config' -l local -d 'Get/set local repo configuration' -complete -F -c git -n '__fish_git_using_command config' -s f -l file -d 'Read config from file' -r -complete -F -c git -n '__fish_git_using_command config' -l blob -d 'Read config from blob' -r - -# If no argument is specified, it's as if --get was used -# Use -k with `__fish_git_config_keys` so that user defined values are shown first -complete -c git -n '__fish_git_using_command config; and __fish_is_nth_token 2' -kfa '(__fish_git_config_keys)' -complete -f -c git -n '__fish_git_using_command config' -l get -d 'Get config with name' -kra '(__fish_git_config_keys)' -complete -f -c git -n '__fish_git_using_command config' -l get-all -d 'Get all values matching key' -ka '(__fish_git_config_keys)' -complete -f -c git -n '__fish_git_using_command config' -l get-urlmatch -d 'Get value specific for the section url' -r -complete -f -c git -n '__fish_git_using_command config' -l replace-all -d 'Replace all matching variables' -kra '(__fish_git_config_keys)' -complete -f -c git -n '__fish_git_using_command config' -l add -d 'Add a new variable' -r -complete -f -c git -n '__fish_git_using_command config' -l unset -d 'Remove a variable' -ka '(__fish_git_config_keys)' -complete -f -c git -n '__fish_git_using_command config' -l unset-all -d 'Remove matching variables' -ka '(__fish_git_config_keys)' -complete -f -c git -n '__fish_git_using_command config' -l rename-section -d 'Rename section' -r -complete -f -c git -n '__fish_git_using_command config' -s l -l list -d 'List all variables' -complete -f -c git -n '__fish_git_using_command config' -s e -l edit -d 'Open configuration in an editor' - -complete -f -c git -n '__fish_git_using_command config' -s t -l type -d 'Value is of given type' -complete -f -c git -n '__fish_git_using_command config' -l bool -d 'Value is \'true\' or \'false\'' -complete -f -c git -n '__fish_git_using_command config' -l int -d 'Value is a decimal number' -complete -f -c git -n '__fish_git_using_command config' -l bool-or-int -d 'Value is --bool or --int' -complete -f -c git -n '__fish_git_using_command config' -l path -d 'Value is a path' -complete -f -c git -n '__fish_git_using_command config' -l expiry-date -d 'Value is an expiry date' - -complete -f -c git -n '__fish_git_using_command config' -s z -l null -d 'Terminate values with NUL byte' -complete -f -c git -n '__fish_git_using_command config' -l name-only -d 'Show variable names only' -complete -f -c git -n '__fish_git_using_command config' -l includes -d 'Respect include directives' -complete -f -c git -n '__fish_git_using_command config' -l show-origin -d 'Show origin of configuration' -complete -f -c git -n '__fish_git_using_command config; and __fish_seen_argument get' -l default -d 'Use default value when missing entry' - -## Custom commands (git-* commands installed in the PATH) -complete -c git -n __fish_git_needs_command -a '(__fish_git_custom_commands)' -d 'Custom command' - -function __fish_git_complete_custom_command -a subcommand - set -l cmd (commandline -opc) - set -e cmd[1] # Drop "git". - set -l subcommand_args - if argparse -s (__fish_git_global_optspecs) -- $cmd - set subcommand_args $argv[2..] # Drop the subcommand. - end - complete -C "git-$subcommand $subcommand_args "(commandline -ct) -end - -# source git-* commands' autocompletion file if exists -set -l __fish_git_custom_commands_completion -for file in $PATH/git-* - not command -q $file - and continue - - set -l subcommand (string replace -r -- '.*/git-([^/]*)$' '$1' $file) - - # Already seen this command earlier in $PATH. - contains -- $subcommand $__fish_git_custom_commands_completion - and continue - - complete -C "git-$subcommand " >/dev/null - if test (complete -c git-$subcommand | count) -gt 0 - complete -c git -f -n "__fish_git_using_command $subcommand" -a "(__fish_git_complete_custom_command $subcommand)" - end - set -a __fish_git_custom_commands_completion $subcommand -end diff --git a/dot_config/fish/completions/go.fish b/dot_config/fish/completions/go.fish deleted file mode 100644 index d79f8b7..0000000 --- a/dot_config/fish/completions/go.fish +++ /dev/null @@ -1,174 +0,0 @@ -# go is a tool for managing Go source code. -# See: https://golang.org - -# Completions for go build commands -set -l __go_cmds_w_buildflags build get install run test generate -complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -s a -d 'force rebuild' -complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -s n -d 'print the commands but do not run them' -complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -s p -r -d 'number parallel builds (default=#cpus)' -complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o race -d 'enable data race detection' -complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o msan -d 'enable interoperation with memory sanitizer' -complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -s v -d 'print packages being built' -complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o work -d 'print and preserve work directory' -complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -s x -d 'print the commands' -complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o asmflags -d 'arguments to pass on each go tool asm invocation' -complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o buildmode -x -d 'build mode to use' -a 'archive c-archive c-shared default shared exe pie plugin' -complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o compiler -x -d 'name of compiler to use, as in runtime' -a 'gccgo gc' -complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o gccgoflags -r -d 'gccgo compiler/linker flags' -complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o gcflags -r -d 'go compiler flags' -complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o installsuffix -r -d 'suffix for installation directory' -complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o ldflags -r -d 'linker flags' -complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o linkshared -r -d 'link against shared libraries previously created with -buildmode=shared' -complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o mod -x -d 'module download mode to use' -a 'readonly vendor mod' -complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o modcacherw -d 'leave newly-created directories in the module cache writable' -complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o modfile -r -d 'read (and possibly write) an alternate go.mod' -complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o pkgdir -r -d 'install and load all packages from dir instead of the usual locations' -complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o tags -r -d 'build tags' -complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o trimpath -d 'remove all file system paths from the resulting executable' -complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o toolexec -r -d 'a program to use to invoke toolchain programs' -complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o mod -x -d 'module download mode to use' -a 'readonly vendor' - - -# Completions for go cmds that takes file arguments -complete -c go -n "__fish_seen_subcommand_from build compile fix fmt install test vet" -k -x -a "( - __fish_complete_suffix .go - )" --description File - -# Completions for go cmds that takes pkg arguments -complete -c go -n "__fish_seen_subcommand_from build doc fix fmt install test vet" -x -a "( - go list -e -f '{{.ImportPath}} {{or .Doc \"Go package\"}}' (commandline -ct)... 2>/dev/null - )" --description Package - - -# build -complete -c go -n __fish_use_subcommand -a build -d 'compile packages and dependencies' - -# clean -complete -c go -n __fish_use_subcommand -a clean -d 'remove object files' -complete -c go -n '__fish_seen_subcommand_from clean' -s i -d "remove the corresponding installed archive or binary" -complete -c go -n '__fish_seen_subcommand_from clean' -s n -d "print the command that would be executed without running" -complete -c go -n '__fish_seen_subcommand_from clean' -s r -d "recursively clean all the dependencies of package named by the import paths" -complete -c go -n '__fish_seen_subcommand_from clean' -s x -d "clean to print remove commands as it executes them" -complete -c go -n '__fish_seen_subcommand_from clean' -o cache -d 'remove the entire go build cache' -complete -c go -n '__fish_seen_subcommand_from clean' -o testcache -d 'expire all test results in the go build cache' -complete -c go -n '__fish_seen_subcommand_from clean' -o modcache -d 'remove the entire module download cache' - -# doc -complete -c go -n __fish_use_subcommand -a doc -d 'run godoc on package sources' -complete -c go -n '__fish_seen_subcommand_from doc' -o all -d "show all the documentation for the package" -complete -c go -n '__fish_seen_subcommand_from doc' -s c -d 'respect case when matching symbols' -complete -c go -n '__fish_seen_subcommand_from doc' -o cmd -d 'treat a command (package main) like a regular package' -complete -c go -n '__fish_seen_subcommand_from doc' -o short -d 'one-line representation for each symbol' -complete -c go -n '__fish_seen_subcommand_from doc' -o src -d 'show the full source code for the symbol' -complete -c go -n '__fish_seen_subcommand_from doc' -s u -d 'show documentation for unexported as well as exported symbols' - -# env -complete -c go -n __fish_use_subcommand -a env -d 'print Go environment information' -complete -c go -n '__fish_seen_subcommand_from env' -o json -d 'print the environment in JSON format' -complete -c go -n '__fish_seen_subcommand_from env' -s u -r -d 'set NAME to default values' -complete -c go -n '__fish_seen_subcommand_from env' -s w -r -d 'set default values for config variables' - -# fix -complete -c go -n __fish_use_subcommand -a fix -d 'run go tool fix on packages' - -# fmt -complete -c go -n __fish_use_subcommand -a fmt -d 'run gofmt on package sources' -complete -c go -n '__fish_seen_subcommand_from fmt' -s n -d "prints commands that would be executed" -complete -c go -n '__fish_seen_subcommand_from fmt' -s x -d "prints commands as they are executed" - -# get -complete -c go -n __fish_use_subcommand -a get -d 'download and install packages and dependencies' -complete -c go -n '__fish_seen_subcommand_from get' -s d -d "stop after downloading the packages; don't install" -complete -c go -n '__fish_seen_subcommand_from get' -o fix -d "run fix tool on packages before resolving dependencies or building" -complete -c go -n '__fish_seen_subcommand_from get' -s u -d "update remote packages" -complete -c go -n '__fish_seen_subcommand_from get' -s v -d "verbose progress and debug output" -complete -c go -n '__fish_seen_subcommand_from get' -s t -d "also download the packages required to build the tests" -complete -c go -n '__fish_seen_subcommand_from get' -o insecure -d "flag permits fetching & resolving domains using insecure schemes" - -# generate -complete -c go -n __fish_use_subcommand -a generate -d 'Generate runs commands described by directives within existing files.' -complete -c go -n '__fish_seen_subcommand_from get' -s n -d "prints commands that would be executed" -complete -c go -n '__fish_seen_subcommand_from get' -s x -d "prints commands as they are executed" -complete -c go -n '__fish_seen_subcommand_from get' -s v -d "prints the names of packages and files as they are processed" -complete -c go -n '__fish_seen_subcommand_from get' -o run -d "prints the names of packages and files as they are processed" - -# help -complete -c go -n __fish_use_subcommand -a help -d 'get help on topic' -complete -c go -n '__fish_seen_subcommand_from help' -xa bug -d "start a bug report" -complete -c go -n '__fish_seen_subcommand_from help' -xa build -d "compile packages and dependencies" -complete -c go -n '__fish_seen_subcommand_from help' -xa clean -d "remove object files and cached files" -complete -c go -n '__fish_seen_subcommand_from help' -xa doc -d "show documentation for package or symbol" -complete -c go -n '__fish_seen_subcommand_from help' -xa env -d "print Go environment information" -complete -c go -n '__fish_seen_subcommand_from help' -xa fix -d "update packages to use new APIs" -complete -c go -n '__fish_seen_subcommand_from help' -xa fmt -d "gofmt (reformat) package sources" -complete -c go -n '__fish_seen_subcommand_from help' -xa generate -d "generate Go files by processing source" -complete -c go -n '__fish_seen_subcommand_from help' -xa get -d "download and install packages and dependencies" -complete -c go -n '__fish_seen_subcommand_from help' -xa install -d "compile and install packages and dependencies" -complete -c go -n '__fish_seen_subcommand_from help' -xa list -d "list packages or modules" -complete -c go -n '__fish_seen_subcommand_from help' -xa mod -d "module maintenance" -complete -c go -n '__fish_seen_subcommand_from help' -xa run -d "compile and run Go program" -complete -c go -n '__fish_seen_subcommand_from help' -xa test -d "test packages" -complete -c go -n '__fish_seen_subcommand_from help' -xa tool -d "run specified go tool" -complete -c go -n '__fish_seen_subcommand_from help' -xa version -d "print Go version" -complete -c go -n '__fish_seen_subcommand_from help' -xa vet -d "report likely mistakes in packages" -complete -c go -n '__fish_seen_subcommand_from help' -xa buildmode -d "build modes" -complete -c go -n '__fish_seen_subcommand_from help' -xa c -d "calling between Go and C" -complete -c go -n '__fish_seen_subcommand_from help' -xa cache -d "build and test caching" -complete -c go -n '__fish_seen_subcommand_from help' -xa environment -d "environment variables" -complete -c go -n '__fish_seen_subcommand_from help' -xa filetype -d "file types" -complete -c go -n '__fish_seen_subcommand_from help' -xa go.mod -d "the go.mod file" -complete -c go -n '__fish_seen_subcommand_from help' -xa gopath -d "GOPATH environment variable" -complete -c go -n '__fish_seen_subcommand_from help' -xa gopath-get -d "legacy GOPATH go get" -complete -c go -n '__fish_seen_subcommand_from help' -xa goproxy -d "module proxy protocol" -complete -c go -n '__fish_seen_subcommand_from help' -xa importpath -d "import path syntax" -complete -c go -n '__fish_seen_subcommand_from help' -xa modules -d "modules, module versions, and more" -complete -c go -n '__fish_seen_subcommand_from help' -xa module-get -d "module-aware go get" -complete -c go -n '__fish_seen_subcommand_from help' -xa module-auth -d "module authentication using go.sum" -complete -c go -n '__fish_seen_subcommand_from help' -xa module-private -d "module configuration for non-public modules" -complete -c go -n '__fish_seen_subcommand_from help' -xa packages -d "package lists and patterns" -complete -c go -n '__fish_seen_subcommand_from help' -xa testflag -d "testing flags" -complete -c go -n '__fish_seen_subcommand_from help' -xa testfunc -d "testing functions" - -# install -complete -c go -n __fish_use_subcommand -a install -d 'compile and install packages and dependencies' - -# list -complete -c go -n __fish_use_subcommand -a list -d 'list packages' -complete -c go -n '__fish_seen_subcommand_from list' -s e -d "tolerate erroneous packages" -complete -c go -n '__fish_seen_subcommand_from list' -s f -r -d "pass in template for formatting" -complete -c go -n '__fish_seen_subcommand_from list' -o json -d "print in JSON format" -complete -c go -n '__fish_seen_subcommand_from list' -o tags -r -d 'list of build tags' -complete -c go -n '__fish_seen_subcommand_from list' -s m -d 'list modules instead of packages' - -# run -complete -c go -n __fish_use_subcommand -a run -d 'compile and run Go program' - -# test -complete -c go -n __fish_use_subcommand -a test -d 'test packages' -complete -c go -n '__fish_seen_subcommand_from test' -s c -r -d "compile the test binary to pkg.test but do not run it" -complete -c go -n '__fish_seen_subcommand_from test' -s i -d "install dependent packages, but don't run tests" - -# tool -complete -c go -n __fish_use_subcommand -a tool -d 'run specified go tool' -complete -c go -n '__fish_seen_subcommand_from tool' -a 'addr2line api asm cgo compile dist fix link nm objdump pack pprof prof vet yacc' -d "target tool" -complete -c go -n '__fish_seen_subcommand_from tool' -s n -d "print the command that would be executed but not execute it" - -# version -complete -c go -f -n __fish_use_subcommand -a version -d 'print Go version' -complete -c go -f -n '__fish_seen_subcommand_from version' - -# vet -complete -c go -n __fish_use_subcommand -a vet -d 'vet packages' -complete -c go -n '__fish_seen_subcommand_from vet' -s n -d "print the command that would be executed" -complete -c go -n '__fish_seen_subcommand_from vet' -s x -d "prints commands as they are executed" - -# mod -complete -c go -n __fish_use_subcommand -a mod -d 'module maintenance' -complete -c go -f -n '__fish_seen_subcommand_from mod' -a download -d "download modules to local cache" -complete -c go -f -n '__fish_seen_subcommand_from mod' -a edit -d "edit go.mod from tools or scripts" -complete -c go -f -n '__fish_seen_subcommand_from mod' -a graph -d "print module requirement graph" -complete -c go -f -n '__fish_seen_subcommand_from mod' -a init -d "initialize new module in current directory" -complete -c go -f -n '__fish_seen_subcommand_from mod' -a tidy -d "add missing and remove unused modules" -complete -c go -f -n '__fish_seen_subcommand_from mod' -a vendor -d "make vendored copy of dependencies" -complete -c go -f -n '__fish_seen_subcommand_from mod' -a verify -d "verify dependencies have expected content" -complete -c go -f -n '__fish_seen_subcommand_from mod' -a why -d "explain why packages or modules are needed" diff --git a/dot_config/fish/completions/nc.fish b/dot_config/fish/completions/nc.fish deleted file mode 100644 index 4dc5f18..0000000 --- a/dot_config/fish/completions/nc.fish +++ /dev/null @@ -1,12 +0,0 @@ -# There a several different implementations of netcat. -# Try to figure out which is the current used one -# and load the right set of completions. - -set -l flavor -if string match -rq -- '^OpenBSD netcat' (nc -h 2>&1)[1] - set flavor nc.openbsd -else - set flavor (basename (realpath (command -v nc))) -end - -__fish_complete_netcat nc $flavor diff --git a/dot_config/fish/completions/nc.openbsd.fish b/dot_config/fish/completions/nc.openbsd.fish deleted file mode 100644 index f93163c..0000000 --- a/dot_config/fish/completions/nc.openbsd.fish +++ /dev/null @@ -1 +0,0 @@ -__fish_complete_netcat nc.openbsd diff --git a/dot_config/fish/completions/nc.traditional.fish b/dot_config/fish/completions/nc.traditional.fish deleted file mode 100644 index 8d0c10f..0000000 --- a/dot_config/fish/completions/nc.traditional.fish +++ /dev/null @@ -1 +0,0 @@ -__fish_complete_netcat nc.traditional diff --git a/dot_config/fish/completions/ncat.fish b/dot_config/fish/completions/ncat.fish deleted file mode 100644 index 186b6bf..0000000 --- a/dot_config/fish/completions/ncat.fish +++ /dev/null @@ -1,74 +0,0 @@ -# Completions for ncat (https://www.nmap.org) - -complete -c ncat -f -a "(__fish_print_hostnames)" - -# PROTOCOL OPTIONS -complete -c ncat -s 4 -d "IPv4 only" -complete -c ncat -s 6 -d "IPv6 only" -complete -c ncat -s U -l unixsock -d "Use Unix domain sockets" -complete -c ncat -s u -l udp -d "Use UDP" -complete -c ncat -l sctp -d "Use SCTP" - -# CONNECT MODE OPTIONS -complete -c ncat -s g -x -d "Loose source routing" -complete -c ncat -s G -x -d "Set source routing pointer" -complete -c ncat -s p -l source-port -x -d "Specify source port" -complete -c ncat -s s -l source -x -d "Specify source address" - -# LISTEN MODE OPTIONS -complete -c ncat -s l -l listen -d "Listen for connections" -complete -c ncat -s m -l max-conns -x -d "Specify maximum number of connections" -complete -c ncat -s k -l keep-open -d "Accept multiple connections" -complete -c ncat -l broker -d "Connection brokering" -complete -c ncat -l chat -d "Ad-hoc \"chat server\"" - -# SSL OPTIONS -complete -c ncat -l ssl -d "Use SSL" -complete -c ncat -l ssl-verify -d "Verify server certificates" -complete -c ncat -l ssl-cert -r -d "Specify SSL certificate" -complete -c ncat -l ssl-key -r -d "Specify SSL private key" -complete -c ncat -l ssl-trustfile -r -d "List trusted certificates" -function __fish_complete_openssl_ciphers - openssl ciphers -s -stdname | string replace -r '^([^ ]*) - ([^ ]*).*$' '$2\t$1' - for cs in COMPLEMENTOFDEFAULT ALL COMPLEMENTOFALL HIGH MEDIUM LOW eNULL NULL aNULL kRSA aRSA RSA kDHr kDHd kDH kDHE kEDH DH DHE EDH ADH kEECDH kECDHE ECDH ECDHE EECDH AECDH aDSS DSS aDH aECDSA ECDSA TLSv1.2 TLSv1.0 SSLv3 AES128 AES256 AES AESGCM AESCCM AESCCM8 ARIA128 ARIA256 ARIA CAMELLIA128 CAMELLIA256 CAMELLIA CHACHA20 3DES DES RC4 RC2 IDEA SEED MD5 SHA1 SHA SHA256 SHA384 aGOST aGOST01 kGOST GOST94 GOST89MAC PSK kPSK kECDHEPSK kDHEPSK kRSAPSK aPSK SUITEB128 SUITEB128ONLY SUITEB192 - printf "%s\tCipher String\n" $cs - end -end -complete -c ncat -l ssl-ciphers -x -a "(__fish_complete_list : __fish_complete_openssl_ciphers)" -d "Specify SSL ciphersuites" -complete -c ncat -l ssl-alpn -x -d "Specify ALPN protocol list" - -# PROXY OPTIONS -complete -c ncat -l proxy -x -d "Specify proxy address" -complete -c ncat -l proxy-type -x -d "Specify proxy protocol" -complete -c ncat -l proxy-auth -x -d "Specify proxy credentials" - -# COMMAND EXECUTION OPTIONS -complete -c ncat -s e -l exec -r -d "Execute command" -complete -c ncat -s c -l sh-exec -r -d "Execute command via sh" -complete -c ncat -l lua-exec -r -d "Execute a .lua script" - -# ACCESS CONTROL OPTIONS -complete -c ncat -l allow -x -a "(__fish_print_hostnames)" -d "Allow connections" -complete -c ncat -l allowfile -r -d "Allow connections from file" -complete -c ncat -l deny -x -a "(__fish_print_hostnames)" -d "Deny connections" -complete -c ncat -l denyfile -r -d "Deny connections from file" - -# TIMING OPTIONS -complete -c ncat -s d -l delay -x -d "Specify line delay" -complete -c ncat -s i -l idle-timeout -x -d "Specify idle timeout" -complete -c ncat -s w -l wait -x -d "Specify connect timeout" - -# OUTPUT OPTIONS -complete -c ncat -s o -l output -r -d "Save session data" -complete -c ncat -s x -l hex-dump -r -d "Save session data in hex" -complete -c ncat -l append-output -d "Append output" -complete -c ncat -s v -l verbose -d "Be verbose" - -# MISC OPTIONS -complete -c ncat -s C -l crlf -d "Use CRLF as EOL" -complete -c ncat -s h -l help -d "Help screen" -complete -c ncat -l -recv-only -d "Only receive data" -complete -c ncat -l send-only -d "Only send data" -complete -c ncat -l no-shutdown -d "Do not shutdown into half-duplex mode" -complete -c ncat -s t -l telnet -d "Answer Telnet negotiations" -complete -c ncat -l version -d "Display version" diff --git a/dot_config/fish/completions/netcat.fish b/dot_config/fish/completions/netcat.fish deleted file mode 100644 index a33e8e2..0000000 --- a/dot_config/fish/completions/netcat.fish +++ /dev/null @@ -1,12 +0,0 @@ -# There a several different implementations of netcat. -# Try to figure out which is the current used one -# and load the right set of completions. - -set -l flavor -if string match -rq -- '^OpenBSD netcat' (netcat -h 2>&1)[1] - set flavor nc.openbsd -else - set flavor (basename (realpath (command -v netcat))) -end - -__fish_complete_netcat netcat $flavor diff --git a/dot_config/fish/conf.d/key-bindings.fish b/dot_config/fish/conf.d/key-bindings.fish deleted file mode 100644 index 36b3aa3..0000000 --- a/dot_config/fish/conf.d/key-bindings.fish +++ /dev/null @@ -1,172 +0,0 @@ -# ____ ____ -# / __/___ / __/ -# / /_/_ / / /_ -# / __/ / /_/ __/ -# /_/ /___/_/ key-bindings.fish -# -# - $FZF_TMUX_OPTS -# - $FZF_CTRL_T_COMMAND -# - $FZF_CTRL_T_OPTS -# - $FZF_CTRL_R_OPTS -# - $FZF_ALT_C_COMMAND -# - $FZF_ALT_C_OPTS - -# Key bindings -# ------------ -function fzf_key_bindings - - # Store current token in $dir as root for the 'find' command - function fzf-file-widget -d "List files and folders" - set -l commandline (__fzf_parse_commandline) - set -l dir $commandline[1] - set -l fzf_query $commandline[2] - set -l prefix $commandline[3] - - # "-path \$dir'*/\\.*'" matches hidden files/folders inside $dir but not - # $dir itself, even if hidden. - test -n "$FZF_CTRL_T_COMMAND"; or set -l FZF_CTRL_T_COMMAND " - command find -L \$dir -mindepth 1 \\( -path \$dir'*/\\.*' -o -fstype 'sysfs' -o -fstype 'devfs' -o -fstype 'devtmpfs' \\) -prune \ - -o -type f -print \ - -o -type d -print \ - -o -type l -print 2> /dev/null | sed 's@^\./@@'" - - test -n "$FZF_TMUX_HEIGHT"; or set FZF_TMUX_HEIGHT 40% - begin - set -lx FZF_DEFAULT_OPTS "--height $FZF_TMUX_HEIGHT --reverse --bind=ctrl-z:ignore $FZF_DEFAULT_OPTS $FZF_CTRL_T_OPTS" - eval "$FZF_CTRL_T_COMMAND | "(__fzfcmd)' -m --query "'$fzf_query'"' | while read -l r; set result $result $r; end - end - if [ -z "$result" ] - commandline -f repaint - return - else - # Remove last token from commandline. - commandline -t "" - end - for i in $result - commandline -it -- $prefix - commandline -it -- (string escape $i) - commandline -it -- ' ' - end - commandline -f repaint - end - - function fzf-history-widget -d "Show command history" - test -n "$FZF_TMUX_HEIGHT"; or set FZF_TMUX_HEIGHT 40% - begin - set -lx FZF_DEFAULT_OPTS "--height $FZF_TMUX_HEIGHT $FZF_DEFAULT_OPTS --tiebreak=index --bind=ctrl-r:toggle-sort,ctrl-z:ignore $FZF_CTRL_R_OPTS +m" - - set -l FISH_MAJOR (echo $version | cut -f1 -d.) - set -l FISH_MINOR (echo $version | cut -f2 -d.) - - # history's -z flag is needed for multi-line support. - # history's -z flag was added in fish 2.4.0, so don't use it for versions - # before 2.4.0. - if [ "$FISH_MAJOR" -gt 2 -o \( "$FISH_MAJOR" -eq 2 -a "$FISH_MINOR" -ge 4 \) ]; - history -z | eval (__fzfcmd) --read0 --print0 -q '(commandline)' | read -lz result - and commandline -- $result - else - history | eval (__fzfcmd) -q '(commandline)' | read -l result - and commandline -- $result - end - end - commandline -f repaint - end - - function fzf-cd-widget -d "Change directory" - set -l commandline (__fzf_parse_commandline) - set -l dir $commandline[1] - set -l fzf_query $commandline[2] - set -l prefix $commandline[3] - - test -n "$FZF_ALT_C_COMMAND"; or set -l FZF_ALT_C_COMMAND " - command find -L \$dir -mindepth 1 \\( -path \$dir'*/\\.*' -o -fstype 'sysfs' -o -fstype 'devfs' -o -fstype 'devtmpfs' \\) -prune \ - -o -type d -print 2> /dev/null | sed 's@^\./@@'" - test -n "$FZF_TMUX_HEIGHT"; or set FZF_TMUX_HEIGHT 40% - begin - set -lx FZF_DEFAULT_OPTS "--height $FZF_TMUX_HEIGHT --reverse --bind=ctrl-z:ignore $FZF_DEFAULT_OPTS $FZF_ALT_C_OPTS" - eval "$FZF_ALT_C_COMMAND | "(__fzfcmd)' +m --query "'$fzf_query'"' | read -l result - - if [ -n "$result" ] - builtin cd -- $result - - # Remove last token from commandline. - commandline -t "" - commandline -it -- $prefix - end - end - - commandline -f repaint - end - - function __fzfcmd - test -n "$FZF_TMUX"; or set FZF_TMUX 0 - test -n "$FZF_TMUX_HEIGHT"; or set FZF_TMUX_HEIGHT 40% - if [ -n "$FZF_TMUX_OPTS" ] - echo "fzf-tmux $FZF_TMUX_OPTS -- " - else if [ $FZF_TMUX -eq 1 ] - echo "fzf-tmux -d$FZF_TMUX_HEIGHT -- " - else - echo "fzf" - end - end - - bind \ct fzf-file-widget - bind \cr fzf-history-widget - bind \ec fzf-cd-widget - - if bind -M insert > /dev/null 2>&1 - bind -M insert \ct fzf-file-widget - bind -M insert \cr fzf-history-widget - bind -M insert \ec fzf-cd-widget - end - - function __fzf_parse_commandline -d 'Parse the current command line token and return split of existing filepath, fzf query, and optional -option= prefix' - set -l commandline (commandline -t) - - # strip -option= from token if present - set -l prefix (string match -r -- '^-[^\s=]+=' $commandline) - set commandline (string replace -- "$prefix" '' $commandline) - - # eval is used to do shell expansion on paths - eval set commandline $commandline - - if [ -z $commandline ] - # Default to current directory with no --query - set dir '.' - set fzf_query '' - else - set dir (__fzf_get_dir $commandline) - - if [ "$dir" = "." -a (string sub -l 1 -- $commandline) != '.' ] - # if $dir is "." but commandline is not a relative path, this means no file path found - set fzf_query $commandline - else - # Also remove trailing slash after dir, to "split" input properly - set fzf_query (string replace -r "^$dir/?" -- '' "$commandline") - end - end - - echo $dir - echo $fzf_query - echo $prefix - end - - function __fzf_get_dir -d 'Find the longest existing filepath from input string' - set dir $argv - - # Strip all trailing slashes. Ignore if $dir is root dir (/) - if [ (string length -- $dir) -gt 1 ] - set dir (string replace -r '/*$' -- '' $dir) - end - - # Iteratively check if dir exists and strip tail end of path - while [ ! -d "$dir" ] - # If path is absolute, this can keep going until ends up at / - # If path is relative, this can keep going until entire input is consumed, dirname returns "." - set dir (dirname -- "$dir") - end - - echo $dir - end - -end diff --git a/dot_config/fish/config.fish b/dot_config/fish/config.fish deleted file mode 100644 index ef88a2f..0000000 --- a/dot_config/fish/config.fish +++ /dev/null @@ -1,29 +0,0 @@ -set PATH ~/bin ~/.local/bin ~/.go/bin ~/.cargo/bin /opt/homebrew/bin /bin /sbin /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin ~/.cabal/bin ~/.ghcup/bin /usr/lib/go/bin ~/.gem/ruby/1.9.1/bin ~/.rye/shims ~/.local/share/uv/tools $PATH - -if command -vq flatpak - set -ga fish_user_paths ~/.local/share/flatpak/exports/bin /var/lib/flatpak/exports/bin - set -gx --path XDG_DATA_DIRS /usr/local/share/ /usr/share/ ~/.local/share/flatpak/exports/share - for install_dir in (flatpak --installations) - set -gxa XDG_DATA_DIRS $install_dir/exports/share - end -end - -set fish_greeting "" -set EDITOR vi -set -x GOPATH ~/.go -set -x BROWSER xdg-open -set -gx LANG en_US.UTF-8 - -if test -e $HOME/.asdf/asdf.fish - . ~/.asdf/asdf.fish -end - -if test -e $HOME/.config/fish/work.fish - . ~/.config/fish/work.fish -end - -. ~/.config/fish/fish_aliases.fish - -# The next line updates PATH for the Google Cloud SDK. -if [ -f '/home/barak/local/google-cloud-sdk/path.fish.inc' ]; . '/home/barak/local/google-cloud-sdk/path.fish.inc'; end - diff --git a/dot_config/fish/functions/fish_right_prompt.fish b/dot_config/fish/functions/fish_right_prompt.fish deleted file mode 100644 index 25b3eab..0000000 --- a/dot_config/fish/functions/fish_right_prompt.fish +++ /dev/null @@ -1 +0,0 @@ -function fish_right_prompt; end diff --git a/dot_config/fuzzel/fuzzel.ini b/dot_config/fuzzel/fuzzel.ini deleted file mode 100644 index 3848b0b..0000000 --- a/dot_config/fuzzel/fuzzel.ini +++ /dev/null @@ -1,14 +0,0 @@ -[main] -font=Iosevka Berkeley:size=20 -icon-theme="Mint-Y-Teal" -terminal=run_terminal -lines=20 -width=50 -layer=overlay - -[colors] -background="242424e6" -text="dededeff" -selection="0860f2e6" -selection-text="ffffffff" -selection-match="cb6b36ff" diff --git a/dot_config/iosevka-build/.gitignore b/dot_config/iosevka-build/.gitignore deleted file mode 100644 index 849ddff..0000000 --- a/dot_config/iosevka-build/.gitignore +++ /dev/null @@ -1 +0,0 @@ -dist/ diff --git a/dot_config/iosevka-build/private-build-plans.toml b/dot_config/iosevka-build/private-build-plans.toml deleted file mode 100644 index e65fe70..0000000 --- a/dot_config/iosevka-build/private-build-plans.toml +++ /dev/null @@ -1,121 +0,0 @@ -[buildPlans.IosevkaBerkeley] -family = "Iosevka Berkeley" -spacing = "fixed" -serifs = "sans" -noCvSs = true -exportGlyphNames = false - -[buildPlans.IosevkaBerkeley.variants.design] -capital-g = "toothless-rounded-serifless-hooked" -g = "double-storey" -t = "flat-hook" -y = "straight-turn-serifless" -eszet = "sulzbacher-descending-serifless" -capital-lambda = "curly-top-serifed" -lower-lambda = "tailed-turn" -lower-chi = "semi-chancery-straight" -zero = "dotted" -one = "no-base" -four = "closed-serifless" -six = "open-contour" -eight = "two-circles" -asterisk = "hex-high" -paren = "large-contour" -brace = "straight" -at = "fourfold" -percent = "rings-continuous-slash" -bar = "force-upright" -question = "corner" - -[buildPlans.IosevkaBerkeley.variants.italic] -capital-a = "curly-serifless" -capital-b = "standard-unilateral-serifed" -capital-d = "standard-unilateral-serifed" -capital-f = "top-left-serifed" -capital-g = "toothed-serifless-hooked" -capital-i = "short-serifed" -capital-j = "serifed-both-sides" -capital-m = "flat-bottom-serifless" -capital-p = "closed-motion-serifed" -capital-q = "crossing-curly-tailed" -capital-r = "curly-serifless" -capital-u = "tailed-motion-serifed" -capital-v = "curly-serifless" -capital-w = "curly-serifless" -capital-x = "curly-serifless" -capital-y = "curly-serifless" -capital-z = "curly-serifless-with-horizontal-crossbar" -a = "double-storey-tailed" -d = "toothed-serifed" -f = "flat-hook-serifless" -g = "single-storey-serifed" -h = "straight-top-left-serifed" -k = "curly-serifless" -m = "top-left-serifed" -n = "straight-top-left-serifed" -p = "eared-serifless" -q = "straight-serifless" -u = "tailed-motion-serifed" -v = "curly-serifless" -w = "curly-serifless" -x = "curly-serifless" -y = "cursive-serifless" -z = "curly-serifless-with-horizontal-crossbar" -one = "no-base-long-top-serif" -two = "straight-neck-serifless" -seven = "straight-serifless-crossbar" -nine = "open-contour" -paren = "normal" - -[buildPlans.IosevkaBerkeley.variants.oblique] -paren = "normal" - -[buildPlans.IosevkaBerkeley.weights.ExtraLight] -shape = 200 -menu = 200 -css = 200 - -[buildPlans.IosevkaBerkeley.weights.Light] -shape = 300 -menu = 300 -css = 300 - -[buildPlans.IosevkaBerkeley.weights.Regular] -shape = 400 -menu = 400 -css = 400 - -[buildPlans.IosevkaBerkeley.weights.Medium] -shape = 500 -menu = 500 -css = 500 - -[buildPlans.IosevkaBerkeley.weights.SemiBold] -shape = 600 -menu = 600 -css = 600 - -[buildPlans.IosevkaBerkeley.weights.Bold] -shape = 700 -menu = 700 -css = 700 - -[buildPlans.IosevkaBerkeley.widths.Normal] -shape = 500 -menu = 5 -css = "normal" - -[buildPlans.IosevkaBerkeley.widths.Extended] -shape = 600 -menu = 7 -css = "expanded" - -[buildPlans.IosevkaBerkeley.widths.Condensed] -shape = 416 -menu = 3 -css = "condensed" - -[buildPlans.IosevkaBerkeley.widths.SemiCondensed] -shape = 456 -menu = 4 -css = "semi-condensed" diff --git a/dot_config/jj/config.toml b/dot_config/jj/config.toml deleted file mode 100644 index 11fecbb..0000000 --- a/dot_config/jj/config.toml +++ /dev/null @@ -1,41 +0,0 @@ -[user] -name = "Barak Michener" -email = "me@barakmich.com" - -[ui] -editor = "nvim" -#default-command = ["log", "--reversed"] -default-command = ["util", "exec", "--", "bash", "-c", "jj log --reversed --no-pager && jj diff -s"] -diff-formatter = ["difft", "--display=inline", "--color=always", "$left", "$right"] -#diff-formatter = ":git" - -[revset-aliases] -'nearby(x)' = 'descendants(ancestors(@, x))::' -'closest_bookmark(to)' = "heads(::to & bookmarks())" - -[revsets] -log = "nearby(8) | @..main@origin | main@origin::@ | @:: | (visible_heads() & mine())" - - -[colors] -"diff token" = { underline = false } - -[templates] -git_push_bookmark = '"barakmich/" ++ change_id.short()' - -[git] -push-new-bookmarks = true -# Prevent pushing work in progress or anything explicitly labeled "private" -private-commits = "description(glob:'wip:*') | description(glob:'private:*') | description(glob:'XXX*')" - -[aliases] -bm = ["bookmark", "move", "--to"] -"bm." = ["bookmark", "move", "--to", "@"] -tug = ["bookmark", "move", "--from", "closest_bookmark(@-)", "--to", "@-"] -"tug." = ["bookmark", "move", "--from", "closest_bookmark(@-)", "--to", "@"] -pull = ["git", "fetch"] -fetch = ["git", "fetch"] -push = ["git", "push"] -p = ["git", "push", "-r", "closest_bookmark(@-)"] -d = ["describe", "-m"] -drop = ["abandon"] diff --git a/dot_config/opencode/opencode.jsonc b/dot_config/opencode/opencode.jsonc deleted file mode 100644 index e0c6066..0000000 --- a/dot_config/opencode/opencode.jsonc +++ /dev/null @@ -1,56 +0,0 @@ -{ - "$schema": "https://opencode.ai/config.json", - // Theme configuration - "theme": "opencode", - "model": "daystrom/gpt-oss:120b-64k", - "autoupdate": true, - "share": "disabled", - "agent": { - "explorer": { - "mode": "primary", - "description": "Explores a codebase", - "prompt": "You are a senior engineer tasked with analyzing the codebase at hand and answering difficult questions about it in succinct, friendly, and accurate terms. You may search the web for more information. Don't blindly guess; list the files in the codebase. Find the key files and read them to make sure that you understand the implementation as well, like a good engineer.", - "tools": { - "write": false, - "read": true, - "grep": true, - "glob": true, - "list": true, - "todowrite": true, - "todoread": true, - "edit": false, - "bash": true, - "webfetch": true, - }, - }, - }, - "provider": { - "daystrom": { - "npm": "@ai-sdk/openai-compatible", - "name": "Ollama (daystrom)", - "options": { - "baseURL": "http://daystrom:11434/v1" - }, - "models": { - "gpt-oss:120b-64k": { - "name": "GPT-OSS 120b" - }, - "qwen3-coder:30b-a3b-q8_0-256k": { - "name": "Qwen3-Coder" - } - } - }, - "ollama": { - "npm": "@ai-sdk/openai-compatible", - "name": "Ollama (local)", - "options": { - "baseURL": "http://localhost:11434/v1" - }, - "models": { - "gpt-oss:20b-128k": { - "name": "GPT-OSS 20b" - } - } - } - } -} diff --git a/dot_config/private_karabiner/assets/private_complex_modifications/1701202333.json b/dot_config/private_karabiner/assets/private_complex_modifications/1701202333.json deleted file mode 100644 index 93ebab3..0000000 --- a/dot_config/private_karabiner/assets/private_complex_modifications/1701202333.json +++ /dev/null @@ -1,2853 +0,0 @@ -{ - "rules": [ - { - "description": "Insert (Ctrl) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Shift) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": [ - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": [ - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "up_arrow", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home (Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "mandatory": [ - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "up_arrow", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "down_arrow", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End (Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "mandatory": [ - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "down_arrow", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Left Arrow (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "left_arrow", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "option" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Left Arrow (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "left_arrow", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "option", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Right Arrow (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "right_arrow", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": [ - "option" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Right Arrow (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "right_arrow", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": [ - "option", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Backspace (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "delete_or_backspace", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "delete_or_backspace", - "modifiers": [ - "option" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Delete (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "delete_forward", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "delete_forward", - "modifiers": [ - "option" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Enter (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "return_or_enter", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Enter (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "return_or_enter", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Win [Open Spotlight]", - "manipulators": [ - { - "from": { - "key_code": "left_command" - }, - "to": [ - { - "key_code": "left_command" - } - ], - "to_if_alone": [ - { - "apple_vendor_keyboard_key_code": "spotlight" - } - ], - "type": "basic" - } - ] - }, - { - "description": "A (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "a", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "a", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "B (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "b", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "b", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "C (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "c", - "modifiers": { - "mandatory": [ - "left_control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "C (Ctrl+Shift) [Only Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "c", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "f", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "I (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "i", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "i", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Win) [Login Window]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -suspend" - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Win) [Lock Screen]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "power", - "modifiers": [ - "control", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Alt+Ctrl) [Login Window]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "control", - "option" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -suspend" - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Alt+Ctrl) [Lock Screen]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "control", - "option" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "power", - "modifiers": [ - "control", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "N (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "n", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "n", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "O (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "o", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "o", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "P (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "p", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "p", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "R (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "r", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "r", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "S (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "s", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "s", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "T (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "t", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "t", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "U (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "u", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "u", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "V (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "v", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "V (Ctrl+Shift) [Only Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "v", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "W (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "w", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "w", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "X (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "x", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "x", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Y (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "y", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "y", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Z (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "z", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "z", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "1 (Cmd) [Open Finder]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "1", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b com.apple.finder" - } - ], - "type": "basic" - } - ] - }, - { - "description": "2 (Cmd) [Open first pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "2", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:0:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "3 (Cmd) [Open second pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "3", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:1:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "4 (Cmd) [Open third pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "4", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:2:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "5 (Cmd) [Open fourth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "5", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:3:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "6 (Cmd) [Open fifth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "6", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:4:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "7 (Cmd) [Open sixth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "7", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:5:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "8 (Cmd) [Open eighth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "8", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:6:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "9 (Cmd) [Open ninth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "9", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:7:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "/ (Ctrl) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "slash", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "slash", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Space (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "spacebar", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "spacebar", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F1", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f1", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "slash", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F3", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f3", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "g", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F4 (Alt) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f4", - "modifiers": { - "mandatory": [ - "option" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "q", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F4 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "f4", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "w", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - } - ], - "title": "Windows Shortcuts" -} diff --git a/dot_config/private_karabiner/private_automatic_backups/karabiner_20231128.json b/dot_config/private_karabiner/private_automatic_backups/karabiner_20231128.json deleted file mode 100644 index 2ebc0af..0000000 --- a/dot_config/private_karabiner/private_automatic_backups/karabiner_20231128.json +++ /dev/null @@ -1,3006 +0,0 @@ -{ - "global": { - "ask_for_confirmation_before_quitting": true, - "check_for_updates_on_startup": true, - "show_in_menu_bar": true, - "show_profile_name_in_menu_bar": false, - "unsafe_ui": false - }, - "profiles": [ - { - "complex_modifications": { - "parameters": { - "basic.simultaneous_threshold_milliseconds": 50, - "basic.to_delayed_action_delay_milliseconds": 500, - "basic.to_if_alone_timeout_milliseconds": 1000, - "basic.to_if_held_down_threshold_milliseconds": 500, - "mouse_motion_to_scroll.speed": 100 - }, - "rules": [ - { - "description": "Insert (Ctrl) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Shift) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": [ - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": [ - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "up_arrow", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home (Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "mandatory": [ - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "up_arrow", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "down_arrow", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End (Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "mandatory": [ - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "down_arrow", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Left Arrow (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "left_arrow", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "option" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Left Arrow (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "left_arrow", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "option", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Right Arrow (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "right_arrow", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": [ - "option" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Right Arrow (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "right_arrow", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": [ - "option", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Backspace (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "delete_or_backspace", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "delete_or_backspace", - "modifiers": [ - "option" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Delete (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "delete_forward", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "delete_forward", - "modifiers": [ - "option" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Enter (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "return_or_enter", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Enter (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "return_or_enter", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Win [Open Spotlight]", - "manipulators": [ - { - "from": { - "key_code": "left_command" - }, - "to": [ - { - "key_code": "left_command" - } - ], - "to_if_alone": [ - { - "apple_vendor_keyboard_key_code": "spotlight" - } - ], - "type": "basic" - } - ] - }, - { - "description": "A (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "a", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "a", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "B (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "b", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "b", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "C (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "c", - "modifiers": { - "mandatory": [ - "left_control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "C (Ctrl+Shift) [Only Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "c", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "f", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "I (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "i", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "i", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Win) [Login Window]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -suspend" - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Win) [Lock Screen]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "power", - "modifiers": [ - "control", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Alt+Ctrl) [Login Window]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "control", - "option" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -suspend" - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Alt+Ctrl) [Lock Screen]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "control", - "option" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "power", - "modifiers": [ - "control", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "N (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "n", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "n", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "O (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "o", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "o", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "P (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "p", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "p", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "R (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "r", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "r", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "S (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "s", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "s", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "T (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "t", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "t", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "U (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "u", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "u", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "V (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "v", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "V (Ctrl+Shift) [Only Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "v", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "W (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "w", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "w", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "X (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "x", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "x", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Y (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "y", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "y", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Z (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "z", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "z", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "1 (Cmd) [Open Finder]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "1", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b com.apple.finder" - } - ], - "type": "basic" - } - ] - }, - { - "description": "2 (Cmd) [Open first pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "2", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:0:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "3 (Cmd) [Open second pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "3", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:1:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "4 (Cmd) [Open third pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "4", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:2:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "5 (Cmd) [Open fourth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "5", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:3:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "6 (Cmd) [Open fifth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "6", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:4:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "7 (Cmd) [Open sixth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "7", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:5:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "8 (Cmd) [Open eighth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "8", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:6:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "9 (Cmd) [Open ninth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "9", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:7:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "/ (Ctrl) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "slash", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "slash", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Space (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "spacebar", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "spacebar", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F1", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f1", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "slash", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F3", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^io\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f3", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "g", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F4 (Alt) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f4", - "modifiers": { - "mandatory": [ - "option" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "q", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F4 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "f4", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "w", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - } - ] - }, - "devices": [], - "fn_function_keys": [ - { - "from": { - "key_code": "f1" - }, - "to": [ - { - "consumer_key_code": "display_brightness_decrement" - } - ] - }, - { - "from": { - "key_code": "f2" - }, - "to": [ - { - "consumer_key_code": "display_brightness_increment" - } - ] - }, - { - "from": { - "key_code": "f3" - }, - "to": [ - { - "apple_vendor_keyboard_key_code": "mission_control" - } - ] - }, - { - "from": { - "key_code": "f4" - }, - "to": [ - { - "apple_vendor_keyboard_key_code": "spotlight" - } - ] - }, - { - "from": { - "key_code": "f5" - }, - "to": [ - { - "consumer_key_code": "dictation" - } - ] - }, - { - "from": { - "key_code": "f6" - }, - "to": [ - { - "key_code": "f6" - } - ] - }, - { - "from": { - "key_code": "f7" - }, - "to": [ - { - "consumer_key_code": "rewind" - } - ] - }, - { - "from": { - "key_code": "f8" - }, - "to": [ - { - "consumer_key_code": "play_or_pause" - } - ] - }, - { - "from": { - "key_code": "f9" - }, - "to": [ - { - "consumer_key_code": "fast_forward" - } - ] - }, - { - "from": { - "key_code": "f10" - }, - "to": [ - { - "consumer_key_code": "mute" - } - ] - }, - { - "from": { - "key_code": "f11" - }, - "to": [ - { - "consumer_key_code": "volume_decrement" - } - ] - }, - { - "from": { - "key_code": "f12" - }, - "to": [ - { - "consumer_key_code": "volume_increment" - } - ] - } - ], - "name": "Default profile", - "parameters": { - "delay_milliseconds_before_open_device": 1000 - }, - "selected": true, - "simple_modifications": [], - "virtual_hid_keyboard": { - "country_code": 0, - "indicate_sticky_modifier_keys_state": true, - "mouse_key_xy_scale": 100 - } - } - ] -} \ No newline at end of file diff --git a/dot_config/private_karabiner/private_automatic_backups/karabiner_20231129.json b/dot_config/private_karabiner/private_automatic_backups/karabiner_20231129.json deleted file mode 100644 index aafebe6..0000000 --- a/dot_config/private_karabiner/private_automatic_backups/karabiner_20231129.json +++ /dev/null @@ -1,3126 +0,0 @@ -{ - "global": { - "ask_for_confirmation_before_quitting": true, - "check_for_updates_on_startup": true, - "show_in_menu_bar": true, - "show_profile_name_in_menu_bar": false, - "unsafe_ui": false - }, - "profiles": [ - { - "complex_modifications": { - "parameters": { - "basic.simultaneous_threshold_milliseconds": 50, - "basic.to_delayed_action_delay_milliseconds": 500, - "basic.to_if_alone_timeout_milliseconds": 1000, - "basic.to_if_held_down_threshold_milliseconds": 500, - "mouse_motion_to_scroll.speed": 100 - }, - "rules": [ - { - "description": "Insert (Ctrl) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Shift) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": [ - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": [ - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "up_arrow", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home (Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "mandatory": [ - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "up_arrow", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "down_arrow", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End (Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "mandatory": [ - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "down_arrow", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Left Arrow (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "left_arrow", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "option" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Left Arrow (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "left_arrow", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "option", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Right Arrow (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "right_arrow", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": [ - "option" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Right Arrow (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "right_arrow", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": [ - "option", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Backspace (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "delete_or_backspace", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "delete_or_backspace", - "modifiers": [ - "option" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Delete (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "delete_forward", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "delete_forward", - "modifiers": [ - "option" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Enter (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "return_or_enter", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Enter (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "return_or_enter", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "A (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "a", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "a", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "B (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "b", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "b", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "C (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "c", - "modifiers": { - "mandatory": [ - "left_control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "C (Ctrl+Shift) [Only Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "c", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Switch Channels [Slack]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^com\\.tinyspeck\\.slackmacgap$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "k", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "k", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Spotlight [Only Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "spacebar", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "spacebar", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "I (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "i", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "i", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Win) [Login Window]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -suspend" - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Win) [Lock Screen]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "power", - "modifiers": [ - "control", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Alt+Ctrl) [Login Window]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "control", - "option" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -suspend" - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Alt+Ctrl) [Lock Screen]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "control", - "option" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "power", - "modifiers": [ - "control", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "N (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "n", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "n", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "O (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "o", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "o", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "P (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "p", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "p", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "R (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "r", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "r", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "S (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "s", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "s", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "T (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "t", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "t", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "U (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "u", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "u", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "V (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "v", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "V (Ctrl+Shift) [Only Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "v", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "W (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "w", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "w", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "X (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "x", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "x", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Y (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "y", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "y", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Z (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "z", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "z", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "1 (Cmd) [Open Finder]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "1", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b com.apple.finder" - } - ], - "type": "basic" - } - ] - }, - { - "description": "2 (Cmd) [Open first pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "2", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:0:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "3 (Cmd) [Open second pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "3", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:1:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "4 (Cmd) [Open third pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "4", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:2:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "5 (Cmd) [Open fourth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "5", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:3:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "6 (Cmd) [Open fifth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "6", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:4:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "7 (Cmd) [Open sixth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "7", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:5:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "8 (Cmd) [Open eighth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "8", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:6:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "9 (Cmd) [Open ninth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "9", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:7:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "/ (Ctrl) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "slash", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "slash", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Space (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "spacebar", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "spacebar", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F1", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f1", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "slash", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F3", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f3", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "g", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F4 (Alt) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f4", - "modifiers": { - "mandatory": [ - "option" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "q", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F4 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "f4", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "w", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - } - ] - }, - "devices": [ - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 0, - "vendor_id": 0 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 0, - "vendor_id": 0 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 50475, - "vendor_id": 1133 - }, - "ignore": true, - "manipulate_caps_lock_led": true, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 50475, - "vendor_id": 1133 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": true, - "is_pointing_device": true, - "product_id": 32774, - "vendor_id": 3141 - }, - "ignore": true, - "manipulate_caps_lock_led": true, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 32774, - "vendor_id": 3141 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "simple_modifications": [ - { - "from": { - "key_code": "left_command" - }, - "to": [ - { - "key_code": "left_option" - } - ] - }, - { - "from": { - "key_code": "left_option" - }, - "to": [ - { - "key_code": "left_command" - } - ] - } - ], - "treat_as_built_in_keyboard": false - } - ], - "fn_function_keys": [ - { - "from": { - "key_code": "f1" - }, - "to": [ - { - "consumer_key_code": "display_brightness_decrement" - } - ] - }, - { - "from": { - "key_code": "f2" - }, - "to": [ - { - "consumer_key_code": "display_brightness_increment" - } - ] - }, - { - "from": { - "key_code": "f3" - }, - "to": [ - { - "apple_vendor_keyboard_key_code": "mission_control" - } - ] - }, - { - "from": { - "key_code": "f4" - }, - "to": [ - { - "apple_vendor_keyboard_key_code": "spotlight" - } - ] - }, - { - "from": { - "key_code": "f5" - }, - "to": [ - { - "consumer_key_code": "dictation" - } - ] - }, - { - "from": { - "key_code": "f6" - }, - "to": [ - { - "key_code": "f6" - } - ] - }, - { - "from": { - "key_code": "f7" - }, - "to": [ - { - "consumer_key_code": "rewind" - } - ] - }, - { - "from": { - "key_code": "f8" - }, - "to": [ - { - "consumer_key_code": "play_or_pause" - } - ] - }, - { - "from": { - "key_code": "f9" - }, - "to": [ - { - "consumer_key_code": "fast_forward" - } - ] - }, - { - "from": { - "key_code": "f10" - }, - "to": [ - { - "consumer_key_code": "mute" - } - ] - }, - { - "from": { - "key_code": "f11" - }, - "to": [ - { - "consumer_key_code": "volume_decrement" - } - ] - }, - { - "from": { - "key_code": "f12" - }, - "to": [ - { - "consumer_key_code": "volume_increment" - } - ] - } - ], - "name": "Default profile", - "parameters": { - "delay_milliseconds_before_open_device": 1000 - }, - "selected": true, - "simple_modifications": [ - { - "from": { - "key_code": "caps_lock" - }, - "to": [ - { - "key_code": "left_control" - } - ] - } - ], - "virtual_hid_keyboard": { - "country_code": 0, - "indicate_sticky_modifier_keys_state": true, - "mouse_key_xy_scale": 100 - } - } - ] -} diff --git a/dot_config/private_karabiner/private_automatic_backups/karabiner_20231130.json b/dot_config/private_karabiner/private_automatic_backups/karabiner_20231130.json deleted file mode 100644 index 5e2c3d8..0000000 --- a/dot_config/private_karabiner/private_automatic_backups/karabiner_20231130.json +++ /dev/null @@ -1,3126 +0,0 @@ -{ - "global": { - "ask_for_confirmation_before_quitting": true, - "check_for_updates_on_startup": true, - "show_in_menu_bar": true, - "show_profile_name_in_menu_bar": false, - "unsafe_ui": false - }, - "profiles": [ - { - "complex_modifications": { - "parameters": { - "basic.simultaneous_threshold_milliseconds": 50, - "basic.to_delayed_action_delay_milliseconds": 500, - "basic.to_if_alone_timeout_milliseconds": 1000, - "basic.to_if_held_down_threshold_milliseconds": 500, - "mouse_motion_to_scroll.speed": 100 - }, - "rules": [ - { - "description": "Insert (Ctrl) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Shift) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": [ - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": [ - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "up_arrow", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home (Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "mandatory": [ - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "up_arrow", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "down_arrow", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End (Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "mandatory": [ - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "down_arrow", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Left Arrow (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "left_arrow", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "option" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Left Arrow (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "left_arrow", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "option", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Right Arrow (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "right_arrow", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": [ - "option" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Right Arrow (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "right_arrow", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": [ - "option", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Backspace (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "delete_or_backspace", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "delete_or_backspace", - "modifiers": [ - "option" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Delete (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "delete_forward", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "delete_forward", - "modifiers": [ - "option" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Enter (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "return_or_enter", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Enter (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "return_or_enter", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "A (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "a", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "a", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "B (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "b", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "b", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "C (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "c", - "modifiers": { - "mandatory": [ - "left_control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "C (Ctrl+Shift) [Only Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "c", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Switch Channels [Slack]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^com\\.tinyspeck\\.slackmacgap$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "k", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "k", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Spotlight [Only Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "spacebar", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "spacebar", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "I (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "i", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "i", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Win) [Login Window]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -suspend" - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Win) [Lock Screen]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "power", - "modifiers": [ - "control", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Alt+Ctrl) [Login Window]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "control", - "option" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -suspend" - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Alt+Ctrl) [Lock Screen]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "control", - "option" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "power", - "modifiers": [ - "control", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "N (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "n", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "n", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "O (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "o", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "o", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "P (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "p", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "p", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "R (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "r", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "r", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "S (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "s", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "s", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "T (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "t", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "t", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "U (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "u", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "u", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "V (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "v", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "V (Ctrl+Shift) [Only Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "v", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "W (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "w", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "w", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "X (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "x", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "x", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Y (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "y", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "y", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Z (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "z", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "z", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "1 (Cmd) [Open Finder]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "1", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b com.apple.finder" - } - ], - "type": "basic" - } - ] - }, - { - "description": "2 (Cmd) [Open first pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "2", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:0:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "3 (Cmd) [Open second pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "3", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:1:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "4 (Cmd) [Open third pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "4", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:2:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "5 (Cmd) [Open fourth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "5", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:3:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "6 (Cmd) [Open fifth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "6", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:4:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "7 (Cmd) [Open sixth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "7", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:5:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "8 (Cmd) [Open eighth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "8", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:6:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "9 (Cmd) [Open ninth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "9", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:7:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "/ (Ctrl) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "slash", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "slash", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Space (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "spacebar", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "spacebar", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F1", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f1", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "slash", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F3", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f3", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "g", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F4 (Alt) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f4", - "modifiers": { - "mandatory": [ - "option" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "q", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F4 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "f4", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "w", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - } - ] - }, - "devices": [ - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 0, - "vendor_id": 0 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 0, - "vendor_id": 0 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 50475, - "vendor_id": 1133 - }, - "ignore": true, - "manipulate_caps_lock_led": true, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 50475, - "vendor_id": 1133 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": true, - "is_pointing_device": true, - "product_id": 32774, - "vendor_id": 3141 - }, - "ignore": true, - "manipulate_caps_lock_led": true, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 32774, - "vendor_id": 3141 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "simple_modifications": [ - { - "from": { - "key_code": "left_command" - }, - "to": [ - { - "key_code": "left_option" - } - ] - }, - { - "from": { - "key_code": "left_option" - }, - "to": [ - { - "key_code": "left_command" - } - ] - } - ], - "treat_as_built_in_keyboard": false - } - ], - "fn_function_keys": [ - { - "from": { - "key_code": "f1" - }, - "to": [ - { - "consumer_key_code": "display_brightness_decrement" - } - ] - }, - { - "from": { - "key_code": "f2" - }, - "to": [ - { - "consumer_key_code": "display_brightness_increment" - } - ] - }, - { - "from": { - "key_code": "f3" - }, - "to": [ - { - "apple_vendor_keyboard_key_code": "mission_control" - } - ] - }, - { - "from": { - "key_code": "f4" - }, - "to": [ - { - "apple_vendor_keyboard_key_code": "spotlight" - } - ] - }, - { - "from": { - "key_code": "f5" - }, - "to": [ - { - "consumer_key_code": "dictation" - } - ] - }, - { - "from": { - "key_code": "f6" - }, - "to": [ - { - "key_code": "f6" - } - ] - }, - { - "from": { - "key_code": "f7" - }, - "to": [ - { - "consumer_key_code": "rewind" - } - ] - }, - { - "from": { - "key_code": "f8" - }, - "to": [ - { - "consumer_key_code": "play_or_pause" - } - ] - }, - { - "from": { - "key_code": "f9" - }, - "to": [ - { - "consumer_key_code": "fast_forward" - } - ] - }, - { - "from": { - "key_code": "f10" - }, - "to": [ - { - "consumer_key_code": "mute" - } - ] - }, - { - "from": { - "key_code": "f11" - }, - "to": [ - { - "consumer_key_code": "volume_decrement" - } - ] - }, - { - "from": { - "key_code": "f12" - }, - "to": [ - { - "consumer_key_code": "volume_increment" - } - ] - } - ], - "name": "Default profile", - "parameters": { - "delay_milliseconds_before_open_device": 1000 - }, - "selected": true, - "simple_modifications": [ - { - "from": { - "key_code": "caps_lock" - }, - "to": [ - { - "key_code": "left_control" - } - ] - } - ], - "virtual_hid_keyboard": { - "country_code": 0, - "indicate_sticky_modifier_keys_state": true, - "mouse_key_xy_scale": 100 - } - } - ] -} \ No newline at end of file diff --git a/dot_config/private_karabiner/private_automatic_backups/karabiner_20240108.json b/dot_config/private_karabiner/private_automatic_backups/karabiner_20240108.json deleted file mode 100644 index b1eb810..0000000 --- a/dot_config/private_karabiner/private_automatic_backups/karabiner_20240108.json +++ /dev/null @@ -1,3214 +0,0 @@ -{ - "global": { - "ask_for_confirmation_before_quitting": true, - "check_for_updates_on_startup": true, - "show_in_menu_bar": true, - "show_profile_name_in_menu_bar": false, - "unsafe_ui": false - }, - "profiles": [ - { - "complex_modifications": { - "parameters": { - "basic.simultaneous_threshold_milliseconds": 50, - "basic.to_delayed_action_delay_milliseconds": 500, - "basic.to_if_alone_timeout_milliseconds": 1000, - "basic.to_if_held_down_threshold_milliseconds": 500, - "mouse_motion_to_scroll.speed": 100 - }, - "rules": [ - { - "description": "Insert (Ctrl) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Shift) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": [ - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": [ - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "up_arrow", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home (Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "mandatory": [ - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "up_arrow", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "down_arrow", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End (Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "mandatory": [ - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "down_arrow", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Left Arrow (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "left_arrow", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "option" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Left Arrow (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "left_arrow", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "option", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Right Arrow (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "right_arrow", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": [ - "option" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Right Arrow (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "right_arrow", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": [ - "option", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Backspace (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "delete_or_backspace", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "delete_or_backspace", - "modifiers": [ - "option" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Delete (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "delete_forward", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "delete_forward", - "modifiers": [ - "option" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Enter (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "return_or_enter", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Enter (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "return_or_enter", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "A (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "a", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "a", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "B (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "b", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "b", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "C (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "c", - "modifiers": { - "mandatory": [ - "left_control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "C (Ctrl+Shift) [Only Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "c", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Switch Channels [Slack]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^com\\.tinyspeck\\.slackmacgap$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "k", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "k", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Spotlight [Only Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "spacebar", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "spacebar", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "I (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "i", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "i", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Win) [Login Window]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -suspend" - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Win) [Lock Screen]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "power", - "modifiers": [ - "control", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Alt+Ctrl) [Login Window]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "control", - "option" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -suspend" - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Alt+Ctrl) [Lock Screen]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "control", - "option" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "power", - "modifiers": [ - "control", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "N (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "n", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "n", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "O (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "o", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "o", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "P (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "p", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "p", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "R (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "r", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "r", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "S (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "s", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "s", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "T (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "t", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "t", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "U (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "u", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "u", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "V (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "v", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "V (Ctrl+Shift) [Only Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "v", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "W (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "w", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "w", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "X (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "x", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "x", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Y (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "y", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "y", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Z (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "z", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "z", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "1 (Cmd) [Open Finder]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "1", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b com.apple.finder" - } - ], - "type": "basic" - } - ] - }, - { - "description": "2 (Cmd) [Open first pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "2", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:0:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "3 (Cmd) [Open second pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "3", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:1:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "4 (Cmd) [Open third pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "4", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:2:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "5 (Cmd) [Open fourth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "5", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:3:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "6 (Cmd) [Open fifth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "6", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:4:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "7 (Cmd) [Open sixth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "7", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:5:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "8 (Cmd) [Open eighth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "8", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:6:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "9 (Cmd) [Open ninth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "9", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:7:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "/ (Ctrl) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "slash", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "slash", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Space (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "spacebar", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "spacebar", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F1", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f1", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "slash", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F3", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f3", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "g", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F4 (Alt) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f4", - "modifiers": { - "mandatory": [ - "option" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "q", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F4 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "f4", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "w", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - } - ] - }, - "devices": [ - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 0, - "vendor_id": 0 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 0, - "vendor_id": 0 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "simple_modifications": [ - { - "from": { - "key_code": "caps_lock" - }, - "to": [ - { - "key_code": "left_command" - } - ] - } - ], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 50475, - "vendor_id": 1133 - }, - "ignore": true, - "manipulate_caps_lock_led": true, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 50475, - "vendor_id": 1133 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": true, - "is_pointing_device": true, - "product_id": 32774, - "vendor_id": 3141 - }, - "ignore": true, - "manipulate_caps_lock_led": true, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 32774, - "vendor_id": 3141 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "simple_modifications": [ - { - "from": { - "key_code": "left_command" - }, - "to": [ - { - "key_code": "left_option" - } - ] - }, - { - "from": { - "key_code": "left_option" - }, - "to": [ - { - "key_code": "left_command" - } - ] - } - ], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 29699, - "vendor_id": 3141 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "simple_modifications": [ - { - "from": { - "key_code": "left_option" - }, - "to": [ - { - "key_code": "left_command" - } - ] - }, - { - "from": { - "key_code": "left_command" - }, - "to": [ - { - "key_code": "left_option" - } - ] - } - ], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 29699, - "vendor_id": 3141 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 50504, - "vendor_id": 1133 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 50504, - "vendor_id": 1133 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - } - ], - "fn_function_keys": [ - { - "from": { - "key_code": "f1" - }, - "to": [ - { - "consumer_key_code": "display_brightness_decrement" - } - ] - }, - { - "from": { - "key_code": "f2" - }, - "to": [ - { - "consumer_key_code": "display_brightness_increment" - } - ] - }, - { - "from": { - "key_code": "f3" - }, - "to": [ - { - "apple_vendor_keyboard_key_code": "mission_control" - } - ] - }, - { - "from": { - "key_code": "f4" - }, - "to": [ - { - "apple_vendor_keyboard_key_code": "spotlight" - } - ] - }, - { - "from": { - "key_code": "f5" - }, - "to": [ - { - "consumer_key_code": "dictation" - } - ] - }, - { - "from": { - "key_code": "f6" - }, - "to": [ - { - "key_code": "f6" - } - ] - }, - { - "from": { - "key_code": "f7" - }, - "to": [ - { - "consumer_key_code": "rewind" - } - ] - }, - { - "from": { - "key_code": "f8" - }, - "to": [ - { - "consumer_key_code": "play_or_pause" - } - ] - }, - { - "from": { - "key_code": "f9" - }, - "to": [ - { - "consumer_key_code": "fast_forward" - } - ] - }, - { - "from": { - "key_code": "f10" - }, - "to": [ - { - "consumer_key_code": "mute" - } - ] - }, - { - "from": { - "key_code": "f11" - }, - "to": [ - { - "consumer_key_code": "volume_decrement" - } - ] - }, - { - "from": { - "key_code": "f12" - }, - "to": [ - { - "consumer_key_code": "volume_increment" - } - ] - } - ], - "name": "Default profile", - "parameters": { - "delay_milliseconds_before_open_device": 1000 - }, - "selected": true, - "simple_modifications": [ - { - "from": { - "key_code": "caps_lock" - }, - "to": [ - { - "key_code": "left_control" - } - ] - } - ], - "virtual_hid_keyboard": { - "country_code": 0, - "indicate_sticky_modifier_keys_state": true, - "mouse_key_xy_scale": 100 - } - } - ] -} \ No newline at end of file diff --git a/dot_config/private_karabiner/private_automatic_backups/karabiner_20240109.json b/dot_config/private_karabiner/private_automatic_backups/karabiner_20240109.json deleted file mode 100644 index abace6a..0000000 --- a/dot_config/private_karabiner/private_automatic_backups/karabiner_20240109.json +++ /dev/null @@ -1,3461 +0,0 @@ -{ - "global": { - "ask_for_confirmation_before_quitting": true, - "check_for_updates_on_startup": true, - "show_in_menu_bar": true, - "show_profile_name_in_menu_bar": false, - "unsafe_ui": false - }, - "profiles": [ - { - "complex_modifications": { - "parameters": { - "basic.simultaneous_threshold_milliseconds": 50, - "basic.to_delayed_action_delay_milliseconds": 500, - "basic.to_if_alone_timeout_milliseconds": 1000, - "basic.to_if_held_down_threshold_milliseconds": 500, - "mouse_motion_to_scroll.speed": 100 - }, - "rules": [ - { - "description": "G (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "g", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "g", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "f", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "f", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "4 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "4", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "4", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "3 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "3", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "3", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "2 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "2", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "2", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "1 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "1", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "1", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Ctrl) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Shift) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": [ - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": [ - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "up_arrow", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home (Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "mandatory": [ - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "up_arrow", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "down_arrow", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End (Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "mandatory": [ - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "down_arrow", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Left Arrow (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "left_arrow", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "option" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Left Arrow (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "left_arrow", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "option", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Right Arrow (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "right_arrow", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": [ - "option" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Right Arrow (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "right_arrow", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": [ - "option", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Backspace (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "delete_or_backspace", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "delete_or_backspace", - "modifiers": [ - "option" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Delete (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "delete_forward", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "delete_forward", - "modifiers": [ - "option" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Enter (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "return_or_enter", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Enter (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "return_or_enter", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "A (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "a", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "a", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "B (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "b", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "b", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "C (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "c", - "modifiers": { - "mandatory": [ - "left_control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "C (Ctrl+Shift) [Only Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "c", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Switch Channels [Slack]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^com\\.tinyspeck\\.slackmacgap$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "k", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "k", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Spotlight [Only Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "spacebar", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "spacebar", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "I (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "i", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "i", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Win) [Login Window]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -suspend" - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Win) [Lock Screen]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "power", - "modifiers": [ - "control", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Alt+Ctrl) [Login Window]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "control", - "option" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -suspend" - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Alt+Ctrl) [Lock Screen]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "control", - "option" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "power", - "modifiers": [ - "control", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "N (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "n", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "n", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "O (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "o", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "o", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "P (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "p", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "p", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "R (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "r", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "r", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "S (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "s", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "s", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "T (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "t", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "t", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "U (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "u", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "u", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "V (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "v", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "V (Ctrl+Shift) [Only Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "v", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "W (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "w", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "w", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "X (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "x", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "x", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Y (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "y", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "y", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Z (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "z", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "z", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "1 (Cmd) [Open Finder]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "1", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b com.apple.finder" - } - ], - "type": "basic" - } - ] - }, - { - "description": "3 (Cmd) [Open second pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "3", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:1:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "4 (Cmd) [Open third pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "4", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:2:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "5 (Cmd) [Open fourth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "5", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:3:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "6 (Cmd) [Open fifth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "6", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:4:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "7 (Cmd) [Open sixth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "7", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:5:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "8 (Cmd) [Open eighth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "8", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:6:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "9 (Cmd) [Open ninth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "9", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:7:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "/ (Ctrl) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "slash", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "slash", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Space (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "spacebar", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "spacebar", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F1", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f1", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "slash", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F3", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f3", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "g", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F4 (Alt) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f4", - "modifiers": { - "mandatory": [ - "option" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "q", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F4 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "f4", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "w", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - } - ] - }, - "devices": [ - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 0, - "vendor_id": 0 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 0, - "vendor_id": 0 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [ - { - "from": { - "key_code": "caps_lock" - }, - "to": [ - { - "key_code": "left_command" - } - ] - } - ], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 50475, - "vendor_id": 1133 - }, - "ignore": true, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 50475, - "vendor_id": 1133 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": true, - "is_pointing_device": true, - "product_id": 32774, - "vendor_id": 3141 - }, - "ignore": true, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 32774, - "vendor_id": 3141 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [ - { - "from": { - "key_code": "left_command" - }, - "to": [ - { - "key_code": "left_option" - } - ] - }, - { - "from": { - "key_code": "left_option" - }, - "to": [ - { - "key_code": "left_command" - } - ] - } - ], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 29699, - "vendor_id": 3141 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [ - { - "from": { - "key_code": "left_command" - }, - "to": [ - { - "key_code": "left_option" - } - ] - }, - { - "from": { - "key_code": "left_option" - }, - "to": [ - { - "key_code": "left_command" - } - ] - } - ], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 29699, - "vendor_id": 3141 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 50504, - "vendor_id": 1133 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 50504, - "vendor_id": 1133 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - } - ], - "fn_function_keys": [ - { - "from": { - "key_code": "f1" - }, - "to": [ - { - "consumer_key_code": "display_brightness_decrement" - } - ] - }, - { - "from": { - "key_code": "f2" - }, - "to": [ - { - "consumer_key_code": "display_brightness_increment" - } - ] - }, - { - "from": { - "key_code": "f3" - }, - "to": [ - { - "apple_vendor_keyboard_key_code": "mission_control" - } - ] - }, - { - "from": { - "key_code": "f4" - }, - "to": [ - { - "apple_vendor_keyboard_key_code": "spotlight" - } - ] - }, - { - "from": { - "key_code": "f5" - }, - "to": [ - { - "consumer_key_code": "dictation" - } - ] - }, - { - "from": { - "key_code": "f6" - }, - "to": [ - { - "key_code": "f6" - } - ] - }, - { - "from": { - "key_code": "f7" - }, - "to": [ - { - "consumer_key_code": "rewind" - } - ] - }, - { - "from": { - "key_code": "f8" - }, - "to": [ - { - "consumer_key_code": "play_or_pause" - } - ] - }, - { - "from": { - "key_code": "f9" - }, - "to": [ - { - "consumer_key_code": "fast_forward" - } - ] - }, - { - "from": { - "key_code": "f10" - }, - "to": [ - { - "consumer_key_code": "mute" - } - ] - }, - { - "from": { - "key_code": "f11" - }, - "to": [ - { - "consumer_key_code": "volume_decrement" - } - ] - }, - { - "from": { - "key_code": "f12" - }, - "to": [ - { - "consumer_key_code": "volume_increment" - } - ] - } - ], - "name": "Default profile", - "parameters": { - "delay_milliseconds_before_open_device": 1000 - }, - "selected": true, - "simple_modifications": [ - { - "from": { - "key_code": "caps_lock" - }, - "to": [ - { - "key_code": "left_control" - } - ] - } - ], - "virtual_hid_keyboard": { - "country_code": 0, - "indicate_sticky_modifier_keys_state": true, - "mouse_key_xy_scale": 100 - } - } - ] -} \ No newline at end of file diff --git a/dot_config/private_karabiner/private_automatic_backups/karabiner_20250127.json b/dot_config/private_karabiner/private_automatic_backups/karabiner_20250127.json deleted file mode 100644 index 8b34fbb..0000000 --- a/dot_config/private_karabiner/private_automatic_backups/karabiner_20250127.json +++ /dev/null @@ -1,3557 +0,0 @@ -{ - "global": { - "ask_for_confirmation_before_quitting": true, - "check_for_updates_on_startup": true, - "show_in_menu_bar": true, - "show_profile_name_in_menu_bar": false, - "unsafe_ui": false - }, - "profiles": [ - { - "complex_modifications": { - "parameters": { - "basic.simultaneous_threshold_milliseconds": 50, - "basic.to_delayed_action_delay_milliseconds": 500, - "basic.to_if_alone_timeout_milliseconds": 1000, - "basic.to_if_held_down_threshold_milliseconds": 500, - "mouse_motion_to_scroll.speed": 100 - }, - "rules": [ - { - "description": "L (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "l", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "New Alacritty", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "return_or_enter", - "modifiers": { - "mandatory": [ - "shift", - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -n /Applications/Alacritty.app" - } - ], - "type": "basic" - } - ] - }, - { - "description": "G (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "g", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "g", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "f", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "f", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "4 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "4", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "4", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "3 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "3", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "3", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "2 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "2", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "2", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "1 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "1", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "1", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Ctrl) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Shift) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": [ - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": [ - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "up_arrow", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home (Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "mandatory": [ - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "up_arrow", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "down_arrow", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End (Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "mandatory": [ - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "down_arrow", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Left Arrow (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "left_arrow", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "option" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Left Arrow (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "left_arrow", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "option", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Right Arrow (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "right_arrow", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": [ - "option" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Right Arrow (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "right_arrow", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": [ - "option", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Backspace (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "delete_or_backspace", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "delete_or_backspace", - "modifiers": [ - "option" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Delete (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "delete_forward", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "delete_forward", - "modifiers": [ - "option" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Enter (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "return_or_enter", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Enter (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "return_or_enter", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "A (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "a", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "a", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "B (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "b", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "b", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "C (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "c", - "modifiers": { - "mandatory": [ - "left_control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "C (Ctrl+Shift) [Only Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "c", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Switch Channels [Slack]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^com\\.tinyspeck\\.slackmacgap$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "k", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "k", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Spotlight [Only Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "spacebar", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "spacebar", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "I (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "i", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "i", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Win) [Login Window]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -suspend" - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Win) [Lock Screen]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "power", - "modifiers": [ - "control", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Alt+Ctrl) [Login Window]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "control", - "option" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -suspend" - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Alt+Ctrl) [Lock Screen]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "control", - "option" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "power", - "modifiers": [ - "control", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "N (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "n", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "n", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "O (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "o", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "o", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "P (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "p", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "p", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "R (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "r", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "r", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "S (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "s", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "s", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "T (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "t", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "t", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "U (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "u", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "u", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "V (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "v", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "V (Ctrl+Shift) [Only Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "v", - "modifiers": { - "mandatory": [ - "control", - "shift" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "W (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "w", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "w", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "X (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "x", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "x", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Y (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "y", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "y", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Z (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "z", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "z", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "1 (Cmd) [Open Finder]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "1", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b com.apple.finder" - } - ], - "type": "basic" - } - ] - }, - { - "description": "3 (Cmd) [Open second pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "3", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:1:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "4 (Cmd) [Open third pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "4", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:2:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "5 (Cmd) [Open fourth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "5", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:3:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "6 (Cmd) [Open fifth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "6", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:4:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "7 (Cmd) [Open sixth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "7", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:5:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "8 (Cmd) [Open eighth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "8", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:6:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "9 (Cmd) [Open ninth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "9", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:7:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" - } - ], - "type": "basic" - } - ] - }, - { - "description": "/ (Ctrl) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "slash", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "slash", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Space (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "spacebar", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "spacebar", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F1", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f1", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "slash", - "modifiers": [ - "command", - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F3", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f3", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "g", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F4 (Alt) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$" - ], - "file_paths": [ - "Chrome Remote Desktop\\.app" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f4", - "modifiers": { - "mandatory": [ - "option" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "q", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F4 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "f4", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "w", - "modifiers": [ - "command" - ] - } - ], - "type": "basic" - } - ] - } - ] - }, - "devices": [ - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 0, - "vendor_id": 0 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 0, - "vendor_id": 0 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [ - { - "from": { - "key_code": "caps_lock" - }, - "to": [ - { - "key_code": "left_command" - } - ] - } - ], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 50475, - "vendor_id": 1133 - }, - "ignore": true, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 50475, - "vendor_id": 1133 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": true, - "is_pointing_device": true, - "product_id": 32774, - "vendor_id": 3141 - }, - "ignore": true, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 32774, - "vendor_id": 3141 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [ - { - "from": { - "key_code": "left_command" - }, - "to": [ - { - "key_code": "left_option" - } - ] - }, - { - "from": { - "key_code": "left_option" - }, - "to": [ - { - "key_code": "left_command" - } - ] - } - ], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 29699, - "vendor_id": 3141 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [ - { - "from": { - "key_code": "left_command" - }, - "to": [ - { - "key_code": "left_option" - } - ] - }, - { - "from": { - "key_code": "left_option" - }, - "to": [ - { - "key_code": "left_command" - } - ] - } - ], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 29699, - "vendor_id": 3141 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 50504, - "vendor_id": 1133 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 50504, - "vendor_id": 1133 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - } - ], - "fn_function_keys": [ - { - "from": { - "key_code": "f1" - }, - "to": [ - { - "consumer_key_code": "display_brightness_decrement" - } - ] - }, - { - "from": { - "key_code": "f2" - }, - "to": [ - { - "consumer_key_code": "display_brightness_increment" - } - ] - }, - { - "from": { - "key_code": "f3" - }, - "to": [ - { - "apple_vendor_keyboard_key_code": "mission_control" - } - ] - }, - { - "from": { - "key_code": "f4" - }, - "to": [ - { - "apple_vendor_keyboard_key_code": "spotlight" - } - ] - }, - { - "from": { - "key_code": "f5" - }, - "to": [ - { - "consumer_key_code": "dictation" - } - ] - }, - { - "from": { - "key_code": "f6" - }, - "to": [ - { - "key_code": "f6" - } - ] - }, - { - "from": { - "key_code": "f7" - }, - "to": [ - { - "consumer_key_code": "rewind" - } - ] - }, - { - "from": { - "key_code": "f8" - }, - "to": [ - { - "consumer_key_code": "play_or_pause" - } - ] - }, - { - "from": { - "key_code": "f9" - }, - "to": [ - { - "consumer_key_code": "fast_forward" - } - ] - }, - { - "from": { - "key_code": "f10" - }, - "to": [ - { - "consumer_key_code": "mute" - } - ] - }, - { - "from": { - "key_code": "f11" - }, - "to": [ - { - "consumer_key_code": "volume_decrement" - } - ] - }, - { - "from": { - "key_code": "f12" - }, - "to": [ - { - "consumer_key_code": "volume_increment" - } - ] - } - ], - "name": "Default profile", - "parameters": { - "delay_milliseconds_before_open_device": 1000 - }, - "selected": true, - "simple_modifications": [ - { - "from": { - "key_code": "caps_lock" - }, - "to": [ - { - "key_code": "left_control" - } - ] - } - ], - "virtual_hid_keyboard": { - "country_code": 0, - "indicate_sticky_modifier_keys_state": true, - "mouse_key_xy_scale": 100 - } - } - ] -} \ No newline at end of file diff --git a/dot_config/private_karabiner/private_automatic_backups/karabiner_20250428.json b/dot_config/private_karabiner/private_automatic_backups/karabiner_20250428.json deleted file mode 100644 index 468f05b..0000000 --- a/dot_config/private_karabiner/private_automatic_backups/karabiner_20250428.json +++ /dev/null @@ -1,2649 +0,0 @@ -{ - "profiles": [ - { - "complex_modifications": { - "rules": [ - { - "description": "L (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "l", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "l", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "New Alacritty", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "return_or_enter", - "modifiers": { - "mandatory": ["shift", "command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -n /Applications/Alacritty.app" }], - "type": "basic" - } - ] - }, - { - "description": "G (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "g", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "g", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "f", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "f", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "4 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "4", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "4", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "3 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "3", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "3", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "2 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "2", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "2", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "1 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "1", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "1", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Ctrl) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Shift) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": ["shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": ["shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { "optional": ["any"] } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "up_arrow", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home (Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "mandatory": ["shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": ["command", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "mandatory": ["control", "shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "up_arrow", - "modifiers": ["command", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { "optional": ["any"] } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "down_arrow", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End (Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "mandatory": ["shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": ["command", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "mandatory": ["control", "shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "down_arrow", - "modifiers": ["command", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Left Arrow (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "left_arrow", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": ["option"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Left Arrow (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "left_arrow", - "modifiers": { - "mandatory": ["control", "shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": ["option", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Right Arrow (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "right_arrow", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": ["option"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Right Arrow (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "right_arrow", - "modifiers": { - "mandatory": ["control", "shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": ["option", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Backspace (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "delete_or_backspace", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "delete_or_backspace", - "modifiers": ["option"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Delete (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "delete_forward", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "delete_forward", - "modifiers": ["option"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Enter (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "return_or_enter", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Enter (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "return_or_enter", - "modifiers": { - "mandatory": ["control", "shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": ["command", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "A (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "a", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "a", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "B (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "b", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "b", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "C (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "c", - "modifiers": { - "mandatory": ["left_control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "C (Ctrl+Shift) [Only Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "c", - "modifiers": { - "mandatory": ["control", "shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Switch Channels [Slack]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^com\\.tinyspeck\\.slackmacgap$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "k", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "k", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Spotlight [Only Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "spacebar", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "spacebar", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "I (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "i", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "i", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Win) [Login Window]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -suspend" }], - "type": "basic" - } - ] - }, - { - "description": "L (Win) [Lock Screen]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "power", - "modifiers": ["control", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Alt+Ctrl) [Login Window]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": ["control", "option"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -suspend" }], - "type": "basic" - } - ] - }, - { - "description": "L (Alt+Ctrl) [Lock Screen]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": ["control", "option"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "power", - "modifiers": ["control", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "N (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "n", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "n", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "O (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "o", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "o", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "P (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "p", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "p", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "R (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "r", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "r", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "S (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "s", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "s", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "T (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "t", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "t", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "U (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "u", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "u", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "V (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "v", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "V (Ctrl+Shift) [Only Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "v", - "modifiers": { - "mandatory": ["control", "shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "W (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "w", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "w", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "X (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "x", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "x", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Y (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "y", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "y", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Z (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "z", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "z", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "1 (Cmd) [Open Finder]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "1", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -b com.apple.finder" }], - "type": "basic" - } - ] - }, - { - "description": "3 (Cmd) [Open second pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "3", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:1:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" }], - "type": "basic" - } - ] - }, - { - "description": "4 (Cmd) [Open third pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "4", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:2:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" }], - "type": "basic" - } - ] - }, - { - "description": "5 (Cmd) [Open fourth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "5", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:3:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" }], - "type": "basic" - } - ] - }, - { - "description": "6 (Cmd) [Open fifth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "6", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:4:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" }], - "type": "basic" - } - ] - }, - { - "description": "7 (Cmd) [Open sixth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "7", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:5:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" }], - "type": "basic" - } - ] - }, - { - "description": "8 (Cmd) [Open eighth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "8", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:6:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" }], - "type": "basic" - } - ] - }, - { - "description": "9 (Cmd) [Open ninth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "9", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:7:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" }], - "type": "basic" - } - ] - }, - { - "description": "/ (Ctrl) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "slash", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "slash", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Space (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "spacebar", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "spacebar", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F1", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f1", - "modifiers": { "optional": ["any"] } - }, - "to": [ - { - "key_code": "slash", - "modifiers": ["command", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F3", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f3", - "modifiers": { "optional": ["any"] } - }, - "to": [ - { - "key_code": "g", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F4 (Alt) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f4", - "modifiers": { - "mandatory": ["option"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "q", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F4 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "f4", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "w", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - } - ] - }, - "devices": [ - { - "identifiers": { "is_pointing_device": true }, - "simple_modifications": [ - { - "from": { "key_code": "caps_lock" }, - "to": [{ "key_code": "left_command" }] - } - ] - }, - { - "identifiers": { - "is_keyboard": true, - "product_id": 50475, - "vendor_id": 1133 - }, - "ignore": true - }, - { - "identifiers": { - "is_keyboard": true, - "product_id": 32774, - "vendor_id": 3141 - }, - "simple_modifications": [ - { - "from": { "key_code": "left_command" }, - "to": [{ "key_code": "left_option" }] - }, - { - "from": { "key_code": "left_option" }, - "to": [{ "key_code": "left_command" }] - } - ] - }, - { - "identifiers": { - "is_keyboard": true, - "product_id": 29699, - "vendor_id": 3141 - }, - "simple_modifications": [ - { - "from": { "key_code": "left_command" }, - "to": [{ "key_code": "left_option" }] - }, - { - "from": { "key_code": "left_option" }, - "to": [{ "key_code": "left_command" }] - } - ] - } - ], - "name": "Default profile", - "selected": true, - "simple_modifications": [ - { - "from": { "key_code": "caps_lock" }, - "to": [{ "key_code": "left_control" }] - } - ], - "virtual_hid_keyboard": { - "country_code": 0, - "keyboard_type_v2": "ansi" - } - } - ] -} \ No newline at end of file diff --git a/dot_config/private_karabiner/private_automatic_backups/karabiner_20250715.json b/dot_config/private_karabiner/private_automatic_backups/karabiner_20250715.json deleted file mode 100644 index 468f05b..0000000 --- a/dot_config/private_karabiner/private_automatic_backups/karabiner_20250715.json +++ /dev/null @@ -1,2649 +0,0 @@ -{ - "profiles": [ - { - "complex_modifications": { - "rules": [ - { - "description": "L (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "l", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "l", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "New Alacritty", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "return_or_enter", - "modifiers": { - "mandatory": ["shift", "command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -n /Applications/Alacritty.app" }], - "type": "basic" - } - ] - }, - { - "description": "G (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "g", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "g", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "f", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "f", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "4 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "4", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "4", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "3 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "3", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "3", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "2 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "2", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "2", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "1 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "1", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "1", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Ctrl) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Shift) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": ["shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": ["shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { "optional": ["any"] } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "up_arrow", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home (Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "mandatory": ["shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": ["command", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "mandatory": ["control", "shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "up_arrow", - "modifiers": ["command", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { "optional": ["any"] } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "down_arrow", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End (Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "mandatory": ["shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": ["command", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "mandatory": ["control", "shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "down_arrow", - "modifiers": ["command", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Left Arrow (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "left_arrow", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": ["option"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Left Arrow (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "left_arrow", - "modifiers": { - "mandatory": ["control", "shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": ["option", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Right Arrow (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "right_arrow", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": ["option"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Right Arrow (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "right_arrow", - "modifiers": { - "mandatory": ["control", "shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": ["option", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Backspace (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "delete_or_backspace", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "delete_or_backspace", - "modifiers": ["option"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Delete (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "delete_forward", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "delete_forward", - "modifiers": ["option"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Enter (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "return_or_enter", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Enter (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "return_or_enter", - "modifiers": { - "mandatory": ["control", "shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": ["command", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "A (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "a", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "a", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "B (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "b", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "b", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "C (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "c", - "modifiers": { - "mandatory": ["left_control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "C (Ctrl+Shift) [Only Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "c", - "modifiers": { - "mandatory": ["control", "shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Switch Channels [Slack]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^com\\.tinyspeck\\.slackmacgap$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "k", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "k", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Spotlight [Only Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "spacebar", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "spacebar", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "I (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "i", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "i", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Win) [Login Window]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -suspend" }], - "type": "basic" - } - ] - }, - { - "description": "L (Win) [Lock Screen]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "power", - "modifiers": ["control", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Alt+Ctrl) [Login Window]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": ["control", "option"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -suspend" }], - "type": "basic" - } - ] - }, - { - "description": "L (Alt+Ctrl) [Lock Screen]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": ["control", "option"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "power", - "modifiers": ["control", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "N (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "n", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "n", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "O (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "o", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "o", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "P (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "p", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "p", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "R (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "r", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "r", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "S (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "s", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "s", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "T (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "t", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "t", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "U (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "u", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "u", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "V (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "v", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "V (Ctrl+Shift) [Only Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "v", - "modifiers": { - "mandatory": ["control", "shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "W (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "w", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "w", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "X (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "x", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "x", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Y (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "y", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "y", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Z (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "z", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "z", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "1 (Cmd) [Open Finder]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "1", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -b com.apple.finder" }], - "type": "basic" - } - ] - }, - { - "description": "3 (Cmd) [Open second pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "3", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:1:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" }], - "type": "basic" - } - ] - }, - { - "description": "4 (Cmd) [Open third pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "4", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:2:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" }], - "type": "basic" - } - ] - }, - { - "description": "5 (Cmd) [Open fourth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "5", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:3:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" }], - "type": "basic" - } - ] - }, - { - "description": "6 (Cmd) [Open fifth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "6", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:4:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" }], - "type": "basic" - } - ] - }, - { - "description": "7 (Cmd) [Open sixth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "7", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:5:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" }], - "type": "basic" - } - ] - }, - { - "description": "8 (Cmd) [Open eighth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "8", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:6:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" }], - "type": "basic" - } - ] - }, - { - "description": "9 (Cmd) [Open ninth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "9", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:7:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" }], - "type": "basic" - } - ] - }, - { - "description": "/ (Ctrl) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "slash", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "slash", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Space (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "spacebar", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "spacebar", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F1", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f1", - "modifiers": { "optional": ["any"] } - }, - "to": [ - { - "key_code": "slash", - "modifiers": ["command", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F3", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f3", - "modifiers": { "optional": ["any"] } - }, - "to": [ - { - "key_code": "g", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F4 (Alt) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f4", - "modifiers": { - "mandatory": ["option"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "q", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F4 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "f4", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "w", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - } - ] - }, - "devices": [ - { - "identifiers": { "is_pointing_device": true }, - "simple_modifications": [ - { - "from": { "key_code": "caps_lock" }, - "to": [{ "key_code": "left_command" }] - } - ] - }, - { - "identifiers": { - "is_keyboard": true, - "product_id": 50475, - "vendor_id": 1133 - }, - "ignore": true - }, - { - "identifiers": { - "is_keyboard": true, - "product_id": 32774, - "vendor_id": 3141 - }, - "simple_modifications": [ - { - "from": { "key_code": "left_command" }, - "to": [{ "key_code": "left_option" }] - }, - { - "from": { "key_code": "left_option" }, - "to": [{ "key_code": "left_command" }] - } - ] - }, - { - "identifiers": { - "is_keyboard": true, - "product_id": 29699, - "vendor_id": 3141 - }, - "simple_modifications": [ - { - "from": { "key_code": "left_command" }, - "to": [{ "key_code": "left_option" }] - }, - { - "from": { "key_code": "left_option" }, - "to": [{ "key_code": "left_command" }] - } - ] - } - ], - "name": "Default profile", - "selected": true, - "simple_modifications": [ - { - "from": { "key_code": "caps_lock" }, - "to": [{ "key_code": "left_control" }] - } - ], - "virtual_hid_keyboard": { - "country_code": 0, - "keyboard_type_v2": "ansi" - } - } - ] -} \ No newline at end of file diff --git a/dot_config/private_karabiner/private_automatic_backups/karabiner_20250903.json b/dot_config/private_karabiner/private_automatic_backups/karabiner_20250903.json deleted file mode 100644 index 7b4ce17..0000000 --- a/dot_config/private_karabiner/private_automatic_backups/karabiner_20250903.json +++ /dev/null @@ -1,2650 +0,0 @@ -{ - "global": { "show_in_menu_bar": false }, - "profiles": [ - { - "complex_modifications": { - "rules": [ - { - "description": "L (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "l", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "l", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "New Alacritty", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "return_or_enter", - "modifiers": { - "mandatory": ["shift", "command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -n /Applications/Alacritty.app" }], - "type": "basic" - } - ] - }, - { - "description": "G (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "g", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "g", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "f", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "f", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "4 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "4", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "4", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "3 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "3", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "3", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "2 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "2", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "2", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "1 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "1", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "1", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Ctrl) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Shift) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": ["shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": ["shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { "optional": ["any"] } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "up_arrow", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home (Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "mandatory": ["shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": ["command", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "mandatory": ["control", "shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "up_arrow", - "modifiers": ["command", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { "optional": ["any"] } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "down_arrow", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End (Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "mandatory": ["shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": ["command", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "mandatory": ["control", "shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "down_arrow", - "modifiers": ["command", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Left Arrow (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "left_arrow", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": ["option"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Left Arrow (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "left_arrow", - "modifiers": { - "mandatory": ["control", "shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": ["option", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Right Arrow (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "right_arrow", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": ["option"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Right Arrow (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "right_arrow", - "modifiers": { - "mandatory": ["control", "shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": ["option", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Backspace (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "delete_or_backspace", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "delete_or_backspace", - "modifiers": ["option"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Delete (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "delete_forward", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "delete_forward", - "modifiers": ["option"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Enter (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "return_or_enter", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Enter (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "return_or_enter", - "modifiers": { - "mandatory": ["control", "shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": ["command", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "A (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "a", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "a", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "B (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "b", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "b", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "C (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "c", - "modifiers": { - "mandatory": ["left_control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "C (Ctrl+Shift) [Only Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "c", - "modifiers": { - "mandatory": ["control", "shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Switch Channels [Slack]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^com\\.tinyspeck\\.slackmacgap$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "k", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "k", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Spotlight [Only Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "spacebar", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "spacebar", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "I (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "i", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "i", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Win) [Login Window]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -suspend" }], - "type": "basic" - } - ] - }, - { - "description": "L (Win) [Lock Screen]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "power", - "modifiers": ["control", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Alt+Ctrl) [Login Window]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": ["control", "option"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -suspend" }], - "type": "basic" - } - ] - }, - { - "description": "L (Alt+Ctrl) [Lock Screen]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": ["control", "option"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "power", - "modifiers": ["control", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "N (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "n", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "n", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "O (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "o", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "o", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "P (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "p", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "p", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "R (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "r", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "r", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "S (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "s", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "s", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "T (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "t", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "t", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "U (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "u", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "u", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "V (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "v", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "V (Ctrl+Shift) [Only Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "v", - "modifiers": { - "mandatory": ["control", "shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "W (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "w", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "w", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "X (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "x", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "x", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Y (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "y", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "y", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Z (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "z", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "z", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "1 (Cmd) [Open Finder]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "1", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -b com.apple.finder" }], - "type": "basic" - } - ] - }, - { - "description": "3 (Cmd) [Open second pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "3", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:1:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" }], - "type": "basic" - } - ] - }, - { - "description": "4 (Cmd) [Open third pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "4", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:2:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" }], - "type": "basic" - } - ] - }, - { - "description": "5 (Cmd) [Open fourth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "5", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:3:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" }], - "type": "basic" - } - ] - }, - { - "description": "6 (Cmd) [Open fifth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "6", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:4:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" }], - "type": "basic" - } - ] - }, - { - "description": "7 (Cmd) [Open sixth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "7", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:5:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" }], - "type": "basic" - } - ] - }, - { - "description": "8 (Cmd) [Open eighth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "8", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:6:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" }], - "type": "basic" - } - ] - }, - { - "description": "9 (Cmd) [Open ninth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "9", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:7:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" }], - "type": "basic" - } - ] - }, - { - "description": "/ (Ctrl) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "slash", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "slash", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Space (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "spacebar", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "spacebar", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F1", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f1", - "modifiers": { "optional": ["any"] } - }, - "to": [ - { - "key_code": "slash", - "modifiers": ["command", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F3", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f3", - "modifiers": { "optional": ["any"] } - }, - "to": [ - { - "key_code": "g", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F4 (Alt) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f4", - "modifiers": { - "mandatory": ["option"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "q", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F4 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "f4", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "w", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - } - ] - }, - "devices": [ - { - "identifiers": { "is_pointing_device": true }, - "simple_modifications": [ - { - "from": { "key_code": "caps_lock" }, - "to": [{ "key_code": "left_command" }] - } - ] - }, - { - "identifiers": { - "is_keyboard": true, - "product_id": 50475, - "vendor_id": 1133 - }, - "ignore": true - }, - { - "identifiers": { - "is_keyboard": true, - "product_id": 32774, - "vendor_id": 3141 - }, - "simple_modifications": [ - { - "from": { "key_code": "left_command" }, - "to": [{ "key_code": "left_option" }] - }, - { - "from": { "key_code": "left_option" }, - "to": [{ "key_code": "left_command" }] - } - ] - }, - { - "identifiers": { - "is_keyboard": true, - "product_id": 29699, - "vendor_id": 3141 - }, - "simple_modifications": [ - { - "from": { "key_code": "left_command" }, - "to": [{ "key_code": "left_option" }] - }, - { - "from": { "key_code": "left_option" }, - "to": [{ "key_code": "left_command" }] - } - ] - } - ], - "name": "Default profile", - "selected": true, - "simple_modifications": [ - { - "from": { "key_code": "caps_lock" }, - "to": [{ "key_code": "left_control" }] - } - ], - "virtual_hid_keyboard": { - "country_code": 0, - "keyboard_type_v2": "ansi" - } - } - ] -} \ No newline at end of file diff --git a/dot_config/private_karabiner/private_karabiner.json b/dot_config/private_karabiner/private_karabiner.json deleted file mode 100644 index 88189fd..0000000 --- a/dot_config/private_karabiner/private_karabiner.json +++ /dev/null @@ -1,2782 +0,0 @@ -{ - "global": { "show_in_menu_bar": false }, - "profiles": [ - { - "complex_modifications": { - "rules": [ - { - "description": "K Command as K Option [Terminal]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "k", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "k", - "modifiers": ["option"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "J Command as J Option [Terminal]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "j", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "j", - "modifiers": ["option"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "L Command as L Option [Terminal]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "l", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "l", - "modifiers": ["option"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "H Command as H Option [Terminal]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "h", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "h", - "modifiers": ["option"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "l", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "l", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "New Alacritty", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "return_or_enter", - "modifiers": { - "mandatory": ["shift", "command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -n /Applications/Alacritty.app" }], - "type": "basic" - } - ] - }, - { - "description": "G (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "g", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "g", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "f", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "f", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "4 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "4", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "4", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "3 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "3", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "3", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "2 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "2", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "2", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "1 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.mozilla\\.firefox$", - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "1", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "1", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Ctrl) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Shift) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": ["shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Insert (Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "insert", - "modifiers": { - "mandatory": ["shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { "optional": ["any"] } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "up_arrow", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home (Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "mandatory": ["shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": ["command", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Home (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "home", - "modifiers": { - "mandatory": ["control", "shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "up_arrow", - "modifiers": ["command", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { "optional": ["any"] } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "down_arrow", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End (Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "mandatory": ["shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": ["command", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "End (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "end", - "modifiers": { - "mandatory": ["control", "shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "down_arrow", - "modifiers": ["command", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Left Arrow (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "left_arrow", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": ["option"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Left Arrow (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "left_arrow", - "modifiers": { - "mandatory": ["control", "shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": ["option", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Right Arrow (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "right_arrow", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": ["option"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Right Arrow (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "right_arrow", - "modifiers": { - "mandatory": ["control", "shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": ["option", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Backspace (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "delete_or_backspace", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "delete_or_backspace", - "modifiers": ["option"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Delete (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "delete_forward", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "delete_forward", - "modifiers": ["option"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Enter (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "return_or_enter", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Enter (Ctrl+Shift)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "return_or_enter", - "modifiers": { - "mandatory": ["control", "shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": ["command", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "A (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "a", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "a", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "B (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "b", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "b", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "C (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "c", - "modifiers": { - "mandatory": ["left_control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "C (Ctrl+Shift) [Only Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "c", - "modifiers": { - "mandatory": ["control", "shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "c", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Switch Channels [Slack]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^com\\.tinyspeck\\.slackmacgap$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "k", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "k", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Spotlight [Only Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "spacebar", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "spacebar", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "I (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "i", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "i", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Win) [Login Window]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -suspend" }], - "type": "basic" - } - ] - }, - { - "description": "L (Win) [Lock Screen]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "power", - "modifiers": ["control", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "L (Alt+Ctrl) [Login Window]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": ["control", "option"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -suspend" }], - "type": "basic" - } - ] - }, - { - "description": "L (Alt+Ctrl) [Lock Screen]", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": ["control", "option"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "power", - "modifiers": ["control", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "N (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "n", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "n", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "O (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "o", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "o", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "P (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "p", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "p", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "R (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "r", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "r", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "S (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "s", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "s", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "T (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "t", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "t", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "U (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "u", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "u", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "V (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "v", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "V (Ctrl+Shift) [Only Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "v", - "modifiers": { - "mandatory": ["control", "shift"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "v", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "W (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "w", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "w", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "X (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "x", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "x", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Y (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "y", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "y", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Z (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "z", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "z", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "1 (Cmd) [Open Finder]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "1", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -b com.apple.finder" }], - "type": "basic" - } - ] - }, - { - "description": "3 (Cmd) [Open second pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "3", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:1:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" }], - "type": "basic" - } - ] - }, - { - "description": "4 (Cmd) [Open third pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "4", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:2:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" }], - "type": "basic" - } - ] - }, - { - "description": "5 (Cmd) [Open fourth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "5", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:3:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" }], - "type": "basic" - } - ] - }, - { - "description": "6 (Cmd) [Open fifth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "6", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:4:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" }], - "type": "basic" - } - ] - }, - { - "description": "7 (Cmd) [Open sixth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "7", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:5:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" }], - "type": "basic" - } - ] - }, - { - "description": "8 (Cmd) [Open eighth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "8", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:6:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" }], - "type": "basic" - } - ] - }, - { - "description": "9 (Cmd) [Open ninth pinned Dock app]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "9", - "modifiers": { - "mandatory": ["command"], - "optional": ["any"] - } - }, - "to": [{ "shell_command": "open -b $(/usr/libexec/PlistBuddy -c 'print :persistent-apps:7:tile-data:bundle-identifier' ~/Library/Preferences/com.apple.dock.plist)" }], - "type": "basic" - } - ] - }, - { - "description": "/ (Ctrl) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "slash", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "slash", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Space (Ctrl)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "spacebar", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "spacebar", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F1", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f1", - "modifiers": { "optional": ["any"] } - }, - "to": [ - { - "key_code": "slash", - "modifiers": ["command", "shift"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F3", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$", - "^org\\.alacritty$", - "^co\\.zeit\\.hyper$", - "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$", - "^com\\.github\\.wez\\.wezterm$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f3", - "modifiers": { "optional": ["any"] } - }, - "to": [ - { - "key_code": "g", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F4 (Alt) [+Terminal Emulators]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.vmware\\.fusion$", - "^org\\.gnu\\.emacs$", - "^com\\.jetbrains", - "^com\\.microsoft\\.VSCode$", - "^com\\.sublimetext\\.3$", - "^net\\.kovidgoyal\\.kitty$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.microsoft\\.rdc\\.macos$" - ], - "file_paths": ["Chrome Remote Desktop\\.app"], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f4", - "modifiers": { - "mandatory": ["option"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "q", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "F4 (Ctrl) [Only Chrome]", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^com\\.google\\.Chrome$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "f4", - "modifiers": { - "mandatory": ["control"], - "optional": ["any"] - } - }, - "to": [ - { - "key_code": "w", - "modifiers": ["command"] - } - ], - "type": "basic" - } - ] - } - ] - }, - "devices": [ - { - "identifiers": { "is_pointing_device": true }, - "simple_modifications": [ - { - "from": { "key_code": "caps_lock" }, - "to": [{ "key_code": "left_command" }] - } - ] - }, - { - "identifiers": { - "is_keyboard": true, - "product_id": 50475, - "vendor_id": 1133 - }, - "ignore": true - }, - { - "identifiers": { - "is_keyboard": true, - "product_id": 32774, - "vendor_id": 3141 - }, - "simple_modifications": [ - { - "from": { "key_code": "left_command" }, - "to": [{ "key_code": "left_option" }] - }, - { - "from": { "key_code": "left_option" }, - "to": [{ "key_code": "left_command" }] - } - ] - }, - { - "identifiers": { - "is_keyboard": true, - "product_id": 29699, - "vendor_id": 3141 - }, - "simple_modifications": [ - { - "from": { "key_code": "left_command" }, - "to": [{ "key_code": "left_option" }] - }, - { - "from": { "key_code": "left_option" }, - "to": [{ "key_code": "left_command" }] - } - ] - } - ], - "name": "Default profile", - "selected": true, - "simple_modifications": [ - { - "from": { "key_code": "caps_lock" }, - "to": [{ "key_code": "left_control" }] - } - ], - "virtual_hid_keyboard": { - "country_code": 0, - "keyboard_type_v2": "ansi" - } - } - ] -} \ No newline at end of file diff --git a/dot_config/rofi/config.rasi b/dot_config/rofi/config.rasi deleted file mode 100644 index 523ae81..0000000 --- a/dot_config/rofi/config.rasi +++ /dev/null @@ -1,3 +0,0 @@ -//@theme "/home/barak/.local/share/rofi/themes/spotlight-dark.rasi" -//@theme "/home/barak/.local/share/rofi/themes/rounded-blue-dark.rasi" -@theme "/home/barak/.local/share/rofi/themes/spotlight-dark.rasi" diff --git a/dot_config/symlink_nvim b/dot_config/symlink_nvim deleted file mode 100644 index b68ce03..0000000 --- a/dot_config/symlink_nvim +++ /dev/null @@ -1 +0,0 @@ -../.vim diff --git a/dot_config/systemd/user/default.target.wants/symlink_ssh-agent.service.tmpl b/dot_config/systemd/user/default.target.wants/symlink_ssh-agent.service.tmpl deleted file mode 100644 index 50da24d..0000000 --- a/dot_config/systemd/user/default.target.wants/symlink_ssh-agent.service.tmpl +++ /dev/null @@ -1 +0,0 @@ -{{- .chezmoi.homeDir}}/.config/systemd/user/ssh-agent.service diff --git a/dot_config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml b/dot_config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml deleted file mode 100644 index d13769e..0000000 --- a/dot_config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml +++ /dev/null @@ -1,97 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<channel name="xfwm4" version="1.0"> - <property name="general" type="empty"> - <property name="activate_action" type="string" value="bring"/> - <property name="box_move" type="bool" value="false"/> - <property name="box_resize" type="bool" value="false"/> - <property name="button_layout" type="string" value="O|SHMC"/> - <property name="button_offset" type="int" value="0"/> - <property name="button_spacing" type="int" value="0"/> - <property name="click_to_focus" type="bool" value="true"/> - <property name="cycle_apps_only" type="bool" value="false"/> - <property name="cycle_draw_frame" type="bool" value="true"/> - <property name="cycle_preview" type="bool" value="true"/> - <property name="double_click_distance" type="int" value="5"/> - <property name="double_click_time" type="int" value="250"/> - <property name="focus_delay" type="int" value="250"/> - <property name="focus_new" type="bool" value="true"/> - <property name="frame_opacity" type="int" value="100"/> - <property name="full_width_title" type="bool" value="true"/> - <property name="maximized_offset" type="int" value="0"/> - <property name="mousewheel_rollup" type="bool" value="true"/> - <property name="placement_mode" type="string" value="center"/> - <property name="raise_delay" type="int" value="250"/> - <property name="raise_on_click" type="bool" value="true"/> - <property name="raise_on_focus" type="bool" value="false"/> - <property name="repeat_urgent_blink" type="bool" value="false"/> - <property name="scroll_workspaces" type="bool" value="true"/> - <property name="shadow_delta_height" type="int" value="0"/> - <property name="shadow_delta_width" type="int" value="0"/> - <property name="shadow_delta_x" type="int" value="0"/> - <property name="shadow_delta_y" type="int" value="-3"/> - <property name="shadow_opacity" type="int" value="50"/> - <property name="show_app_icon" type="bool" value="false"/> - <property name="show_dock_shadow" type="bool" value="true"/> - <property name="show_frame_shadow" type="bool" value="true"/> - <property name="show_popup_shadow" type="bool" value="false"/> - <property name="snap_to_border" type="bool" value="true"/> - <property name="snap_to_windows" type="bool" value="false"/> - <property name="snap_width" type="int" value="10"/> - <property name="theme" type="string" value="Default"/> - <property name="title_alignment" type="string" value="center"/> - <property name="title_font" type="string" value="Sans Bold 9"/> - <property name="title_horizontal_offset" type="int" value="0"/> - <property name="title_shadow_active" type="string" value="false"/> - <property name="title_shadow_inactive" type="string" value="false"/> - <property name="title_vertical_offset_active" type="int" value="0"/> - <property name="title_vertical_offset_inactive" type="int" value="0"/> - <property name="urgent_blink" type="bool" value="false"/> - <property name="use_compositing" type="bool" value="true"/> - <property name="workspace_count" type="int" value="5"/> - <property name="workspace_names" type="array"> - <value type="string" value="1"/> - <value type="string" value="2"/> - <value type="string" value="3"/> - <value type="string" value="5"/> - <value type="string" value="6"/> - <value type="string" value="7"/> - <value type="string" value="9"/> - <value type="string" value="Workspace 8"/> - <value type="string" value="9"/> - </property> - <property name="wrap_resistance" type="int" value="10"/> - <property name="wrap_windows" type="bool" value="true"/> - <property name="wrap_workspaces" type="bool" value="false"/> - <property name="borderless_maximize" type="bool" value="true"/> - <property name="cycle_hidden" type="bool" value="true"/> - <property name="cycle_minimum" type="bool" value="true"/> - <property name="cycle_tabwin_mode" type="int" value="0"/> - <property name="cycle_workspaces" type="bool" value="false"/> - <property name="double_click_action" type="string" value="maximize"/> - <property name="easy_click" type="string" value="Alt"/> - <property name="focus_hint" type="bool" value="true"/> - <property name="horiz_scroll_opacity" type="bool" value="false"/> - <property name="inactive_opacity" type="int" value="100"/> - <property name="move_opacity" type="int" value="100"/> - <property name="placement_ratio" type="int" value="20"/> - <property name="popup_opacity" type="int" value="100"/> - <property name="prevent_focus_stealing" type="bool" value="false"/> - <property name="raise_with_any_button" type="bool" value="true"/> - <property name="resize_opacity" type="int" value="100"/> - <property name="snap_resist" type="bool" value="false"/> - <property name="sync_to_vblank" type="bool" value="false"/> - <property name="tile_on_move" type="bool" value="true"/> - <property name="titleless_maximize" type="bool" value="false"/> - <property name="toggle_workspaces" type="bool" value="false"/> - <property name="unredirect_overlays" type="bool" value="true"/> - <property name="wrap_cycle" type="bool" value="true"/> - <property name="wrap_layout" type="bool" value="true"/> - <property name="zoom_desktop" type="bool" value="true"/> - <property name="cycle_raise" type="bool" value="false"/> - <property name="cycle_minimized" type="bool" value="false"/> - <property name="frame_border_top" type="int" value="0"/> - <property name="vblank_mode" type="string" value="auto"/> - <property name="zoom_pointer" type="bool" value="true"/> - </property> -</channel> diff --git a/dot_gitignore b/dot_gitignore deleted file mode 100644 index 93bfd12..0000000 --- a/dot_gitignore +++ /dev/null @@ -1,2 +0,0 @@ -*~ -.DS_Store diff --git a/dot_local/share/rofi/themes/rounded-blue-dark.rasi b/dot_local/share/rofi/themes/rounded-blue-dark.rasi deleted file mode 100644 index 712d714..0000000 --- a/dot_local/share/rofi/themes/rounded-blue-dark.rasi +++ /dev/null @@ -1,18 +0,0 @@ -/******************************************************************************* - * ROUNDED THEME FOR ROFI - * User : LR-Tech - * Theme Repo : https://github.com/lr-tech/rofi-themes-collection - *******************************************************************************/ - -* { - bg0: #212121F2; - bg1: #2A2A2A; - bg2: #3D3D3D80; - bg3: #1A73E8F2; - fg0: #E6E6E6; - fg1: #FFFFFF; - fg2: #969696; - fg3: #3D3D3D; -} - -@import "rounded-common.rasi" diff --git a/dot_local/share/rofi/themes/rounded-common.rasi b/dot_local/share/rofi/themes/rounded-common.rasi deleted file mode 100644 index 5072337..0000000 --- a/dot_local/share/rofi/themes/rounded-common.rasi +++ /dev/null @@ -1,94 +0,0 @@ -/******************************************************************************* - * ROUNDED THEME FOR ROFI - * User : LR-Tech - * Theme Repo : https://github.com/lr-tech/rofi-themes-collection - *******************************************************************************/ - -* { - font: "Roboto 12"; - - background-color: transparent; - text-color: @fg0; - - margin: 0px; - padding: 0px; - spacing: 0px; -} - -window { - location: center; - width: 480; - y-offset: -200; - border-radius: 24px; - - background-color: @bg0; -} - -mainbox { - padding: 12px; -} - -inputbar { - background-color: @bg1; - border-color: @bg3; - - border: 2px; - border-radius: 16px; - - padding: 8px 16px; - spacing: 8px; - children: [ prompt, entry ]; -} - -prompt { - text-color: @fg2; -} - -entry { - placeholder: "Search"; - placeholder-color: @fg3; -} - -message { - margin: 12px 0 0; - border-radius: 16px; - border-color: @bg2; - background-color: @bg2; -} - -textbox { - padding: 8px 24px; -} - -listview { - background-color: transparent; - - margin: 12px 0 0; - lines: 8; - columns: 1; - - fixed-height: false; -} - -element { - padding: 8px 16px; - spacing: 8px; - border-radius: 16px; -} - -element normal active { - text-color: @bg3; -} - -element selected normal, element selected active { - background-color: @bg3; -} - -element-icon { - size: 1em; - vertical-align: 0.5; -} - -element-text { - text-color: inherit; -} diff --git a/dot_local/share/rofi/themes/rounded-gray-dark.rasi b/dot_local/share/rofi/themes/rounded-gray-dark.rasi deleted file mode 100644 index 943280d..0000000 --- a/dot_local/share/rofi/themes/rounded-gray-dark.rasi +++ /dev/null @@ -1,18 +0,0 @@ -/******************************************************************************* - * ROUNDED THEME FOR ROFI - * User : LR-Tech - * Theme Repo : https://github.com/lr-tech/rofi-themes-collection - *******************************************************************************/ - -* { - bg0: #212121F2; - bg1: #2A2A2A; - bg2: #3D3D3D80; - bg3: #616161F2; - fg0: #E6E6E6; - fg1: #FFFFFF; - fg2: #969696; - fg3: #3D3D3D; -} - -@import "rounded-common.rasi" diff --git a/dot_local/share/rofi/themes/rounded-green-dark.rasi b/dot_local/share/rofi/themes/rounded-green-dark.rasi deleted file mode 100644 index a268f62..0000000 --- a/dot_local/share/rofi/themes/rounded-green-dark.rasi +++ /dev/null @@ -1,18 +0,0 @@ -/******************************************************************************* - * ROUNDED THEME FOR ROFI - * User : LR-Tech - * Theme Repo : https://github.com/lr-tech/rofi-themes-collection - *******************************************************************************/ - -* { - bg0: #212121F2; - bg1: #2A2A2A; - bg2: #3D3D3D80; - bg3: #4CAF50F2; - fg0: #E6E6E6; - fg1: #FFFFFF; - fg2: #969696; - fg3: #3D3D3D; -} - -@import "rounded-common.rasi" diff --git a/dot_local/share/rofi/themes/rounded-nord-dark.rasi b/dot_local/share/rofi/themes/rounded-nord-dark.rasi deleted file mode 100644 index ef35389..0000000 --- a/dot_local/share/rofi/themes/rounded-nord-dark.rasi +++ /dev/null @@ -1,22 +0,0 @@ -/******************************************************************************* - * ROUNDED THEME FOR ROFI - * User : LR-Tech - * Theme Repo : https://github.com/lr-tech/rofi-themes-collection - *******************************************************************************/ - -* { - bg0: #2E3440F2; - bg1: #3B4252; - bg2: #4C566A80; - bg3: #88C0D0F2; - fg0: #D8DEE9; - fg1: #ECEFF4; - fg2: #D8DEE9; - fg3: #4C566A; -} - -@import "rounded-common.rasi" - -element selected { - text-color: @bg1; -} diff --git a/dot_local/share/rofi/themes/rounded-orange-dark.rasi b/dot_local/share/rofi/themes/rounded-orange-dark.rasi deleted file mode 100644 index da4acea..0000000 --- a/dot_local/share/rofi/themes/rounded-orange-dark.rasi +++ /dev/null @@ -1,18 +0,0 @@ -/******************************************************************************* - * ROUNDED THEME FOR ROFI - * User : LR-Tech - * Theme Repo : https://github.com/lr-tech/rofi-themes-collection - *******************************************************************************/ - -* { - bg0: #212121F2; - bg1: #2A2A2A; - bg2: #3D3D3D80; - bg3: #F57C00F2; - fg0: #E6E6E6; - fg1: #FFFFFF; - fg2: #969696; - fg3: #3D3D3D; -} - -@import "rounded-common.rasi" diff --git a/dot_local/share/rofi/themes/rounded-pink-dark.rasi b/dot_local/share/rofi/themes/rounded-pink-dark.rasi deleted file mode 100644 index 2288dc0..0000000 --- a/dot_local/share/rofi/themes/rounded-pink-dark.rasi +++ /dev/null @@ -1,18 +0,0 @@ -/******************************************************************************* - * ROUNDED THEME FOR ROFI - * User : LR-Tech - * Theme Repo : https://github.com/lr-tech/rofi-themes-collection - *******************************************************************************/ - -* { - bg0: #212121F2; - bg1: #2A2A2A; - bg2: #3D3D3D80; - bg3: #EC407AF2; - fg0: #E6E6E6; - fg1: #FFFFFF; - fg2: #969696; - fg3: #3D3D3D; -} - -@import "rounded-common.rasi" diff --git a/dot_local/share/rofi/themes/rounded-purple-dark.rasi b/dot_local/share/rofi/themes/rounded-purple-dark.rasi deleted file mode 100644 index 55c651b..0000000 --- a/dot_local/share/rofi/themes/rounded-purple-dark.rasi +++ /dev/null @@ -1,18 +0,0 @@ -/******************************************************************************* - * ROUNDED THEME FOR ROFI - * User : LR-Tech - * Theme Repo : https://github.com/lr-tech/rofi-themes-collection - *******************************************************************************/ - -* { - bg0: #212121F2; - bg1: #2A2A2A; - bg2: #3D3D3D80; - bg3: #AB47BCF2; - fg0: #E6E6E6; - fg1: #FFFFFF; - fg2: #969696; - fg3: #3D3D3D; -} - -@import "rounded-common.rasi" diff --git a/dot_local/share/rofi/themes/rounded-red-dark.rasi b/dot_local/share/rofi/themes/rounded-red-dark.rasi deleted file mode 100644 index c1d71a6..0000000 --- a/dot_local/share/rofi/themes/rounded-red-dark.rasi +++ /dev/null @@ -1,18 +0,0 @@ -/******************************************************************************* - * ROUNDED THEME FOR ROFI - * User : LR-Tech - * Theme Repo : https://github.com/lr-tech/rofi-themes-collection - *******************************************************************************/ - -* { - bg0: #212121F2; - bg1: #2A2A2A; - bg2: #3D3D3D80; - bg3: #E53935F2; - fg0: #E6E6E6; - fg1: #FFFFFF; - fg2: #969696; - fg3: #3D3D3D; -} - -@import "rounded-common.rasi" diff --git a/dot_local/share/rofi/themes/rounded-yellow-dark.rasi b/dot_local/share/rofi/themes/rounded-yellow-dark.rasi deleted file mode 100644 index dbdaeb3..0000000 --- a/dot_local/share/rofi/themes/rounded-yellow-dark.rasi +++ /dev/null @@ -1,18 +0,0 @@ -/******************************************************************************* - * ROUNDED THEME FOR ROFI - * User : LR-Tech - * Theme Repo : https://github.com/lr-tech/rofi-themes-collection - *******************************************************************************/ - -* { - bg0: #212121F2; - bg1: #2A2A2A; - bg2: #3D3D3D80; - bg3: #FBC02DF2; - fg0: #E6E6E6; - fg1: #FFFFFF; - fg2: #969696; - fg3: #3D3D3D; -} - -@import "rounded-common.rasi" diff --git a/dot_local/share/rofi/themes/spotlight-dark.rasi b/dot_local/share/rofi/themes/spotlight-dark.rasi deleted file mode 100644 index b61bc21..0000000 --- a/dot_local/share/rofi/themes/spotlight-dark.rasi +++ /dev/null @@ -1,99 +0,0 @@ -/******************************************************************************* - * MACOS SPOTLIGHT LIKE DARK THEME FOR ROFI - * User : LR-Tech - * Theme Repo : https://github.com/lr-tech/rofi-themes-collection - *******************************************************************************/ - -* { - font: "Montserrat 18"; - - bg0: #242424E6; - bg1: #7E7E7E80; - bg2: #0860f2E6; - - fg0: #DEDEDE; - fg1: #FFFFFF; - fg2: #DEDEDE80; - - background-color: transparent; - text-color: @fg0; - - margin: 0.1em; - padding: 0; - spacing: 0; -} - -window { - background-color: @bg0; - - location: center; - width: 640; - y-offset: -200; - border-radius: 8; -} - -inputbar { - font: "Montserrat 32"; - padding: 12px; - spacing: 12px; - children: [ icon-search, entry ]; -} - -icon-search { - expand: false; - filename: "search"; - size: 28px; -} - -icon-search, entry, element-icon, element-text { - vertical-align: 0.5; -} - -entry { - font: inherit; - - placeholder : "Search"; - placeholder-color : @fg2; -} - -message { - border: 2px 0 0; - border-color: @bg1; - background-color: @bg1; -} - -textbox { - padding: 8px 24px; -} - -listview { - lines: 10; - columns: 1; - - fixed-height: false; - border: 1px 0 0; - border-color: @bg1; -} - -element { - padding: 8px 16px; - spacing: 16px; - background-color: transparent; -} - -element normal active { - text-color: @bg2; -} - -element selected normal, element selected active { - background-color: @bg2; - text-color: @fg1; -} - -element-icon { - size: 1em; -} - -element-text { - text-color: inherit; -} diff --git a/dot_local/share/rofi/themes/spotlight.rasi b/dot_local/share/rofi/themes/spotlight.rasi deleted file mode 100644 index 3f17463..0000000 --- a/dot_local/share/rofi/themes/spotlight.rasi +++ /dev/null @@ -1,99 +0,0 @@ -/******************************************************************************* - * MACOS SPOTLIGHT LIKE THEME FOR ROFI - * User : LR-Tech - * Theme Repo : https://github.com/lr-tech/rofi-themes-collection - *******************************************************************************/ - -* { - font: "Montserrat 12"; - - bg0: #F5F5F5BF; - bg1: #7E7E7E80; - bg2: #0860F2E6; - - fg0: #242424; - fg1: #FFFFFF; - fg2: #24242480; - - background-color: transparent; - text-color: @fg0; - - margin: 0; - padding: 0; - spacing: 0; -} - -window { - background-color: @bg0; - - location: center; - width: 640; - y-offset: -200; - border-radius: 8; -} - -inputbar { - font: "Montserrat 20"; - padding: 12px; - spacing: 12px; - children: [ icon-search, entry ]; -} - -icon-search { - expand: false; - filename: "search"; - size: 28px; -} - -icon-search, entry, element-icon, element-text { - vertical-align: 0.5; -} - -entry { - font: inherit; - - placeholder : "Search"; - placeholder-color : @fg2; -} - -message { - border: 2px 0 0; - border-color: @bg1; - background-color: @bg1; -} - -textbox { - padding: 8px 24px; -} - -listview { - lines: 10; - columns: 1; - - fixed-height: false; - border: 1px 0 0; - border-color: @bg1; -} - -element { - padding: 8px 16px; - spacing: 16px; - background-color: transparent; -} - -element normal active { - text-color: @bg2; -} - -element selected normal, element selected active { - background-color: @bg2; - text-color: @fg1; -} - -element-icon { - size: 1em; -} - -element-text { - text-color: inherit; -} diff --git a/dot_local/share/symlink_fonts.tmpl b/dot_local/share/symlink_fonts.tmpl deleted file mode 100644 index 60362ac..0000000 --- a/dot_local/share/symlink_fonts.tmpl +++ /dev/null @@ -1 +0,0 @@ -{{- .chezmoi.homeDir }}/.fonts diff --git a/dot_tmux.conf b/dot_tmux.conf deleted file mode 100644 index c2aeef0..0000000 --- a/dot_tmux.conf +++ /dev/null @@ -1,135 +0,0 @@ -set -g prefix C-a -unbind C-b - -set -g base-index 1 -setw -g pane-base-index 1 - -# Make vim more responsive -set -sg escape-time 10 - -bind-key C-o last-window -# bind-key C-a select-pane -t :.+ -bind-key a send-prefix -bind r source-file ~/.tmux.conf -bind -n M-j select-pane -t :.+ -bind -n M-k select-pane -t :.- -#bind -n M-h select-pane -L -#bind -n M-l select-pane -R -bind -n M-n next-window -bind -n M-p previous-window -bind-key C-n next-window -bind-key C-p previous-window -set -g set-titles off -set -g mouse on -set -g default-terminal tmux-256color -#set-option -g default-shell /bin/fish -setw -g mode-keys vi -new -d - - -# shift-movement keys will resize panes -bind -r H resize-pane -L 5 -bind -r J resize-pane -D 5 -bind -r K resize-pane -U 5 -bind -r L resize-pane -R 5 - -# better mnemonics for splitting panes! -#bind | split-window -h -#bind - split-window -v - -bind-key h select-pane -L -bind-key k select-pane -U -bind-key j select-pane -D -bind-key l select-pane -R - -bind-key u break-pane -#bind-key sdf command-prompt -p "join pane from:" "join-pane -s '%%'" -bind-key y command-prompt -p "send pane to:" "join-pane -t :'%%' \; select-layout main-vertical" -bind-key Space rotate-window - -bind v split-window -h -bind Enter split-window -h \; select-layout main-vertical -bind = select-layout even-horizontal -bind | select-layout main-vertical -set -g main-pane-width 68% -bind-key C-t new-window "ttyd -R -d -t fontSize=18 tmux attach -t `tmux display -p '#S'`" - -# Status Bar -##set -g status-bg black -set -g status-interval 5 -##set -g status-left '#[fg=green]#H#[default]' -##set -g status-right '#[fg=green]#(~/src/tpom/tpom) #[fg=cyan,bold]%Y-%m-%d %H:%M:%S#[default]' -#set -g status-justify centre # center align window list -#set -g status-style fg=white,bg=default -set -g status-position top - -## default window title colors -#set-window-option -g window-status-style fg=white,bg=default,dim - -## active window title colors -#set -g main-pane-width 68% -#set-window-option -g window-status-current-style fg=cyan,bg=default,bright - -#set-window-option -g window-style fg=#999999,bg=terminal -#set-window-option -g window-active-style fg=terminal,bg=terminal - -#set -g status-left '#[fg=green][ #h ][' -#set -g status-left-length 40 -#set -g status-right '#[fg=green]][#(battery) #{pane_width}x#{pane_height} #[bright]#[fg=blue]%Y-%m-%d #[fg=white]%I:%M #[dim]#[fg=green]]' -#set -g status-right-length 40 -set-window-option -g window-status-activity-style none -# Notifying if other windows has activities -set -g monitor-activity on -set -g visual-activity off -set -g visual-bell on -set -g bell-action none -set -g activity-action none - -# Highlighting the active window in status bar -#setw -g window-status-current-style bg=red,bright - - -set -g @catppuccin_window_status "icon" -set -g @catppuccin_flavor 'mocha' # or frappe, macchiato, mocha - -set -g @catppuccin_window_status_style "rounded" - - -set -g @catppuccin_window_current_text_color "#4780d2" -set -g @catppuccin_window_current_number_color "#4780d2" -set -g @catppuccin_window_text_color "#{@thm_surface_1}" -set -g @catppuccin_window_number_color "#{@thm_surface_1}" - -set -g @catppuccin_window_text "#W " -set -g @catppuccin_window_number "#I" -set -g @catppuccin_window_current_text "#W " -set -g @catppuccin_window_current_number "#I" - -set -ogq @catppuccin_window_flags "icon" -set -ogq @catppuccin_window_flags_icon_last "󰖰" -set -ogq @catppuccin_window_flags_icon_current "󰫣" -set -ogq @catppuccin_window_flags_icon_zoom "󰁌" -set -ogq @catppuccin_window_flags_icon_mark "󰃀" -set -ogq @catppuccin_window_flags_icon_silent "󰂛" -set -ogq @catppuccin_window_flags_icon_activity "󱅫" -set -ogq @catppuccin_window_flags_icon_bell "󰂞" - -set -ogq @catppuccin_window_flags_icon_format "##{?window_activity_flag,#{E:@catppuccin_window_flags_icon_activity},}##{?window_bell_flag,#{E:@catppuccin_window_flags_icon_bell},}##{?window_silence_flag,#{E:@catppuccin_window_flags_icon_silent},}##{?window_active,#{E:@catppuccin_window_flags_icon_current},}##{?window_last_flag,#{E:@catppuccin_window_flags_icon_last},}##{?window_marked_flag,#{E:@catppuccin_window_flags_icon_mark},}##{?window_zoomed_flag,#{E:@catppuccin_window_flags_icon_zoom},}" - -run '~/.tmux/plugins/tmux/catppuccin.tmux' - -set -g status-right-length 100 -set -g status-left-length 100 -set -g status-left "" -set -g status-right "#{E:@catppuccin_status_directory}" -set -agF status-right "#{E:@catppuccin_status_battery}" -set -ag status-right "#{E:@catppuccin_status_host}" -set -ag status-right "#{E:@catppuccin_status_date_time}" - -#set -g @catppuccin_directory_text " #{b:pane_current_path}" -set -g @plugin 'catppuccin/tmux' - - -set -g @plugin 'tmux-plugins/tmux-battery' -set -g @plugin 'tmux-plugins/tpm' -run -b '~/.tmux/plugins/tpm/tpm' diff --git a/dot_vim/after/ftplugin/qf.vim b/dot_vim/after/ftplugin/qf.vim deleted file mode 100644 index 0f10635..0000000 --- a/dot_vim/after/ftplugin/qf.vim +++ /dev/null @@ -1,2 +0,0 @@ -nmap <buffer> { <Plug>(qf_previous_file) -nmap <buffer> } <Plug>(qf_next_file) diff --git a/dot_vim/indent/gohtmltmpl.vim b/dot_vim/indent/gohtmltmpl.vim deleted file mode 100644 index 8cc544a..0000000 --- a/dot_vim/indent/gohtmltmpl.vim +++ /dev/null @@ -1,54 +0,0 @@ -if exists("b:did_indent") - finish -endif - -runtime! indent/html.vim - -" Indent Golang HTML templates -setlocal indentexpr=GetGoHTMLTmplIndent(v:lnum) -setlocal indentkeys+==else,=end - -" Only define the function once. -if exists("*GetGoHTMLTmplIndent") - finish -endif - -" don't spam the user when Vim is started in Vi compatibility mode -let s:cpo_save = &cpo -set cpo&vim - -function! GetGoHTMLTmplIndent(lnum) - " Get HTML indent - if exists('*HtmlIndent') - let ind = HtmlIndent() - else - let ind = HtmlIndentGet(a:lnum) - endif - - " The value of a single shift-width - if exists('*shiftwidth') - let sw = shiftwidth() - else - let sw = &sw - endif - - " If need to indent based on last line - let last_line = getline(a:lnum-1) - if last_line =~ '^\s*{{-\=\s*\%(if\|else\|range\|with\|define\|block\).*}}' - let ind += sw - endif - - " End of FuncMap block - let current_line = getline(a:lnum) - if current_line =~ '^\s*{{-\=\s*\%(else\|end\).*}}' - let ind -= sw - endif - - return ind -endfunction - -" restore Vi compatibility settings -let &cpo = s:cpo_save -unlet s:cpo_save - -" vim: sw=2 ts=2 et diff --git a/dot_vim/lua/avante_setup.lua b/dot_vim/lua/avante_setup.lua deleted file mode 100644 index 21a8ec3..0000000 --- a/dot_vim/lua/avante_setup.lua +++ /dev/null @@ -1,17 +0,0 @@ -require("avante_lib").load() -require("avante").setup({ - provider = "ollama", - auto_suggestions_provider = "ollama", - cursor_applying_provider = "ollama", - behavior = { - auto_suggestions = false, - enable_cursor_planning_mode = true, - }, - hints = { - enabled = false, - }, - ollama = { - endpoint = "http://127.0.0.1:11434", - model = "phi4:14b", - }, -}) diff --git a/dot_vim/lua/cmp_setup.lua b/dot_vim/lua/cmp_setup.lua deleted file mode 100644 index bbc30f0..0000000 --- a/dot_vim/lua/cmp_setup.lua +++ /dev/null @@ -1,117 +0,0 @@ -local cmp = require 'cmp' -local lspkind = require('lspkind') - ---lspkind.init({ ----- disables text annotations -----with_text = false, -----with_text = true, - ----- defines how annotations are shown ----- default: symbol ----- options: 'text', 'text_symbol', 'symbol_text', 'symbol' ---mode = 'symbol', - ----- default symbol map ----- can be either 'default' or 'codicons' ---preset = 'default', - ----- override preset symbols ----- default: {} -----symbol_map = { -----Method = 'm', -----Function = 'f', -----Text = 'txt', -----Constructor = 'new', -----Variable = 'var', -----Class = 'cls', -----Interface = 'iface', -----Module = 'mod', -----Property = 'prop', -----Unit = 'unit', -----Value = 'val', -----Enum = 'enum', -----Keyword = 'kw', -----Snippet = 'sn', -----Color = 'color', -----File = 'file', -----Folder = 'fold', -----EnumMember = 'enum', -----Constant = 'const', -----Struct = 'struct', -----}, ---}) - - -cmp.setup({ - snippet = { - -- REQUIRED - you must specify a snippet engine - expand = function(args) - require('snippy').expand_snippet(args.body) -- For `snippy` users. - -- vim.snippet.expand(args.body) -- For native neovim snippets (Neovim v0.10+) - end, - }, - formatting = { - format = lspkind.cmp_format({ - mode = 'symbol_text', -- show only symbol annotations - maxwidth = 50, -- prevent the popup from showing more than provided characters (e.g 50 will not show more than 50 characters) - -- can also be a function to dynamically calculate max width such as - -- maxwidth = function() return math.floor(0.45 * vim.o.columns) end, - ellipsis_char = '...', -- when popup menu exceed maxwidth, the truncated part would show ellipsis_char instead (must define maxwidth first) - show_labelDetails = true, -- show labelDetails in menu. Disabled by default - - -- The function below will be called before any actual modifications from lspkind - -- so that you can provide more controls on popup customization. (See [#30](https://github.com/onsails/lspkind-nvim/pull/30)) - before = function(entry, vim_item) - return vim_item - end - }) - }, - window = { - -- completion = cmp.config.window.bordered(), - -- documentation = cmp.config.window.bordered(), - }, - preselect = cmp.PreselectMode.None, - mapping = cmp.mapping.preset.insert { - ['<C-d>'] = cmp.mapping.scroll_docs(-4), - ['<C-f>'] = cmp.mapping.scroll_docs(4), - ['<C-Space>'] = cmp.mapping.complete {}, - ["<CR>"] = cmp.mapping({ - i = function(fallback) - if cmp.visible() and cmp.get_active_entry() then - cmp.confirm({ behavior = cmp.ConfirmBehavior.Replace, select = false }) - else - fallback() - end - end, - s = cmp.mapping.confirm({ select = true }), - c = cmp.mapping.confirm({ behavior = cmp.ConfirmBehavior.Replace, select = true }), - }), - ['<Tab>'] = cmp.mapping(function(fallback) - if cmp.visible() then - cmp.select_next_item() - --elseif luasnip.expand_or_jumpable() then - --luasnip.expand_or_jump() - else - fallback() - end - end, { 'i', 's' }), - ['<S-Tab>'] = cmp.mapping(function(fallback) - if cmp.visible() then - cmp.select_prev_item() - --elseif luasnip.jumpable(-1) then - --luasnip.jump(-1) - else - fallback() - end - end, { 'i', 's' }), - }, - sources = cmp.config.sources({ - { name = 'nvim_lsp' }, - -- { name = 'vsnip' }, -- For vsnip users. - -- { name = 'luasnip' }, -- For luasnip users. - -- { name = 'ultisnips' }, -- For ultisnips users. - { name = 'snippy' }, -- For snippy users. - --}, { - { name = 'buffer' }, - }) -}) diff --git a/dot_vim/lua/lir_setup.lua b/dot_vim/lua/lir_setup.lua deleted file mode 100644 index e559e37..0000000 --- a/dot_vim/lua/lir_setup.lua +++ /dev/null @@ -1,88 +0,0 @@ -local actions = require 'lir.actions' -local mark_actions = require 'lir.mark.actions' -local clipboard_actions = require 'lir.clipboard.actions' - -require 'lir'.setup { - show_hidden_files = false, - ignore = { ".DS_Store" }, -- { ".DS_Store", "node_modules" } etc. - devicons = { - enable = true, - highlight_dirname = true - }, - mappings = { - ['l'] = actions.edit, - ['<CR>'] = actions.edit, - ['<C-s>'] = actions.split, - ['<C-v>'] = actions.vsplit, - ['<C-t>'] = actions.tabedit, - - ['h'] = actions.up, - ['q'] = actions.quit, - - ['K'] = actions.mkdir, - ['N'] = actions.newfile, - ['R'] = actions.rename, - ['@'] = actions.cd, - ['Y'] = actions.yank_path, - ['.'] = actions.toggle_show_hidden, - ['D'] = actions.delete, - - ['J'] = function() - mark_actions.toggle_mark() - vim.cmd('normal! j') - end, - ['C'] = clipboard_actions.copy, - ['X'] = clipboard_actions.cut, - ['P'] = clipboard_actions.paste, - }, - float = { - winblend = 0, - curdir_window = { - enable = false, - highlight_dirname = false - }, - - -- -- You can define a function that returns a table to be passed as the third - -- -- argument of nvim_open_win(). - -- win_opts = function() - -- local width = math.floor(vim.o.columns * 0.8) - -- local height = math.floor(vim.o.lines * 0.8) - -- return { - -- border = { - -- "+", "─", "+", "│", "+", "─", "+", "│", - -- }, - -- width = width, - -- height = height, - -- row = 1, - -- col = math.floor((vim.o.columns - width) / 2), - -- } - -- end, - }, - hide_cursor = true -} - -vim.api.nvim_create_autocmd({ 'FileType' }, { - pattern = { "lir" }, - callback = function() - -- use visual mode - vim.api.nvim_buf_set_keymap( - 0, - "x", - "J", - ':<C-u>lua require"lir.mark.actions".toggle_mark("v")<CR>', - { noremap = true, silent = true } - ) - - -- echo cwd - -- vim.api.nvim_echo({ { vim.fn.expand("%:p"), "Normal" } }, false, {}) - end -}) - --- custom folder icon -require 'nvim-web-devicons'.set_icon({ - lir_folder_icon = { - icon = "", - color = "#7ebae4", - name = "LirFolderNode" - } -}) diff --git a/dot_vim/lua/lualine_setup.lua b/dot_vim/lua/lualine_setup.lua deleted file mode 100644 index 2856362..0000000 --- a/dot_vim/lua/lualine_setup.lua +++ /dev/null @@ -1,40 +0,0 @@ -require('lsp-progress').setup({ - -}) - --- Define a function to check the status and return the corresponding icon -local function get_ollama_status() - local status = require("ollama").status() - - if status == "IDLE" then - return "" - elseif status == "WORKING" then - return "OLLAMA BUSY" - end -end - -local config = { - sections = { - lualine_c = { - 'filename', - function() - return require('lsp-progress').progress() - end, - }, - lualine_x = { - 'filetype', - get_ollama_status, - } - } -} - ---local function ins_left(component) ---table.insert(config.sections.lualine_c, component) ---end - ---ins_left({ ---'lsp_progress', ---display_components = { 'lsp_client_name', { 'percentage' } } ---}) - -require('lualine').setup(config) diff --git a/dot_vim/lua/ollama_setup.lua b/dot_vim/lua/ollama_setup.lua deleted file mode 100644 index c3ae490..0000000 --- a/dot_vim/lua/ollama_setup.lua +++ /dev/null @@ -1,10 +0,0 @@ -require("ollama").setup({ - model = "codellama:34b", - url = "http://daystrom.home.0b100.net:11434", - serve = { - on_start = false, - }, -}) - -vim.keymap.set("n", "<Leader>,,", ":<c-u>lua require('ollama').prompt()<cr>", { silent = true }) -vim.keymap.set("v", "<Leader>,,", ":<c-u>lua require('ollama').prompt()<cr>", { silent = true }) diff --git a/dot_vim/lua/symlink_murdock.lua b/dot_vim/lua/symlink_murdock.lua deleted file mode 100644 index b2372b1..0000000 --- a/dot_vim/lua/symlink_murdock.lua +++ /dev/null @@ -1 +0,0 @@ -/home/barak/src/gptool/murdock.lua diff --git a/dot_vim/nvim.lua b/dot_vim/nvim.lua deleted file mode 100644 index ad0742a..0000000 --- a/dot_vim/nvim.lua +++ /dev/null @@ -1,690 +0,0 @@ -require('nvim-autopairs').setup {} - --- nvim_lsp object -local nvim_lsp = require 'lspconfig' -require('cmp_setup') - --- function to attach completion when setting up lsp -local on_attach = function(client) -end - --- Set my preferred diagnostic options -local diagnostic_options = { - virtual_text = false, - signs = true, - update_in_insert = false, -} - ---local rust_capabilities = vim.lsp.protocol.make_client_capabilities() ---rust_capabilities.textDocument.completion.completionItem.snippetSupport = true ---rust_capabilities.textDocument.completion.completionItem.resolveSupport = { ---properties = { ---'documentation', ---'detail', ---'additionalTextEdits', ---} ---} - ---local default_capabilities = vim.lsp.protocol.make_client_capabilities() -local default_capabilities = vim.lsp.protocol.make_client_capabilities() -default_capabilities.textDocument.completion.completionItem.snippetSupport = true -default_capabilities.textDocument.completion.completionItem.resolveSupport = { - properties = { - 'documentation', - 'detail', - 'additionalTextEdits', - } -} -default_capabilities = require('cmp_nvim_lsp').default_capabilities(default_capabilities) - --- Enable rust_analyzer -nvim_lsp.rust_analyzer.setup({ - on_attach = function(client, bufnr) - client.server_capabilities.semanticTokensProvider = nil - end, - capabilities = default_capabilities, - settings = { - ['rust-analyzer'] = { - checkOnSave = { - allFeatures = true, - overrideCommand = { - 'cargo', 'clippy', '--workspace', '--message-format=json', - '--all-targets', '--all-features' - } - }, - runnables = { - extraEnv = { - TORCH_CUDA_VERSION = "cu121", - } - } - } - } -}) -nvim_lsp.gopls.setup({ - on_attach = function(client, bufnr) - --client.server_capabilities.semanticTokensProvider = { - --full = true, - --legend = { - ----tokenTypes = { 'namespace', 'type', 'class', 'enum', 'interface', 'struct', 'typeParameter', 'parameter', 'variable', 'property', 'enumMember', 'event', 'function', 'method', 'macro', 'keyword', 'modifier', 'comment', 'string', 'number', 'regexp', 'operator', 'decorator', }, - --tokenTypes = { 'namespace' }, - --tokenModifiers = { 'declaration', 'definition', 'readonly', 'static', 'deprecated', 'abstract', 'async', 'modification', 'documentation', 'defaultLibrary' }, - --} - --} - end, - capabilities = default_capabilities, - settings = { - gopls = { - semanticTokens = true, - }, - }, -}) - -local function filter(arr, func) - -- Filter in place - -- https://stackoverflow.com/questions/49709998/how-to-filter-a-lua-array-inplace - local new_index = 1 - local size_orig = #arr - for old_index, v in ipairs(arr) do - if func(v, old_index) then - arr[new_index] = v - new_index = new_index + 1 - end - end - for i = new_index, size_orig do arr[i] = nil end -end - -local function pyright_accessed_filter(diagnostic) - -- Allow kwargs to be unused, sometimes you want many functions to take the - -- same arguments but you don't use all the arguments in all the functions, - -- so kwargs is used to suck up all the extras - if diagnostic.message == '"kwargs" is not accessed' then - return false - end - -- Allow variables starting with an underscore - if string.match(diagnostic.message, '"_.+" is not accessed') then - return false - end - - return true -end - -local function pyright_custom_diagnostic(a, params, client_id, c, config) - filter(params.diagnostics, pyright_accessed_filter) - vim.lsp.diagnostic.on_publish_diagnostics(a, params, client_id, c, config) -end - -nvim_lsp.pyright.setup({ - on_attach = function(client, bufnr) - vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with(pyright_custom_diagnostic, diagnostic_options) - end, - capabilities = default_capabilities, -}) ---nvim_lsp.pyright.setup({ on_attach = on_attach }) ---nvim_lsp.pylsp.setup({ ---on_attach = on_attach, ---settings = { ---pylsp = { ---plugins = { ----- formatter options -----black = { enabled = true }, ---autopep8 = { enabled = false }, ---yapf = { enabled = false }, ----- linter options ---pylint = { enabled = false, executable = "pylint" }, ---pyflakes = { enabled = false }, ---pycodestyle = { enabled = false }, ----- type checker ---pylsp_mypy = { enabled = true }, ----- auto-completion options ---jedi_completion = { enabled = false }, ----- import sorting -----pyls_isort = { enabled = true }, -----flake8 = { -----maxLineLength = 100, -----}, ---pycodestyle = { ---maxLineLength = 100, ---}, -----rope_autoimport = { -----enabled = true -----}, -----rope_completion = { -----enabled = true -----}, ---} ---} ---} ---}) - -nvim_lsp.clangd.setup { on_attach = on_attach, capabilities = default_capabilities } -nvim_lsp.ts_ls.setup { - cmd = { "/home/barak/.yarn/bin/typescript-language-server", "--stdio" } -} -nvim_lsp.vuels.setup { - cmd = { "/home/barak/.yarn/bin/vls" }, - capabilities = default_capabilities, -} -nvim_lsp.hls.setup { - cmd = { "haskell-language-server-wrapper", "--lsp" }, - capabilities = default_capabilities, -} - -nvim_lsp.svelte.setup { - cmd = { "/home/barak/.bun/bin/bunx", "svelteserver", "--stdio" }, - capabilities = default_capabilities, -} - -local runtime_path = vim.split(package.path, ';') -table.insert(runtime_path, "lua/?.lua") -table.insert(runtime_path, "lua/?/init.lua") - -nvim_lsp.lua_ls.setup { - capabilities = default_capabilities, - settings = { - Lua = { - runtime = { - -- Tell the language server which version of Lua you're using (most likely LuaJIT in the case of Neovim) - version = 'LuaJIT', - -- Setup your lua path - path = runtime_path, - }, - diagnostics = { - -- Get the language server to recognize the `vim` global - globals = { 'vim' }, - }, - workspace = { - -- Make the server aware of Neovim runtime files - library = vim.api.nvim_get_runtime_file("", true), - }, - -- Do not send telemetry data containing a randomized but unique identifier - telemetry = { - enable = false, - }, - }, - }, -} - - -require('go').setup({ - iferr_vertical_shift = 2 -}) - ---require('telescope').load_extension('goimpl') - -function org_imports(wait_ms) - local params = vim.lsp.util.make_range_params() - - params.context = { only = { "source.organizeImports" } } - - local result = vim.lsp.buf_request_sync(0, "textDocument/codeAction", params, wait_ms) - - for _, res in pairs(result or {}) do - for _, r in pairs(res.result or {}) do - if r.edit then - vim.lsp.util.apply_workspace_edit(r.edit, "utf-8") - else - vim.lsp.buf.execute_command(r.command) - end - end - end -end - --- register linters -local luaformat = require("efmls-configs.formatters.lua_format") -local rustfmt = require('efmls-configs.formatters.rustfmt') -local black = require('efmls-configs.formatters.black') -local mypy = require('efmls-configs.linters.mypy') -local eslint = require('efmls-configs.linters.eslint') -local isort = require('efmls-configs.formatters.isort') -local languages = { - typescript = { eslint }, - lua = { luaformat }, - python = { black, mypy, isort }, - rust = { rustfmt }, -} - -local efmls_config = { - filetypes = vim.tbl_keys(languages), - settings = { - rootMarkers = { '.git/' }, - languages = languages, - }, - init_options = { - documentFormatting = true, - documentRangeFormatting = true, - }, -} - -nvim_lsp.efm.setup(vim.tbl_extend('force', efmls_config, { - -- Pass your custom lsp config below like on_attach and capabilities - on_attach = on_attach, - capabilities = default_capabilities, -})) - --- Enable diagnostics -vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with( - vim.lsp.diagnostic.on_publish_diagnostics, - diagnostic_options -) - ---signature_cfg = { ---hint_enable = true, ---hint_prefix = "% ", ---handler_opts = { ---border = "none" ---}, ---} - ---require'lsp_signature'.on_attach(signature_cfg) - -local saga_cfg = { - code_action_prompt = { - enable = false, - sign = false, - virtual_text = false, - }, -} --- require'lspsaga'.init_lsp_saga(saga_cfg) - -local t = function(str) - return vim.api.nvim_replace_termcodes(str, true, true, true) -end - -local check_back_space = function() - local col = vim.fn.col('.') - 1 - if col == 0 or vim.fn.getline('.'):sub(col, col):match('%s') then - return true - else - return false - end -end - --- Use (s-)tab to: ---- move to prev/next item in completion menuone ---- jump to prev/next snippet's placeholder ---_G.tab_complete = function() ---if vim.fn.pumvisible() == 1 then ---return t "<C-n>" ---elseif check_back_space() then ---return t "<Tab>" ---else ---return vim.fn['compe#complete']() ---end ---end - ---_G.s_tab_complete = function() ---if vim.fn.pumvisible() == 1 then ---return t "<C-p>" ---else ---return t "<S-Tab>" ---end ---end - ---vim.api.nvim_set_keymap("i", "<Tab>", "v:lua.tab_complete()", { expr = true }) ---vim.api.nvim_set_keymap("s", "<Tab>", "v:lua.tab_complete()", { expr = true }) ---vim.api.nvim_set_keymap("i", "<S-Tab>", "v:lua.s_tab_complete()", { expr = true }) ---vim.api.nvim_set_keymap("s", "<S-Tab>", "v:lua.s_tab_complete()", { expr = true }) - ---require('rust-tools').setup({ ---}) - -require('trouble').setup { - mode = "document_diagnostics", - auto_close = true, - action_keys = { -- key mappings for actions in the trouble list - -- map to {} to remove a mapping, for example: - -- close = {}, - --close = "q", -- close the list - --cancel = "<esc>", -- cancel the preview and get back to your last window / buffer / cursor - --refresh = "r", -- manually refresh - jump = { "o", "<tab>" }, -- jump to the diagnostic or open / close folds - --open_split = { "<c-x>" }, -- open buffer in new split - --open_vsplit = { "<c-v>" }, -- open buffer in new vsplit - open_tab = {}, -- open buffer in new tab - jump_close = { "<cr>" }, -- jump to the diagnostic and close the list - toggle_mode = "m", -- toggle between "workspace" and "document" diagnostics mode - toggle_preview = "P", -- toggle auto_preview - hover = "K", -- opens a small popup with the full multiline message - preview = "p", -- preview the diagnostic location - close_folds = { "zM", "zm" }, -- close all folds - open_folds = { "zR", "zr" }, -- open all folds - toggle_fold = { "zA", "za" }, -- toggle fold of current file - previous = "k", -- previous item - next = "j" -- next item - }, -} - -local trouble_telescope = require("trouble.sources.telescope") -local builtin = require 'telescope.builtin' - -local sendtoqf = function(loc) - local actions = require('telescope.actions') - actions.send_to_qflist(loc) - builtin.quickfix({ initial_mode = "normal" }) -end - -require('telescope').setup { - defaults = { - mappings = { - n = { - ["q"] = require('telescope.actions').close, - ["ff"] = sendtoqf, - ["<c-t>"] = trouble_telescope.open, - }, - i = { - ["<c-t>"] = trouble_telescope.open, - ["ff"] = require('telescope.actions').send_to_qflist, - }, - }, - path_display = { "smart", "shorten" }, - dynamic_preview_title = true, - }, - pickers = { - goimpl = { - theme = "ivy", - layout_config = { - height = 10, - }, - }, - lsp_code_actions = { - theme = "ivy", - layout_config = { - height = 10, - }, - }, - lsp_range_code_actions = { - theme = "ivy", - layout_config = { - height = 10, - }, - }, - lsp_references = { - theme = "ivy", - layout_config = { - height = 15, - }, - }, - quickfix = { - theme = "ivy", - layout_config = { - height = 15, - }, - initial_mode = "normal", - }, - git_files = { - theme = "ivy", - }, - grep_string = { - theme = "ivy", - layout_config = { - height = 15, - }, - initial_mode = "normal", - }, - live_grep = { - theme = "ivy", - layout_config = { - height = 15, - }, - }, - buffers = { - theme = "ivy", - layout_config = { - height = 15, - }, - ignore_current_buffer = true, - initial_mode = "normal", - }, - }, -} - - --- --- Treesitter --- - -require 'nvim-treesitter.configs'.setup({ - -- One of "all", "maintained" (parsers with maintainers), or a list of languages - ensure_installed = { - "c", - "cpp", - "css", - "cue", - "dockerfile", - "fish", - "go", - "gomod", - "gosum", - "gotmpl", - "haskell", - "html", - "javascript", - "json", - "lua", - "make", - "markdown", - "proto", - "python", - "query", - "rust", - "starlark", - "terraform", - "toml", - "tsx", - "typescript", - "vim", - "yaml", - }, - - -- Install languages synchronously (only applied to `ensure_installed`) - sync_install = false, - - -- List of parsers to ignore installing - -- ignore_install = { "javascript" }, - - highlight = { - -- `false` will disable the whole extension - enable = true, - - -- list of language that will be disabled - -- disable = { "c", "rust" }, - - -- Setting this to true will run `:h syntax` and tree-sitter at the same time. - -- Set this to `true` if you depend on 'syntax' being enabled (like for indentation). - -- Using this option may slow down your editor, and you may see some duplicate highlights. - -- Instead of true it can also be a list of languages - additional_vim_regex_highlighting = false, - --custom_captures = { - --["generic_type_param"] = "TSCGenericTypeParam", - --["type_identifier"] = "TSCGenericTypeParam", - --}, - }, - - indent = { - enable = true - }, - - playground = { - enable = true, - disable = {}, - updatetime = 25, -- Debounced time for highlighting nodes in the playground from source code - persist_queries = false, -- Whether the query persists across vim sessions - keybindings = { - toggle_query_editor = 'o', - toggle_hl_groups = 'i', - toggle_injected_languages = 't', - toggle_anonymous_nodes = 'a', - toggle_language_display = 'I', - focus_language = 'f', - unfocus_language = 'F', - update = 'R', - goto_node = '<cr>', - show_help = '?', - }, - } -}) - -require "neogen".setup {} - -require('leap').set_default_keymaps() -require("flit").setup {} - -require('snippy').setup({ - mappings = { - is = { - [',,'] = 'expand_or_advance', - [',.'] = 'previous', - }, - nx = { - ['<leader>x'] = 'cut_text', - }, - }, -}) - - ---- ---- My own "where" clause generator for Rust ---- -function string.insert(str1, str2, pos) - return str1:sub(1, pos) .. str2 .. str1:sub(pos + 1) -end - -function string.split(s, delimiter) - local result = {}; - for match in (s .. delimiter):gmatch("(.-)" .. delimiter) do - table.insert(result, match); - end - return result; -end - -local function rust_whereify_line(line, var_name) - if string.find(line, "fn") == nil then - return nil - end - - local paren = string.find(line, "%(") - if paren == nil then return nil end - - local open_generic = string.find(line, "<") - if open_generic ~= nil then - if open_generic < paren then - -- TODO(barakmich): it's already generic, we need to do something for that - -- probably a different function - return nil - end - -- just continue otherwise - end - - local whitespace = string.match(line, "^(%s*)") - - local generic = "<" .. var_name .. ">" - local out = string.insert(line, generic, paren - 1) - - local brace = string.find(out, "%{") - if brace == nil then brace = string.len(out) end - - out = string.insert(out, "\n" .. whitespace .. "where\n" .. whitespace .. " " .. var_name .. ": ,\n" .. whitespace, - brace - 1) - - return string.split(out, "\n") -end - -function rust_where_at_line() - local var_name = vim.fn.input("Variable: ") - local lineNum, col = unpack(vim.api.nvim_win_get_cursor(0)) - local replacements = rust_whereify_line(vim.api.nvim_get_current_line(), var_name) - vim.api.nvim_buf_set_lines(0, lineNum - 1, lineNum, false, replacements) - vim.api.nvim_win_set_cursor(0, { lineNum + 2, 4 }) -end - -function neogen_dwim() - local table = { - ["function_declaration"] = "func", - ["function_definition"] = "func", - ["function_item"] = "func", - ["function_signature_item"] = "func", - ["struct_item"] = "class", - ["trait_item"] = "class", - ["package_clause"] = "type", - ["const_declaration"] = "type", - ["var_declaration"] = "type", - ["class_definition"] = "class", - } - - local ts_utils = require 'nvim-treesitter.ts_utils' - local current_node = ts_utils.get_node_at_cursor() - while (current_node) do - local v = table[current_node:type()] - if v then - require('neogen').generate({ type = v }) - break - else - current_node = current_node:parent() - end - end -end - -require("hoversplit").setup({}) - -require("quicker").setup() - -vim.keymap.set("n", "<leader>q", function() - require("quicker").toggle() -end, { - desc = "Toggle quickfix", -}) - ---require("murdock") ---require("ollama_setup") ---require("gen_setup") -require("lir_setup") -require("lualine_setup") ---require("avante_setup") ---require("gen").setup({ ---model = "gemma3:12b-it-qat", ---init = nil, ---}) ---require("smear_cursor").setup({ ---stiffness = 0.8, ---trailing_stiffness = 0.5, ---distance_stop_animating= 0.5, ---}) - -require("parrot").setup({ - providers = { - ollama = {} - }, - chat_user_prefix = "Chat: ", - llm_prefix = "LLM: ", - hooks = { - CompleteFullContext = function(prt, params) - local template = [[ - I have the following code from {{filename}}: - - ```{{filetype}} - {{filecontent}} - ``` - - Please look at the following section specifically: - ```{{filetype}} - {{selection}} - ``` - - Goal: {{command}} - - Respond just with the snippet of code that should be inserted. - - - ]] - local model_obj = prt.get_model("command") - prt.Prompt(params, prt.ui.Target.append, model_obj, nil, template) - end, - }, -}) - -vim.diagnostic.config({ - virtual_text = false, - signs = true, - update_in_insert = false, - underline = true, -}) diff --git a/dot_vim/skeletons/svelte.skel b/dot_vim/skeletons/svelte.skel deleted file mode 100644 index 4f2a325..0000000 --- a/dot_vim/skeletons/svelte.skel +++ /dev/null @@ -1,9 +0,0 @@ -<script lang="ts"> - import { onMount, onDestroy } from "svelte"; -</script> - -<div> -</div> - -<style> -</style> diff --git a/dot_vimrc b/dot_vimrc deleted file mode 100644 index e9a7e36..0000000 --- a/dot_vimrc +++ /dev/null @@ -1,555 +0,0 @@ -" ___ _ _ _ -" | _ ) __ _ _ _ __ _| |_( )___ __ _(_)_ __ _ _ __ -" | _ \/ _` | '_/ _` | / //(_-< \ V / | ' \| '_/ _| -" |___/\__,_|_| \__,_|_\_\ /__/ (_)_/|_|_|_|_|_| \__| -" -" -" ** BASIC EDITOR SETTINGS ** -" -" First, we are vim, not vi, so start as many others do with -set nocompatible - -" Allow background buffers. Super important for various tab modes. -set hidden - -" Set default spacing. -" Hard tabs should show as 8. -set ts=8 -" Soft tabs should be 2 wide, and we should use spaces. -" (This is the Googler in me. I've converted to spaces over -" the years because it really is more consistent.) -set softtabstop=2 -set shiftwidth=2 -set expandtab -" I like comma instead of slash, but that probably comes from playing -" Nethack and Angband -let mapleader = "," -let maplocalleader = "\\" - -" Set 'smart' things in Vim -" Search case insensitive, unless it contains Uppercase letters -set smartcase -" Use all the indent features -set autoindent -set smartindent -set cindent -" Make backspace remove indents and line breaks, like a normal editor -set backspace=indent,eol,start - -" Keep a bigger history -set history=1000 -" Allow tab completion for files in command mode. -set wildmenu -set wildmode=list:longest -" Show where you are in the file in the statusbar. -set ruler - -" I hate split above, so make it split below. Likewise, to the right. -set splitbelow -set splitright -" For autocomplete, follow requirements for nvim-compe -set completeopt=menuone,noselect -set signcolumn=yes -set shortmess+=c - -set diffopt+=vertical -" Some stuff for 256-Color consoles that I've forgotten. -set t_Co=256 -set t_Sf=ESC[3%dm -set t_Sb=ESC[4%dm -set t_ut= -"set t_SH= -"set t_kb= - -" This is like HiglightTooLongLines below, but for modern vim. The problem is -" that it highlights the column, even if your short. Good for measuring, bad for -" my eyes. -"if v:version >= 703 - "set relativenumber - "set colorcolumn=81 -"endif -" ** PATH SETTINGS ** - -let g:loaded_python_provider = 0 -let $RUST_SRC_PATH="/usr/src/rust/src/" - -" Disable the powerline plugin from standard Vim installs -let g:powerline_loaded = 1 - -" Required: -set runtimepath+=$HOME/.vim/bundle/repos/github.com/Shougo/dein.vim - -" Required: -call plug#begin($HOME . '/.vim/bundle') - -" Plugins that must be first -Plug $HOME . '/.vim/bundle/repos/github.com/Shougo/dein.vim' -Plug 'let-def/vimbufsync' -Plug 'lambdalisue/suda.vim' -Plug 'skywind3000/asyncrun.vim' -Plug 'barakmich/vim-code-dark' - -" Plugins that I almost never use -Plug 'kana/vim-textobj-user' - - -" Plugins I wish I used more -Plug 'jceb/vim-orgmode' -Plug 'tpope/vim-speeddating' - -Plug 'tpope/vim-fugitive' -Plug 'tpope/vim-unimpaired' -Plug 'b4winckler/vim-angry' -Plug 'tpope/vim-surround' -Plug 'junegunn/vim-easy-align' -Plug 'bps/vim-textobj-python' - -" Plugins I NEED -Plug 'scrooloose/nerdcommenter' -"Plug 'sjbach/lusty' -Plug 'mhinz/vim-signify' -Plug 'nvim-lualine/lualine.nvim' -Plug 'linrongbin16/lsp-progress.nvim' -"Plug 'airblade/vim-rooter' -Plug 'majutsushi/tagbar' -Plug 'dcampos/nvim-snippy' -Plug 'dcampos/cmp-snippy' -Plug 'rafamadriz/friendly-snippets' - -Plug 'honza/vim-snippets' -Plug 'tpope/vim-abolish' - -" Plugins for syntax -Plug 'lunaru/vim-less' -Plug 'hylang/vim-hy', {'for': 'hy'} -Plug 'habamax/vim-asciidoctor' -Plug 'jneen/ragel.vim' -Plug 'NoahTheDuke/vim-just' -Plug 'leafOfTree/vim-svelte-plugin' -Plug 'Shougo/context_filetype.vim' -"Plug 'idris-hackers/idris-vim', {'for': 'idris'} -Plug 'fedorenchik/AnsiEsc' -Plug 'hwayne/tla.vim' -Plug 'zchee/vim-goasm' -"Plug 'cappyzawa/starlark.vim' - -" Plugins that autocomplete -Plug 'neovim/nvim-lspconfig' -Plug 'nvim-lua/lsp_extensions.nvim' -Plug 'hrsh7th/cmp-nvim-lsp' -Plug 'hrsh7th/cmp-buffer' -Plug 'hrsh7th/cmp-path' -Plug 'hrsh7th/nvim-cmp' -Plug 'onsails/lspkind-nvim' - -Plug 'nvim-lua/popup.nvim' -Plug 'nvim-lua/plenary.nvim' -Plug 'nvim-telescope/telescope.nvim' -Plug 'sindrets/diffview.nvim' - -Plug 'kyazdani42/nvim-web-devicons' " for file icons - -Plug 'ray-x/lsp_signature.nvim' -Plug 'ray-x/go.nvim' - -Plug 'RishabhRD/popfix' -Plug 'RishabhRD/nvim-lsputils' -Plug 'stevanmilic/nvim-lspimport' -Plug 'folke/trouble.nvim' -Plug 'creativenull/efmls-configs-nvim', { 'tag': 'v1.*' } - -Plug 'roobert/hoversplit.nvim' -Plug 'tamago324/lir.nvim' - -Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} -Plug 'nvim-treesitter/playground' -Plug 'nvim-treesitter/nvim-treesitter-textobjects' - - -Plug 'ggandor/leap.nvim' -Plug 'ggandor/flit.nvim' -Plug 'simrat39/rust-tools.nvim' - -Plug 'Shougo/unite.vim' -" TODO: Look into Coqtail, same author -Plug 'whonore/coquille', {'branch': 'pathogen-bundle', 'for': 'coq'} - -Plug 'gabrielelana/vim-markdown' -Plug 'lervag/vimtex' -Plug 'Shougo/echodoc.vim' -Plug 'windwp/nvim-autopairs' -Plug 'danymat/neogen' -Plug 'stevearc/dressing.nvim' -Plug 'MunifTanjim/nui.nvim' -Plug 'zbirenbaum/copilot.lua' -"Plug 'yetone/avante.nvim', {'branch': 'main', 'do': 'make'} -"Plug 'David-Kunz/gen.nvim' -Plug 'ibhagwan/fzf-lua' -Plug 'frankroeder/parrot.nvim' - -Plug 'edolphin-ydf/goimpl.nvim' -Plug 'stevearc/quicker.nvim' -Plug 'rafikdraoui/jj-diffconflicts' - -call plug#end() - -filetype plugin indent on -syntax enable - -" Configure Plugins in Lua - -luafile $HOME/.vim/nvim.lua - - -" **** Configure LSP - -" Code navigation shortcuts -nnoremap <silent> gd <cmd>lua vim.lsp.buf.definition()<CR> -nnoremap <silent> gi <cmd>lua require('telescope.builtin').lsp_implementations({initial_mode = "normal"})<cr> -nnoremap <silent> gy <cmd>lua vim.lsp.buf.type_definition()<CR> -nnoremap <silent> K <cmd>lua vim.lsp.buf.hover()<CR> -nnoremap <silent> gs <cmd>lua vim.lsp.buf.signature_help()<CR> -nnoremap <silent> gR <cmd>lua vim.lsp.buf.rename()<CR> -"nnoremap <silent> gr <cmd>lua vim.lsp.buf.references()<CR> -nnoremap <silent> gr <cmd>lua require('telescope.builtin').lsp_references({initial_mode = "normal"})<cr> -nnoremap <silent> g0 <cmd>lua vim.lsp.buf.document_symbol()<CR> -nnoremap <silent> gW <cmd>lua require('telescope.builtin').lsp_workspace_symbols({initial_mode = "normal"})<cr> -"nnoremap <silent> gd <cmd>lua vim.lsp.buf.declaration()<CR> -nnoremap <silent> ga <cmd>lua vim.lsp.buf.code_action()<CR> -"nnoremap <silent> ga <cmd>lua require('telescope.builtin').lsp_code_actions({initial_mode = "normal"})<cr> -vnoremap <silent> ga <cmd>lua vim.lsp.buf.code_action()<CR> -"vnoremap <silent> ga :<C-U>lua require('telescope.builtin').lsp_range_code_actions({initial_mode = "normal"})<cr> -"nnoremap <silent> ge <cmd>lua vim.lsp.diagnostic.show_line_diagnostics({show_header = false, focusable = false})<CR> -"nnoremap <silent> ge <cmd>lua vim.diagnostic.open_float({focusable = false})<CR> -nnoremap <silent> <leader>im <cmd>lua require'telescope'.extensions.goimpl.goimpl{}<CR> - - -nnoremap <silent> <leader>xx <cmd>TroubleToggle<cr> -nnoremap <silent> <leader>xq <cmd>lua vim.diagnostic.setqflist()<CR> -"nnoremap <silent> <leader>nc <cmd>lua neogen_dwim()<CR> -nnoremap <silent> <leader>nc <cmd>lua require('neogen').generate({ type = 'any' })<CR> -nnoremap <silent> gm <cmd>lua require('lspimport').import()<CR> -nnoremap <silent> <leader>K <cmd>lua require('hoversplit').vsplit_remain_focused()<CR> - - -" Set updatetime for CursorHold -" 300ms of no cursor movement to trigger CursorHold -set updatetime=500 -" Show diagnostic popup on cursor hold -autocmd CursorHold * lua vim.diagnostic.open_float({focusable = false}) - -" Autoformat on save -autocmd BufWritePre *.lua lua vim.lsp.buf.format({ async = false }) -autocmd BufWritePre *.py lua vim.lsp.buf.format({ async = false }) -autocmd BufWritePre *.rs lua vim.lsp.buf.format({ async = false }) -autocmd BufWritePre *.go lua vim.lsp.buf.format({ async = false }) -autocmd BufWritePre *.go silent! lua org_imports(3000) -autocmd BufWritePre *.ts lua vim.lsp.buf.format({ async = false }) - -" Goto previous/next diagnostic warning/error -nnoremap <silent> g[ <cmd>lua vim.diagnostic.goto_prev()<CR> -nnoremap <silent> g] <cmd>lua vim.diagnostic.goto_next()<CR> - -let g:completion_matching_strategy_list = ['exact', 'substring', 'fuzzy'] -let g:completion_matching_smart_case = 1 -let g:completion_sorting = 'length' - - -" **** End LSP - -" Cull trailing whitespace for all files. -autocmd BufWritePre * :call AutoTrimWhitespace() - -" Set syntax and highlighting -syntax on - -"let g:codedark_conservative = 1 -let g:codedark_transparent=1 -let g:codedark_italics=1 -colorscheme codedark - - -" Turn on the cursorline (highlight on line under cursor) but only for the -" window and buffer you're currently in. -autocmd BufEnter * setlocal cursorline -autocmd WinEnter * setlocal cursorline -autocmd WinLeave * setlocal nocursorline -setlocal cursorline - - -" ** PLUGIN CONFIGURATION ** - -" * Vim general/Unknown -let g:Tb_MaxSize=0 -let g:Tb_MapCTabSwitchBufs = 1 - -" * Signify -let g:signify_realtime = 1 -let g:signify_vcs_list = ['git'] -let g:signify_sign_change = '~' -let g:signify_sign_changedelete = g:signify_sign_change -let g:signify_sign_show_count = 0 -let g:signify_priority = 5 - -" * Tagbar plugin settings -let g:tagbar_width = 40 -let g:tagbar_autofocus = 1 -let g:tagbar_autoclose = 1 -let g:tagbar_compact = 1 - -" * vim-rooter -"let g:rooter_cd_cmd="lcd" -"let g:rooter_manual_only = 1 -"set autochdir - -" " * FZF -let g:rg_command = ' - \ rg --column --line-number --no-heading --fixed-strings --ignore-case --no-ignore --hidden --follow --color "always" - \ -g "!{.git,node_modules,vendor}/*" ' - - -" ** STATUSLINE ** -set laststatus=2 -set statusline=%t "tail of the filename -"set statusline+=[%{&ff}] "file format -"set statusline+=%h "help file flag -set statusline+=\ %w "help file flag -set statusline+=%r "read only flag -set statusline+=%y "filetype -set statusline+=\ %m "modified flag -set statusline+=%= "left/right separator -set statusline+=%{fugitive#statusline()}\ \ -set statusline+=%c, "cursor column -set statusline+=%l/%L "cursor line/total lines -set statusline+=\ %P "percent through file - -" ** SMALL FUNCTIONS THAT DON'T FIT AS PLUGINS *** - -" Add capital W and Q so I can be lazy about my shift key -if !exists(":W") - command W :w -endif - -if !exists(":Q") - command Q :q -endif - -" CD to the path of the file I'm editing. -command Cdf :cd %:p:h - -" Print path of file -command Filepath :echo expand('%:p') - -" Save a vim session! Useful if you want to save buffer states and so on -command SaveSession :mksession! ~/.vim_last_session -command LoadSession :source ~/.vim_last_session - -" Sudo-make-me-a-sandwich write. For when I forget to be root. -"command Wdammit :w !sudo tee > /dev/null % -command Wdammit :w suda://% - - -" I can never remember markdown fully. Open me a cheatsheet -command MarkdownCheatsheet :rightb vsplit ~/.vim/markdown_cheatsheet.md - - -" Doesn't quite work right but can be a real savior if needed. -" Oh-shit-what-was-this-like-before-I-changed-it? -function! s:DiffWithSaved() - let filetype=&ft - diffthis - vnew | r # | normal! 1Gdd - diffthis - exe "setlocal bt=nofile bh=wipe nobl noswf ro ft=" . filetype -endfunction -com! DiffSaved call s:DiffWithSaved() - -" Highlight lines that are longer than textwidth for the filetype, commonly 80 -" characters. -function! HighlightTooLongLines() - highlight def link RightMargin Error - if &textwidth != 0 - exec 'match RightMargin /\%<' . (&textwidth + 3) . 'v.\%>' . (&textwidth + 1) . 'v/' - endif -endfunction - -" Toggles the quickfix window split. -command -bang -nargs=? QFix call QFixToggle(<bang>0) -function! QFixToggle(forced) - if exists("g:qfix_win") && a:forced == 0 - cclose - else - execute "copen " . 15 - endif -endfunction - -" Toggle LocationList -command -bang -nargs=? LFix call LFixToggle(<bang>0) -function! LFixToggle(forced) - if exists("g:lfix_win") && a:forced == 0 - unlet! g:lfix_win - lclose - else - execute "lopen " . 10 - let g:lfix_win = "t" - endif -endfunction - -"au FileType go nmap <leader>C <Plug>(go-clearlay) -"clear overlay -command -bang -nargs=? GoCoverlayT call GoCoverlayToggle(<bang>0) -function! GoCoverlayToggle(forced) - if exists("g:go_coverlay_t") && a:forced == 0 - unlet! g:go_coverlay_t - GoClearlay - "call <Plug>(go-clearlay) - else - "call <Plug>(go-coverlay) - GoCoverlay - let g:go_coverlay_t = "t" - endif -endfunction - - -" Make the Quickfix window respond well to commands (for instance, q to close, -" Enter to select, etc). In tandem with the above. -augroup QFixToggle - autocmd! - autocmd BufWinEnter quickfix let g:qfix_win = bufnr("$") - autocmd BufWinEnter quickfix exec "nnoremap <silent> <buffer> q :QFix<CR>" - autocmd BufWinLeave * if exists("g:qfix_win") && expand("<abuf>") == g:qfix_win | unlet! g:qfix_win | endif -augroup END - - -" Highlight all instances of word under cursor, when idle. -" Useful when studying strange source code. -" Type z/ to toggle highlighting on/off. -nnoremap z/ :if AutoHighlightToggle()<Bar>set hls<Bar>else<Bar>set nohls<Bar>endif<CR> -function! AutoHighlightToggle() - let @/ = '' - if exists('#auto_highlight') - au! auto_highlight - augroup! auto_highlight - setl updatetime=4000 - echo 'Highlight current word: off' - return 0 - else - augroup auto_highlight - au! - au CursorHold * let @/ = '\V\<'.escape(expand('<cword>'), '\').'\>' - augroup end - setl updatetime=500 - echo 'Highlight current word: ON' - return 1 - endif -endfunction - -" Removes trailing spaces -function AutoTrimWhitespace() - if exists("b:auto_trim_whitespace") - if b:auto_trim_whitespace == 1 - let l:winview = winsaveview() - silent! %s/\s\+$// - call winrestview(l:winview) - endif - endif -endfunction - - - -" ** KEY REMAPPINGS ** -" -" -" Toggle GoCoverlay -au FileType go nmap <leader>c :GoCoverlayT<CR> - -" Coquille -au FileType coq nmap <leader>a :CoqToCursor<CR> -au FileType coq imap <leader>a <C-O>:CoqToCursor<CR> - -" I don't know how I came up with gt for opening the tree, but it stuck. -nmap <silent> gt :edit %:h<CR> -nmap gb :TagbarToggle<CR> -"nnoremap gx :Kwbd<CR> -" :Kwbd (defined below) really kills a buffer dead, and closes the window. -" gK is similar. -nnoremap gc :Kwbd<CR> - -" I use gn/gp to cycle through open tabs/buffers -nnoremap gn :bn<CR> -nnoremap gp :bp<CR> -nnoremap gz :pclose<CR> - -" The single most handy way to get around a file. Cursor over a word, and then -" type g* -- you'll go to the next instance of that word in the file. Make it -" easier to reach by calling it gw (go-word) instead of hidden away. -nnoremap gw g* -" Make shift-p like p except, put the line above instead of below. -nmap P o<Esc>p - -" Line-based movement is cute, but it's tricky for files with lines that wrap. -" Attune more to what you see on the screen instead of where the lines actually -" are. -nnoremap <silent> j gj -nnoremap k gk -xnoremap j gj -xnoremap k gk -nnoremap <Down> gj -nnoremap <Up> gk -xnoremap <Down> gj -xnoremap <Up> gk -inoremap <Down> <C-o>gj -inoremap <Up> <C-o>gk -"nnoremap <C-i> <C-a> -" Years of using bash and zsh have caused my fingers to expect these Emacs-like -" mappings to exist. Make them exist in vim as well. But eye them with -" suspicion, as they come from Emacs. -nnoremap <C-a> ^ -nnoremap <C-e> $ -xnoremap <C-a> ^ -xnoremap <C-e> $ -inoremap <C-a> <C-O>^ -inoremap <C-e> <C-O>$ - - -" Make it easier to clear highlighting, with no functionality penalty -nnoremap <CR> :noh<CR><CR> - -" Better fold mappings -nnoremap <silent> <Space> @=(foldlevel('.')?'za':'l')<CR> -vnoremap <Space> zf -" Just to be handy, Ctrl-C acts like escape. So does jj, which never really -" comes up in practice. If you really need to type jj do so slowly. -imap <C-c> <Esc> -inoremap jj <Esc> - -" Leader key functions -" Next quickfix. -nnoremap <Leader>fn :lnext<CR> -" Prev quickfix. -nnoremap <Leader>fp :lprev<CR> -" -nnoremap <silent> <C-k> <cmd>lua require('telescope.builtin').git_files{}<cr> -nnoremap <silent> <Leader>ag <cmd>lua require('telescope.builtin').live_grep{ word_match = "-w", only_sort_text = true, cwd = vim.fn.systemlist("git rev-parse --show-toplevel")[1], search = ''}<cr> -nnoremap <silent> <Leader>aw <cmd>lua require('telescope.builtin').grep_string{ word_match = "-w", only_sort_text = true, cwd = vim.fn.systemlist("git rev-parse --show-toplevel")[1]}<cr> -"nnoremap <silent> <Leader>q <cmd>lua require('telescope.builtin').quickfix{}<cr> -nnoremap <silent> <Leader>ff <cmd>lua require('telescope.builtin').quickfix{}<cr> -nnoremap <silent> <Leader>ar <cmd>lua require('telescope.builtin').resume{}<cr> -nnoremap <silent> <Leader>o <cmd>lua require('telescope.builtin').buffers{initial_mode = "insert"}<cr> -nnoremap <silent> <C-j> <cmd>lua require('telescope.builtin').buffers{prompt_prefix = " "}<cr> - -" For C++ -- A is a great plugin which allows you to jump from the c file to the -" header and vice-versa. Mneumonic here is headerheader. -nnoremap <Leader>hh :A<CR> -nnoremap <Leader>mm :w<CR>:make!<CR> - -" ** EXTRA INCLUDES ** -" -let s:extrarc = expand($HOME . '/.vimrc_work') -if filereadable(s:extrarc) - exec ':so ' . s:extrarc -endif - - -" Final hi links for TreeSitter -hi link @type.rust TSCSecondaryTypeParam diff --git a/dot_yarnrc b/dot_yarnrc deleted file mode 100644 index 79d0f61..0000000 --- a/dot_yarnrc +++ /dev/null @@ -1,6 +0,0 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -# yarn lockfile v1 - - -lastUpdateCheck 1723662140748 -prefix "/home/barak/.yarn" diff --git a/symlink_dot_fonts.conf b/symlink_dot_fonts.conf deleted file mode 100644 index 34e7b31..0000000 --- a/symlink_dot_fonts.conf +++ /dev/null @@ -1 +0,0 @@ -/home/barak/.config/fontconfig/fonts.conf diff --git a/symlink_dot_nvim b/symlink_dot_nvim deleted file mode 100644 index 55d00c5..0000000 --- a/symlink_dot_nvim +++ /dev/null @@ -1 +0,0 @@ -.vim diff --git a/symlink_dot_nvimrc b/symlink_dot_nvimrc deleted file mode 100644 index be2db78..0000000 --- a/symlink_dot_nvimrc +++ /dev/null @@ -1 +0,0 @@ -.vimrc diff --git a/symlink_dot_xsession b/symlink_dot_xsession deleted file mode 100644 index c2ebcf9..0000000 --- a/symlink_dot_xsession +++ /dev/null @@ -1 +0,0 @@ -.xinitrc diff --git a/symlink_dot_zsh_profile b/symlink_dot_zsh_profile deleted file mode 100644 index c08ab2a..0000000 --- a/symlink_dot_zsh_profile +++ /dev/null @@ -1 +0,0 @@ -.zprofile