29 lines
1.4 KiB
Ruby
29 lines
1.4 KiB
Ruby
Vamp.configure do |config|
|
|
config.leader = "space"
|
|
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"
|
|
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
|