feat: add configurable diff modes and split orientation

This commit is contained in:
2026-10-12 23:43:15 +02:00
parent c35abe0f03
commit d1855dbdb7
14 changed files with 847 additions and 169 deletions
+3 -1
View File
@@ -7,6 +7,8 @@ Vamp.configure do |config|
config.file_explorer_side = "right"
config.file_explorer_view = "tree"
config.file_picker_view = "tree"
config.diff_view_mode = "split" # or "unified"
config.diff_split_orientation = "left_right" # or "above_below"
# config.popup.command = { anchor: :bottom_left }
# config.popup.search = { anchor: :center }
# Status above, tabs and live battery below; either bar accepts all segments.
@@ -41,7 +43,7 @@ Vamp.configure do |config|
config.bind "g", "greet"
config.bind "leader g", "greet"
config.bind "leader q", config.core.quit
config.bind "leader v", config.core.diff
config.bind "leader d", config.core.diff
config.bind "ctrl+r", config.core.redo
config.bind "leader r", config.core.repeat_last_edit
config.bind "ctrl+c", config.core.normal, mode: config.modes.insert