From de55948f8cb3f24bf5c4cd65e9a5243966925493 Mon Sep 17 00:00:00 2001 From: WormHeamer Date: Sat, 3 Jan 2026 18:15:12 -0500 Subject: split c into separate git add and git commit commands --- main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index 6e97d9b..b0c1431 100644 --- a/main.c +++ b/main.c @@ -1699,8 +1699,11 @@ void mode_key_normal(Editor *e, u32 c) { case 'd': shell_run_no_prompt("git diff --color=always % | less -cr"); break; + case 'a': + shell_run_no_prompt("git add %"); + break; case 'c': - shell_run_no_prompt("git add % && git commit %"); + shell_run_no_prompt("git commit"); break; case 'S': shell_run("git status"); -- cgit v1.2.3