add close binding
This commit is contained in:
@@ -71,6 +71,7 @@ function M.get_bindings()
|
||||
prev_git_item = keybindings.prev_git_item or '[c',
|
||||
next_git_item = keybindings.next_git_item or ']c',
|
||||
dir_up = keybindings.dir_up or '-',
|
||||
close = keybindings.close or 'q',
|
||||
}
|
||||
end
|
||||
|
||||
|
||||
@@ -284,6 +284,7 @@ local function set_mappings()
|
||||
[bindings.prev_git_item] = 'on_keypress("prev_git_item")';
|
||||
[bindings.next_git_item] = 'on_keypress("next_git_item")';
|
||||
[bindings.dir_up] = 'on_keypress("dir_up")';
|
||||
[bindings.close] = 'on_keypress("close")';
|
||||
gx = "xdg_open()";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user