From a8d218561121671bdce3aaab76688970f9893e9e Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Tue, 21 Jan 2025 20:13:14 -0600 Subject: [PATCH] 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 --- src/config/Config.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/Config.zig b/src/config/Config.zig index 386e6f9236..fd0f58669f 100644 --- a/src/config/Config.zig +++ b/src/config/Config.zig @@ -2370,13 +2370,13 @@ pub fn default(alloc_gpa: Allocator) Allocator.Error!Config { try result.keybind.set.put( alloc, .{ .key = .{ .translated = .j }, .mods = inputpkg.ctrlOrSuper(.{ .shift = true }) }, - .{ .write_scrollback_file = .paste }, + .{ .write_screen_file = .paste }, ); try result.keybind.set.put( alloc, .{ .key = .{ .translated = .j }, .mods = inputpkg.ctrlOrSuper(.{ .shift = true, .alt = true }) }, - .{ .write_scrollback_file = .open }, + .{ .write_screen_file = .open }, ); // Expand Selection