diff options
| author | eric.marin <maarin.eric@gmail.com> | 2024-09-11 14:49:39 +0200 |
|---|---|---|
| committer | eric.marin <maarin.eric@gmail.com> | 2024-09-11 14:59:47 +0200 |
| commit | 9f20c1f313e20102dd83adeaf091284be1fd82d0 (patch) | |
| tree | d3db386875af532f4fc55c275312c7c787e88f55 /superfile | |
| download | dotfiles-9f20c1f313e20102dd83adeaf091284be1fd82d0.tar.gz dotfiles-9f20c1f313e20102dd83adeaf091284be1fd82d0.zip | |
config
Diffstat (limited to 'superfile')
| -rw-r--r-- | superfile/config.toml | 51 | ||||
| -rw-r--r-- | superfile/hotkeys.toml | 50 |
2 files changed, 101 insertions, 0 deletions
diff --git a/superfile/config.toml b/superfile/config.toml new file mode 100644 index 0000000..e31b388 --- /dev/null +++ b/superfile/config.toml @@ -0,0 +1,51 @@ +# More details are at https://superfile.netlify.app/configure/superfile-config/ +# change your theme +theme = 'catppuccin-macchiato' +# +# Auto check for update +auto_check_update = true +# +# Cd on quit (For more details, please check out https://superfile.netlify.app/configure/superfile-config/#cd_on_quit) +cd_on_quit = false +# +# Whether to open file preview automatically every time superfile is opened. +default_open_file_preview = true +# +# The path of the first file panel when superfile is opened. +default_directory = '.' +# +# Display file sizes using powers of 1000 (kB, MB, GB) instead of powers of 1024 (KiB, MiB, GiB). +file_size_use_si = false +# +# ================ Style ================= +# +# If you don't have or don't want Nerdfont installed you can turn this off +nerdfont = true +# +# Set transparent background or not (this only work when your terminal background is transparent) +transparent_background = false +# +# File preview width allow '0' (this mean same as file panel),'x' x must be less than 10 and greater than 1 (This means that the width of the file preview will be one xth of the total width.) +file_preview_width = 0 +# +# The length of the sidebar. If you don't want to display the sidebar, you can input 0 directly. If you want to display the value, please place it in the range of 3-20. +sidebar_width = 20 +# +# Border style +border_top = '─' +border_bottom = '─' +border_left = '│' +border_right = '│' +border_top_left = '╭' +border_top_right = '╮' +border_bottom_left = '╰' +border_bottom_right = '╯' +border_middle_left = '├' +border_middle_right = '┤' +# +# ==========PLUGINS========== # +# +# Show more detailed metadata, please install exiftool before enabling this plugin! +metadata = true +# Enable MD5 checksum generation for files +enable_md5_checksum = false diff --git a/superfile/hotkeys.toml b/superfile/hotkeys.toml new file mode 100644 index 0000000..bddd763 --- /dev/null +++ b/superfile/hotkeys.toml @@ -0,0 +1,50 @@ +# ================================================================================================= +# Here is global, all global key can't conflicts with other hotkeys +confirm = ['enter', 'l'] +quit = ['q', 'esc'] +# movement +list_up = ['up', 'k'] +list_down = ['down', 'j'] +# file panel control +close_file_panel = ['w', ''] +create_new_file_panel = ['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 = ['ctrl+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+a', ''] +# editor +open_file_with_editor = ['e', ''] +open_current_directory_with_editor = ['E', ''] +# else +pinned_directory = ['P', ''] +toggle_dot_file = ['.', ''] +change_panel_mode = ['v', ''] +open_help_menu = ['?', ''] +open_command_line = [':', ''] +# ================================================================================================= +# 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 = ['/', ''] +# ================================================================================================= +# 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', ''] |
