mirror of
https://github.com/zoriya/jj.nvim.git
synced 2026-08-15 23:53:18 +00:00
feat: add close_on_edit config for log buffer (#48)
- Add close_on_edit option to close log buffer after editing a change (default: false) - Rename handle_log_enter to handle_log_edit with close_on_exit parameter - Update log keymaps to pass close_on_edit config to handlers - Update config types and defaults in init.lua
This commit is contained in:
@@ -159,6 +159,11 @@ The plugin also provides `:Jdiff`, `:Jvdiff`, and `:Jhdiff` commands for diffing
|
||||
}
|
||||
},
|
||||
|
||||
-- Configure log command behavior
|
||||
log = {
|
||||
close_on_edit = false, -- Close log buffer after editing a change
|
||||
},
|
||||
|
||||
-- Configure keymaps for command buffers
|
||||
keymaps = {
|
||||
-- Log buffer keymaps (set to nil to disable)
|
||||
|
||||
Reference in New Issue
Block a user