Compare commits
2 commits
a76c1f4909
...
3c233a8dbf
Author | SHA1 | Date | |
---|---|---|---|
3c233a8dbf | |||
a8758eeec1 |
2 changed files with 6 additions and 0 deletions
|
@ -10,6 +10,7 @@
|
|||
["ctrl+w", "quit"],
|
||||
["ctrl+o", "open_file"],
|
||||
["ctrl+e", "open_recent"],
|
||||
["ctrl+shift+f5", "reload_file"],
|
||||
["ctrl+k ctrl+t", "change_theme"],
|
||||
["ctrl+shift+p", "open_command_palette"],
|
||||
["ctrl+shift+q", "quit_without_saving"],
|
||||
|
|
|
@ -46,6 +46,11 @@ const cmds_ = struct {
|
|||
}
|
||||
pub const @"wq!_meta": Meta = .{ .description = "wq! (write file and quit without saving)" };
|
||||
|
||||
pub fn @"e!"(_: *void, _: Ctx) Result {
|
||||
try cmd("reload_file", .{});
|
||||
}
|
||||
pub const @"e!_meta": Meta = .{ .description = "e! (force reload current file)" };
|
||||
|
||||
pub fn move_begin_or_add_integer_argument_zero(_: *void, _: Ctx) Result {
|
||||
return if (@import("keybind").current_integer_argument()) |_|
|
||||
command.executeName("add_integer_argument_digit", command.fmt(.{0}))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue