Files
dotfiles/superfile/hotkeys.toml
2024-05-29 12:30:54 +02:00

50 lines
1.9 KiB
TOML

# =================================================================================================
# 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']
# 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_sidebar = ['s', '']
focus_on_metadata = ['m', '']
# create file/directory and rename
file_panel_item_create = ['ctrl+n', '']
file_panel_item_rename = ['r', '']
# 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', '']
# editor
open_file_with_editor = ['e', '']
open_current_directory_with_editor = ['E', '']
# 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']
search_bar = ['ctrl+f', '']
# =================================================================================================
# 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', '']