chore(superfile): update

This commit is contained in:
Stefan Imhoff
2024-05-29 12:30:54 +02:00
parent 4f395487d8
commit bd6a4de197
14 changed files with 469 additions and 41 deletions

View File

@@ -1,52 +1,49 @@
# Here is global, all global key cant conflicts with other hotkeys
# =================================================================================================
# Here is global, all global key can't conflicts with other hotkeys
confirm = ['enter', '']
quit = ['esc', 'q']
#
# movement
list_up = ['up', 'k']
list_down = ['down', 'j']
#
pinned_directory = ['ctrl+p', '']
#
# file panel control
close_file_panel = ['ctrl+w', '']
create_new_file_panel = ['ctrl+n', '']
#
next_file_panel = ['tab', 'L']
previous_file_panel = ['shift+left', 'H']
toggle_file_preview_panel = ['f', '']
# change focus
focus_on_process_bar = ['p', '']
focus_on_side_bar = ['b', '']
focus_on_sidebar = ['s', '']
focus_on_metadata = ['m', '']
#
change_panel_mode = ['v', '']
open_help_menu = ['?', '']
#
file_panel_directory_create = ['f', '']
file_panel_file_create = ['c', '']
# create file/directory and rename
file_panel_item_create = ['ctrl+n', '']
file_panel_item_rename = ['r', '']
paste_item = ['ctrl+v', '']
# file operate
copy_items = ['ctrl+c', '']
paste_items = ['ctrl+v', '']
cut_items = ['ctrl+x', '']
delete_items = ['ctrl+d', 'delete']
# compress and extract
extract_file = ['ctrl+e', '']
compress_file = ['ctrl+r', '']
toggle_dot_file = ['ctrl+h', '']
#
oepn_file_with_editor = ['e', '']
# editor
open_file_with_editor = ['e', '']
open_current_directory_with_editor = ['E', '']
#
# These hotkeys do not conflict with any other keys (including global hotkey)
cancel = ['ctrl+c', 'esc']
confirm = ['enter', '']
#
# Here is normal mode hotkey you can conflicts with other mode (cant conflicts with global hotkey)
delete_item = ['ctrl+d', '']
select_item = ['enter', 'l']
# else
pinned_directory = ['ctrl+p', '']
toggle_dot_file = ['ctrl+h', '']
change_panel_mode = ['v', '']
open_help_menu = ['?', '']
# =================================================================================================
# Here is typing hotkey can conflict with all hotkeys
confirm_typing = ['enter', '']
cancel_typing = ['ctrl+c', 'esc']
# =================================================================================================
# Here is normal mode hotkey you can conflicts with other mode (can't conflicts with global hotkey)
parent_directory = ['h', 'backspace']
copy_single_item = ['ctrl+c', '']
cut_single_item = ['ctrl+x', '']
search_bar = ['ctrl+f', '']
command_line = ['/', '']
#
# Here is select mode hotkey you can conflicts with other mode (cant conflicts with global hotkey)
file_panel_select_mode_item_single_select = ['enter', 'l']
file_panel_select_mode_item_select_down = ['shift+down', 'J']
file_panel_select_mode_item_select_up = ['shift+up', 'K']
file_panel_select_mode_item_delete = ['ctrl+d', 'delete']
file_panel_select_mode_item_copy = ['ctrl+c', '']
file_panel_select_mode_item_cut = ['ctrl+x', '']
file_panel_select_all_item = ['ctrl+a', '']
# =================================================================================================
# Here is select mode hotkey you can conflicts with other mode (can't conflicts with global hotkey)
file_panel_select_mode_items_select_down = ['shift+down', 'J']
file_panel_select_mode_items_select_up = ['shift+up', 'K']
file_panel_select_all_items = ['A', '']