diff options
| author | WormHeamer | 2026-01-03 18:15:12 -0500 |
|---|---|---|
| committer | WormHeamer | 2026-01-03 18:15:12 -0500 |
| commit | de55948f8cb3f24bf5c4cd65e9a5243966925493 (patch) | |
| tree | dfedf3dc05f255c3797c88e9b729ce6f2f1d8294 | |
| parent | 9a4896c089d6678e5764122363ac0a47664deeba (diff) | |
split <Space>c into separate git add and git commit commands
| -rw-r--r-- | main.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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"); |
