docs: update todo and backup current config.rb

This commit is contained in:
2026-10-14 00:24:25 +02:00
parent a8428f9dde
commit 86718221c4
2 changed files with 53 additions and 9 deletions
+42
View File
@@ -0,0 +1,42 @@
Vamp.configure do |config|
config.lsp.merge!(
"rust" => true,
"ruby" => true,
"python" => true,
)
# 0 (default): scroll only at viewport edges
# nil: center; oversized integer margins also center
config.scroll_distance = 7
config.highlight_trailing_whitespace = true
config.whitespace_scope = "leading" # or "all" (default)
config.whitespace_characters = {
" " => "·",
"\t" => "→",
"\n" => "↵",
}
# "bar" (default), "symbols", "line_numbers", "none"
config.git_gutter = "bar"
# diff view
config.diff_context_lines = 10
config.diff_expand_lines = 15
# general bindings
config.bind "leader q", config.core.pane.close
config.bind "leader t w", config.core.word_wrap.toggle
# pane navigation
config.bind "ctrl+w h", config.core.pane.focus_left
config.bind "ctrl+w j", config.core.pane.focus_down
config.bind "ctrl+w k", config.core.pane.focus_up
config.bind "ctrl+w l", config.core.pane.focus_right
# lsp bindings
config.bind "K", config.core.lsp.hover
config.bind "leader d", config.core.lsp.definition
config.bind "leader D", config.core.lsp.diagnostics
end