Compare commits

..

No commits in common. "4da9cee1ee3ec6b33a686c551edc2c7a913421d1" and "fc6f2e2cde0471ad1ecaff33a1d6276141a0b962" have entirely different histories.

2 changed files with 0 additions and 20 deletions

View file

@ -63,8 +63,6 @@
["ctrl+f6", "open_version_info"], ["ctrl+f6", "open_version_info"],
["alt+shift+t", "set_session_tab_width"], ["alt+shift+t", "set_session_tab_width"],
["alt+d", ["shell_execute_insert", "date", "--iso-8601"]], ["alt+d", ["shell_execute_insert", "date", "--iso-8601"]],
["alt+=", "expand_centered_view"],
["alt+-", "shrink_centered_view"],
["ctrl+alt+shift+d", ["shell_execute_insert", "date", "--iso-8601=seconds"]] ["ctrl+alt+shift+d", ["shell_execute_insert", "date", "--iso-8601=seconds"]]
] ]
}, },

View file

@ -1424,24 +1424,6 @@ const cmds = struct {
self.allocator.free(removed.text); self.allocator.free(removed.text);
} }
pub const clipboard_delete_meta: Meta = .{}; pub const clipboard_delete_meta: Meta = .{};
pub fn expand_centered_view(_: *Self, _: Ctx) Result {
const conf = config_mut();
conf.centered_view_width = conf.centered_view_width + 1;
conf.centered_view_min_screen_width = conf.centered_view_min_screen_width + 1;
try save_config();
resize();
}
pub const expand_centered_view_meta: Meta = .{ .description = "Expand centered view" };
pub fn shrink_centered_view(_: *Self, _: Ctx) Result {
const conf = config_mut();
conf.centered_view_width = conf.centered_view_width - @min(1, conf.centered_view_width);
conf.centered_view_min_screen_width = conf.centered_view_min_screen_width - @min(1, conf.centered_view_min_screen_width);
try save_config();
resize();
}
pub const shrink_centered_view_meta: Meta = .{ .description = "Shrink centered view" };
}; };
pub const MiniMode = struct { pub const MiniMode = struct {