mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 07:46:12 +03:00
Switch default key bindings to include on and offscreen contents
Previous discussions: - https://github.com/ghostty-org/ghostty/discussions/3652 - https://github.com/ghostty-org/ghostty/issues/3496 - https://github.com/ghostty-org/ghostty/discussions/4911 - https://github.com/ghostty-org/ghostty/discussions/4390 - https://github.com/ghostty-org/ghostty/discussions/2363#discussioncomment-11735957 - https://github.com/ghostty-org/ghostty/issues/189#issuecomment-2564719973 - https://github.com/ghostty-org/ghostty/pull/2040
This commit is contained in:
@ -2370,13 +2370,13 @@ pub fn default(alloc_gpa: Allocator) Allocator.Error!Config {
|
|||||||
try result.keybind.set.put(
|
try result.keybind.set.put(
|
||||||
alloc,
|
alloc,
|
||||||
.{ .key = .{ .translated = .j }, .mods = inputpkg.ctrlOrSuper(.{ .shift = true }) },
|
.{ .key = .{ .translated = .j }, .mods = inputpkg.ctrlOrSuper(.{ .shift = true }) },
|
||||||
.{ .write_scrollback_file = .paste },
|
.{ .write_screen_file = .paste },
|
||||||
);
|
);
|
||||||
|
|
||||||
try result.keybind.set.put(
|
try result.keybind.set.put(
|
||||||
alloc,
|
alloc,
|
||||||
.{ .key = .{ .translated = .j }, .mods = inputpkg.ctrlOrSuper(.{ .shift = true, .alt = true }) },
|
.{ .key = .{ .translated = .j }, .mods = inputpkg.ctrlOrSuper(.{ .shift = true, .alt = true }) },
|
||||||
.{ .write_scrollback_file = .open },
|
.{ .write_screen_file = .open },
|
||||||
);
|
);
|
||||||
|
|
||||||
// Expand Selection
|
// Expand Selection
|
||||||
|
Reference in New Issue
Block a user