feat: add configurable diff modes and split orientation
This commit is contained in:
+3
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user