Vamp.configure do |config| config.leader = "space" config.clipboard_mode = "system" # "separate" keeps ordinary y/d/c/p/P internal config.file_explorer_side = "right" config.file_explorer_view = "tree" config.file_picker_view = "tree" config.bind "ctrl+j", config.core.down, mode: config.modes.selection config.bind "ctrl+k", config.core.up, mode: config.modes.selection config.bind "h", config.core.left, mode: config.modes.tree config.bind "j", config.core.down, mode: config.modes.tree config.bind "k", config.core.up, mode: config.modes.tree config.bind "l", config.core.right, mode: config.modes.tree config.bind "ctrl+h", config.core.left, mode: config.modes.tree config.bind "ctrl+l", config.core.right, mode: config.modes.tree config.plugin "plugins/greeting.rb" # Optional LSP feature; install/configure a trusted language server first. # config.plugin "plugins/lsp.rb", options: { # servers: [{ language_id: "rust", extensions: ["rs"], command: ["rust-analyzer"] }] # } # config.bind "leader d", "lsp_definition" config.bind "g", "greet" config.bind "leader g", "greet" 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 config.bind "ctrl+f", config.core.search config.bind "ctrl+c", config.core.normal, mode: config.modes.search config.bind "ctrl+w", config.core.word_next config.bind "ctrl+b", config.core.word_previous, mode: config.modes.insert config.bind "ctrl+v", config.core.select config.bind "ctrl+c", config.core.copy, mode: config.modes.visual config.bind "ctrl+x", config.core.cut, mode: config.modes.visual config.bind "ctrl+r", config.core.change, mode: config.modes.visual end