summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWormHeamer2026-01-02 06:02:30 -0500
committerWormHeamer2026-01-02 06:02:30 -0500
commit998235d798979baf65d3f6af06f77077d447c1aa (patch)
tree9cbc4a1699affb0e5283ee15dac68eb742c453f1
parentbec1fd2771449a532366afa07e4754ffdc350d5b (diff)
add git status command
-rw-r--r--main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.c b/main.c
index e3b7784..5b74326 100644
--- a/main.c
+++ b/main.c
@@ -1610,6 +1610,9 @@ void mode_key_normal(Editor *e, u32 c) {
case 'c':
shell_run_no_prompt("git add % && git commit %");
break;
+ case 'S':
+ shell_run("git status");
+ break;
default:
/* TODO: flash */
break;