feat: use icons in mini mode labels
This commit is contained in:
parent
9ba773c4a4
commit
cf22ba38e7
7 changed files with 21 additions and 28 deletions
|
@ -54,7 +54,7 @@ pub fn handler(self: *Self) EventHandler {
|
|||
}
|
||||
|
||||
pub fn name(_: *Self) []const u8 {
|
||||
return "find";
|
||||
return " find";
|
||||
}
|
||||
|
||||
pub fn receive(self: *Self, _: tp.pid_ref, m: tp.message) error{Exit}!bool {
|
||||
|
|
|
@ -53,7 +53,7 @@ pub fn handler(self: *Self) EventHandler {
|
|||
}
|
||||
|
||||
pub fn name(_: *Self) []const u8 {
|
||||
return "find in files";
|
||||
return " find";
|
||||
}
|
||||
|
||||
pub fn receive(self: *Self, _: tp.pid_ref, m: tp.message) error{Exit}!bool {
|
||||
|
|
|
@ -41,7 +41,7 @@ pub fn handler(self: *Self) EventHandler {
|
|||
}
|
||||
|
||||
pub fn name(_: *Self) []const u8 {
|
||||
return "goto";
|
||||
return "#goto";
|
||||
}
|
||||
|
||||
pub fn receive(self: *Self, _: tp.pid_ref, m: tp.message) error{Exit}!bool {
|
||||
|
|
|
@ -54,12 +54,12 @@ pub fn handler(self: *Self) EventHandler {
|
|||
pub fn name(self: *Self) []const u8 {
|
||||
return switch (self.operation) {
|
||||
.move => switch (self.direction) {
|
||||
.left => "move left to char",
|
||||
.right => "move right to char",
|
||||
.left => "↶ move",
|
||||
.right => "↷ move",
|
||||
},
|
||||
.select => switch (self.direction) {
|
||||
.left => "select left to char",
|
||||
.right => "select right to char",
|
||||
.left => " ↶ select",
|
||||
.right => " ↷ select",
|
||||
},
|
||||
};
|
||||
}
|
||||
|
|
|
@ -44,7 +44,7 @@ pub fn handler(self: *Self) EventHandler {
|
|||
}
|
||||
|
||||
pub fn name(_: *Self) []const u8 {
|
||||
return "open file";
|
||||
return " open";
|
||||
}
|
||||
|
||||
pub fn receive(self: *Self, _: tp.pid_ref, m: tp.message) error{Exit}!bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue