forked from kamiyaa/joshuto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkeymap.toml
100 lines (82 loc) · 4 KB
/
keymap.toml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
mapcommand = [
{ keys = [ "T" ], command = "new_tab" },
{ keys = [ "ctrl+t" ], command = "new_tab" },
{ keys = [ "W" ], command = "close_tab" },
{ keys = [ "ctrl+w" ], command = "close_tab" },
{ keys = [ "q" ], command = "close_tab" },
{ keys = [ "Q" ], command = "quit_to_cwd" },
{ keys = [ "R" ], command = "reload_dirlist" },
{ keys = [ "z", "h" ], command = "toggle_hidden" },
{ keys = [ "\t" ], command = "tab_switch 1" },
{ keys = [ "backtab" ], command = "tab_switch -1" },
{ keys = [ "alt+1" ], command = "tab_switch_index 1" },
{ keys = [ "alt+2" ], command = "tab_switch_index 2" },
{ keys = [ "alt+3" ], command = "tab_switch_index 3" },
{ keys = [ "alt+4" ], command = "tab_switch_index 4" },
{ keys = [ "alt+5" ], command = "tab_switch_index 5" },
# arrow keys
{ keys = [ "arrow_up" ], command = "cursor_move_up" },
{ keys = [ "arrow_down" ], command = "cursor_move_down" },
{ keys = [ "arrow_left" ], command = "cd .." },
{ keys = [ "arrow_right" ], command = "open" },
{ keys = [ "\n" ], command = "open" },
{ keys = [ "end" ], command = "cursor_move_end" },
{ keys = [ "home" ], command = "cursor_move_home" },
{ keys = [ "page_up" ], command = "cursor_move_page_up" },
{ keys = [ "page_down" ], command = "cursor_move_page_down" },
{ keys = [ "ctrl+u" ], command = "cursor_move_page_up 0.5" },
{ keys = [ "ctrl+d" ], command = "cursor_move_page_down 0.5" },
# vim-like keybindings
{ keys = [ "j" ], command = "cursor_move_down" },
{ keys = [ "k" ], command = "cursor_move_up" },
{ keys = [ "h" ], command = "cd .." },
{ keys = [ "l" ], command = "open" },
{ keys = [ "g", "g" ], command = "cursor_move_home" },
{ keys = [ "G" ], command = "cursor_move_end" },
{ keys = [ "r" ], command = "open_with" },
{ keys = [ "[" ], command = "parent_cursor_move_up" },
{ keys = [ "]" ], command = "parent_cursor_move_down" },
{ keys = [ "c", "d" ], command = ":cd " },
{ keys = [ "d", "d" ], command = "cut_files" },
{ keys = [ "y", "y" ], command = "copy_files" },
{ keys = [ "p", "p" ], command = "paste_files" },
{ keys = [ "p", "o" ], command = "paste_files --overwrite=true" },
{ keys = [ "y", "n" ], command = "copy_filename" },
{ keys = [ "y", "." ], command = "copy_filename_without_extension" },
{ keys = [ "y", "p" ], command = "copy_filepath" },
{ keys = [ "y", "d" ], command = "copy_dirpath" },
{ keys = [ "delete" ], command = "delete_files" },
{ keys = [ "d", "D" ], command = "delete_files" },
{ keys = [ "a" ], command = "rename_append" },
{ keys = [ "A" ], command = "rename_prepend" },
{ keys = [ "f", "t" ], command = ":touch " },
{ keys = [ " " ], command = "select --toggle=true" },
{ keys = [ "t" ], command = "select --all=true --toggle=true" },
{ keys = [ "w" ], command = "show_workers --exit-key=w" },
{ keys = [ "b", "b" ], command = "bulk_rename" },
{ keys = [ "=" ], command = "set_mode" },
{ keys = [ ":" ], command = ":" },
{ keys = [ ";" ], command = ":" },
{ keys = [ "'" ], command = ":shell " },
{ keys = [ "m", "k" ], command = ":mkdir " },
{ keys = [ "c", "w" ], command = ":rename " },
{ keys = [ "/" ], command = ":search " },
{ keys = [ "|" ], command = ":search_inc " },
{ keys = [ "\\" ], command = ":search_glob " },
{ keys = [ "S" ], command = "search_fzf" },
{ keys = [ "C" ], command = "subdir_fzf" },
{ keys = [ "n" ], command = "search_next" },
{ keys = [ "N" ], command = "search_prev" },
{ keys = [ "s", "r" ], command = "sort reverse" },
{ keys = [ "s", "l" ], command = "sort lexical" },
{ keys = [ "s", "m" ], command = "sort mtime" },
{ keys = [ "s", "n" ], command = "sort natural" },
{ keys = [ "s", "s" ], command = "sort size" },
{ keys = [ "s", "e" ], command = "sort ext" },
{ keys = [ "g", "r" ], command = "cd /" },
{ keys = [ "g", "c" ], command = "cd ~/.config" },
{ keys = [ "g", "d" ], command = "cd ~/Downloads" },
{ keys = [ "g", "e" ], command = "cd /etc" },
{ keys = [ "g", "h" ], command = "cd ~/" },
{ keys = [ "?" ], command = "help" }
]