mirror of
https://github.com/zoriya/jj.nvim.git
synced 2026-08-15 23:53:18 +00:00
feat: :J desc short hand for describe (#12)
This commit is contained in:
@@ -16,7 +16,7 @@ This plugin aims to be something like vim-fugitive but for driving the jj-vcs CL
|
||||
- Terminal-based output display for jj commands
|
||||
- Support jj subcommands including your aliases through the cmdline.
|
||||
- First class citizens with ui integration
|
||||
- `describe` - Set change descriptions with a Git-style commit message editor
|
||||
- `describe` / `desc` - Set change descriptions with a Git-style commit message editor
|
||||
- `status` / `st` - Show repository status
|
||||
- `log` - Display log history with configurable options
|
||||
- `diff` - Show changes
|
||||
|
||||
+1
-1
@@ -912,7 +912,7 @@ function M.j(args)
|
||||
local cmd = string.format("jj %s", cmd_args)
|
||||
|
||||
-- Handle known subcommands with custom logic
|
||||
if subcommand == "describe" then
|
||||
if subcommand == "describe" or subcommand == "desc" then
|
||||
local description = table.concat(remaining_args, " ")
|
||||
M.describe(description ~= "" and description or nil)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user