Skip to content

Commit

Permalink
fix user defaults file
Browse files Browse the repository at this point in the history
  • Loading branch information
PankajBhojwani committed Apr 30, 2024
1 parent 428821b commit 6437b9f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
11 changes: 4 additions & 7 deletions src/cascadia/TerminalSettingsModel/defaults.json
Original file line number Diff line number Diff line change
Expand Up @@ -487,8 +487,8 @@
{ "command": { "action": "splitPane", "split": "down" }, "id": "Terminal.SplitPaneDown" },
{ "command": { "action": "splitPane", "split": "left" }, "id": "Terminal.SplitPaneLeft" },
{ "command": { "action": "splitPane", "split": "right" }, "id": "Terminal.SplitPaneRight" },
{ "command": { "action": "splitPane", "splitMode": "duplicate", "split": "down" }, "id": "Terminal.SplitPaneDuplicateDown" },
{ "command": { "action": "splitPane", "splitMode": "duplicate", "split": "right" }, "id": "Terminal.SplitPaneDuplicateRight" },
{ "command": { "action": "splitPane", "splitMode": "duplicate", "split": "down" }, "id": "Terminal.DuplicatePaneDown" },
{ "command": { "action": "splitPane", "splitMode": "duplicate", "split": "right" }, "id": "Terminal.DuplicatePaneRight" },
{ "command": { "action": "resizePane", "direction": "down" }, "id": "Terminal.ResizePaneDown" },
{ "command": { "action": "resizePane", "direction": "left" }, "id": "Terminal.ResizePaneLeft" },
{ "command": { "action": "resizePane", "direction": "right" }, "id": "Terminal.ResizePaneRight" },
Expand Down Expand Up @@ -531,9 +531,6 @@

// Clipboard Integration
{ "command": { "action": "copy", "singleLine": false }, "id": "Terminal.CopySelectedText" },
{ "command": { "action": "copy", "singleLine": false }, "id": "Terminal.CopySelectedText" },
{ "command": { "action": "copy", "singleLine": false }, "id": "Terminal.CopySelectedText" },
{ "command": "paste", "id": "Terminal.PasteFromClipboard" },
{ "command": "paste", "id": "Terminal.PasteFromClipboard" },
{ "command": "selectAll", "id": "Terminal.SelectAll" },
{ "command": "markMode", "id": "Terminal.ToggleMarkMode" },
Expand Down Expand Up @@ -670,8 +667,8 @@

// Pane Management
{ "keys": "ctrl+shift+w", "id": "Terminal.ClosePane" },
{ "keys": "alt+shift+-", "id": "Terminal.SplitPaneDuplicateDown" },
{ "keys": "alt+shift+plus", "id": "Terminal.SplitPaneDuplicateRight" },
{ "keys": "alt+shift+-", "id": "Terminal.DuplicatePaneDown" },
{ "keys": "alt+shift+plus", "id": "Terminal.DuplicatePaneRight" },
{ "keys": "alt+shift+down", "id": "Terminal.ResizePaneDown" },
{ "keys": "alt+shift+left", "id": "Terminal.ResizePaneLeft" },
{ "keys": "alt+shift+right", "id": "Terminal.ResizePaneRight" },
Expand Down
11 changes: 7 additions & 4 deletions src/cascadia/TerminalSettingsModel/userDefaults.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,14 @@
}
]
},
"keybindings":
[
{ "id": "Terminal.CopySelectedText", "keys": "ctrl+c" },
{ "id": "Terminal.PasteFromClipboard", "keys": "ctrl+v" },
{ "id": "Terminal.DuplicatePaneAuto", "keys": "alt+shift+d" }
],
"actions":
[
{ "command": {"action": "copy", "singleLine": false }, "keys": "ctrl+c" },
{ "command": "paste", "keys": "ctrl+v" },
{ "command": "find", "keys": "ctrl+shift+f" },
{ "command": { "action": "splitPane", "split": "auto", "splitMode": "duplicate" }, "keys": "alt+shift+d" }
{ "command": { "action": "splitPane", "split": "auto", "splitMode": "duplicate" }, "id": "Terminal.DuplicatePaneAuto" }
]
}

0 comments on commit 6437b9f

Please sign in to comment.