Compare commits
No commits in common. "19f88a8349f1d95f8d1c2076b85f3a819da7cbcf" and "0b28218a98ab25d665544042b743ad1f413a5172" have entirely different histories.
19f88a8349
...
0b28218a98
2 changed files with 0 additions and 6 deletions
|
|
@ -12,7 +12,6 @@
|
||||||
["ctrl+o", "open_file"],
|
["ctrl+o", "open_file"],
|
||||||
["ctrl+e", "open_recent"],
|
["ctrl+e", "open_recent"],
|
||||||
["alt+o", "open_previous_file"],
|
["alt+o", "open_previous_file"],
|
||||||
["ctrl+shift+t", "restore_closed_tab"],
|
|
||||||
["ctrl+shift+f5", "reload_file"],
|
["ctrl+shift+f5", "reload_file"],
|
||||||
["ctrl+k ctrl+t", "change_theme"],
|
["ctrl+k ctrl+t", "change_theme"],
|
||||||
["ctrl+shift+p", "open_command_palette"],
|
["ctrl+shift+p", "open_command_palette"],
|
||||||
|
|
|
||||||
|
|
@ -1012,11 +1012,6 @@ const cmds = struct {
|
||||||
}
|
}
|
||||||
pub const open_most_recent_file_meta: Meta = .{ .description = "Open the last changed file" };
|
pub const open_most_recent_file_meta: Meta = .{ .description = "Open the last changed file" };
|
||||||
|
|
||||||
pub fn restore_closed_tab(self: *Self, _: Ctx) Result {
|
|
||||||
self.show_file_async(self.get_next_mru_buffer(.hidden) orelse return error.Stop);
|
|
||||||
}
|
|
||||||
pub const restore_closed_tab_meta: Meta = .{ .description = "Restore last closed tab" };
|
|
||||||
|
|
||||||
pub fn system_paste(self: *Self, _: Ctx) Result {
|
pub fn system_paste(self: *Self, _: Ctx) Result {
|
||||||
if (builtin.os.tag == .windows) {
|
if (builtin.os.tag == .windows) {
|
||||||
const text = try @import("renderer").request_windows_clipboard(self.allocator);
|
const text = try @import("renderer").request_windows_clipboard(self.allocator);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue