Commit Graph

10 Commits

Author SHA1 Message Date
Vaclav Tvrdik
a2900682a0 Move channel to shared vaclavt/sublime-chanel repo
channel.json is removed; vDiff's Package Control channel now lives
in vaclavt/sublime-chanel alongside vAI and vterm.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-30 11:29:26 +02:00
Vaclav Tvrdik
e24922828c installable through a Package Control channel
repository.json describes vDiff itself; "tags": true means a release is a
pushed git tag. channel.json is the file users add to their "channels"
setting - it holds nothing but repository URLs, so packages added to it
later reach existing users without them changing anything.

The two are easy to confuse: Package Control rejects a file under
"channels" unless it has a top-level "repositories" key, so a repository
file belongs in "repositories". The README spells that out.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-26 22:51:55 +02:00
Vaclav Tvrdik
4749835e4f commit --amend initial version 2026-09-25 10:33:32 +02:00
Vaclav Tvrdik
0655d3b74a stage action moves to next unstaged file (there is setting to turn this off) 2026-09-25 10:08:36 +02:00
Vaclav Tvrdik
57476e78dc "[" and "]" cycle over changes (hunks) 2026-09-24 22:32:14 +02:00
Vaclav Tvrdik
18551641b5 "n" and "p" keys cycle over files 2026-09-24 17:13:29 +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