-
Notifications
You must be signed in to change notification settings - Fork 0
/
default_cmd.def
31 lines (30 loc) · 1.57 KB
/
default_cmd.def
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
cmd('h', show_prev_commit, "show previous commit")
cmd('j', forward_line, "forwarding one line")
cmd('k', backward_line, "backwarding one line")
cmd('l', show_next_commit, "show next commit")
cmd('q', quit, "quit gitless")
cmd('g', goto_top, "show top of current commit")
cmd('G', goto_bottom, "show bottom of current commit")
cmd(' ', forward_page, "forwarding one page")
cmd('J', forward_page, "forwarding one page")
cmd('K', backward_page, "backwarding one page")
cmd('H', show_root, "show root of the repository")
cmd('L', show_head, "show HEAD of the repository")
cmd('/', search_global_forward, "global search, forward direction")
cmd('?', search_global_backward, "global search, backward direction")
cmd('\\', search_local_forward, "local search, forward direction")
cmd('!', search_local_backward, "local search, backward direction")
cmd('n', search_progress, "search next matched line")
cmd('p', search_progress, "show previous matched line")
cmd('o', restore_orig_place, "restore saved view place")
cmd('s', save_orig_place, "save current view for restoring later(with key o)")
cmd('[', specify_range, "set current commit as the begin of range")
cmd(']', specify_range, "set current commit as the end of range")
cmd('R', clear_range, "clear current range")
cmd(',', search_with_filter, "search with filter")
cmd('.', search_with_filter, "search global forward with filter")
cmd('i', launch_git_command, "launch git command")
cmd('f', show_changed_files, "show changed files in current commit")
cmd(0x1b, stop_search, "stop current search")
cmd('y', yank, "yank test")
cmd('#', help, "show this help")