Add mappings for jumping to previous or next git item.
This commit is contained in:
@@ -58,6 +58,8 @@ function M.get_bindings()
|
||||
cut = keybindings.cut or 'x',
|
||||
copy = keybindings.copy or 'c',
|
||||
paste = keybindings.paste or 'p',
|
||||
prev_git_item = keybindings.prev_git_item or '[c',
|
||||
next_git_item = keybindings.next_git_item or ']c',
|
||||
}
|
||||
end
|
||||
|
||||
|
||||
@@ -213,6 +213,8 @@ local function set_mappings()
|
||||
[bindings.cut] = 'on_keypress("cut")';
|
||||
[bindings.copy] = 'on_keypress("copy")';
|
||||
[bindings.paste] = 'on_keypress("paste")';
|
||||
[bindings.prev_git_item] = 'on_keypress("prev_git_item")';
|
||||
[bindings.next_git_item] = 'on_keypress("next_git_item")';
|
||||
gx = "xdg_open()";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user