better help display
This commit is contained in:
parent
519649e672
commit
5eb0b3618a
@ -294,23 +294,33 @@ export default function TaskApp() {
|
||||
execSync("tmux-td")
|
||||
}
|
||||
|
||||
|
||||
if (input === "1") {
|
||||
editWithNeovim({ id: randomId(), name: "", completed: false, subtasks: [], content: consoleLog })
|
||||
}
|
||||
|
||||
if (input === "?") {
|
||||
log("==========================");
|
||||
log("Keybindings:");
|
||||
log("j/k - Move up/down");
|
||||
log("d/u - Move down/up 5 tasks");
|
||||
log("D - remove task");
|
||||
log("g/G - Go to top/bottom");
|
||||
log("h/l - Navigate parent/subtasks");
|
||||
log("a - Add task");
|
||||
log("s - Add subtask");
|
||||
log("e - Edit task in Neovim");
|
||||
log("S - Sync (Push/Pull)");
|
||||
log("space - Toggle completion");
|
||||
log("/ - Search");
|
||||
log("? - Show help");
|
||||
log("==========================");
|
||||
setActiveTabName("console")
|
||||
setTimeout(() => {
|
||||
editWithNeovim({
|
||||
id: randomId(), name: "", completed: false, subtasks: [], content: `
|
||||
==========================
|
||||
Keybindings:
|
||||
j/k - Move up/down
|
||||
d/u - Move down/up 5 tasks
|
||||
D - remove task
|
||||
g/G - Go to top/bottom
|
||||
h/l - Navigate parent/subtasks
|
||||
a - Add task
|
||||
s - Add subtask
|
||||
e - Edit task in Neovim
|
||||
S - Sync (Push/Pull)
|
||||
space - Toggle completion
|
||||
/ - Search
|
||||
? - Show help
|
||||
==========================
|
||||
` })
|
||||
|
||||
}, 100)
|
||||
}
|
||||
log("Input:", input);
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user