Commit Graph

13 Commits

Author SHA1 Message Date
Vaclav Tvrdik
c894d925a1 branches view initial version 2026-10-14 11:22:54 +02:00
Vaclav Tvrdik
904b941be7 stage/unstage all actions added 2026-10-10 10:24:15 +02:00
Vaclav Tvrdik
fe915178c5 initial version of all-in-one diff view 2026-10-04 21:27:16 +02:00
Vaclav Tvrdik
413731df47 tighten the multi-line comments 2026-09-29 15:14:02 +02:00
Vaclav Tvrdik
54c69484d5 syntax highlighting on changed lines, keeping the red/green background 2026-09-29 15:13:52 +02:00
Vaclav Tvrdik
af8c1dd6df .format replaced by f-strings 2026-09-26 20:25:50 +02:00
Vaclav Tvrdik
4749835e4f commit --amend initial version 2026-09-25 10:33:32 +02:00
Vaclav Tvrdik
18551641b5 "n" and "p" keys cycle over files 2026-09-24 17:13:29 +02:00
Vaclav Tvrdik
419b1a95fb fix "n" and "p" keys not working all the time 2026-09-24 16:49:52 +02:00
Vaclav Tvrdik
fda13684d2 summary line initial version added 2026-09-24 15:38:03 +02:00
Vaclav Tvrdik
d45a250e62 added j / k for vim-style line movement
j and k move the caret one line, delegated to sublime's own `move` command
so they behave exactly like the arrow keys. They dispatch through the
existing ACTIONS registry, so the keymap, the status-bar hints and the ?
popup all stay in sync through the single KEY_GROUPS table.

Unlike the other letter keys, j / k keep no command_mode context: the view
is read-only, so leaving them live while Vintage is in command mode can
only ever move the caret. That asymmetry was previously documented only in
a comment, which was wrong (it claimed j / k were the only unguarded
bindings, but escape has always carried its own context instead). It is now
pinned by test_command_mode_guard_is_deliberate, so normalising the keymap
fails the suite with the reason attached.

Also tidies two long lines in commands.py.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-24 15:03:32 +02:00
Vaclav Tvrdik
07f0503cef added key "?" for help 2026-09-24 13:24:04 +02:00
Vaclav Tvrdik
8c174bc131 initial commit 2026-09-23 21:10:59 +02:00