mirror of
https://github.com/deadnews/mc-onedark.git
synced 2026-02-26 01:08:31 +03:00
feat: dev pr (#6)
* chore: sort lines * ci(pre-commit): update schedule * feat: add `dotbot` config
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
ci:
|
ci:
|
||||||
autofix_commit_msg: "chore: auto fixes from `pre-commit` hooks"
|
autofix_commit_msg: "chore: auto fixes from `pre-commit` hooks"
|
||||||
autoupdate_commit_msg: "chore(pre-commit): autoupdate"
|
autoupdate_commit_msg: "chore(pre-commit): autoupdate"
|
||||||
autoupdate_schedule: monthly
|
autoupdate_schedule: quarterly
|
||||||
|
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
|
|||||||
16
README.md
16
README.md
@@ -15,27 +15,35 @@ The 16M color version can be used independently of any terminal color scheme, bu
|
|||||||
- Copy files from `./skins` to `~/.local/share/mc/skins`
|
- Copy files from `./skins` to `~/.local/share/mc/skins`
|
||||||
- Copy files from `./config` to `~/.config/mc/` (optional)
|
- Copy files from `./config` to `~/.config/mc/` (optional)
|
||||||
|
|
||||||
|
or
|
||||||
|
|
||||||
|
- Link configs with [dotbot](https://github.com/anishathalye/dotbot):
|
||||||
|
|
||||||
|
```sh
|
||||||
|
dotbot -c install.conf.yaml
|
||||||
|
```
|
||||||
|
|
||||||
## Activating ways
|
## Activating ways
|
||||||
|
|
||||||
- Choose the skin through the mc UI with:
|
1. Choose the skin through the mc UI with:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# F9 > Options > Appearance
|
# F9 > Options > Appearance
|
||||||
```
|
```
|
||||||
|
|
||||||
- Edit `~/.config/mc/ini` and add `skin=onedark`:
|
2. Edit `~/.config/mc/ini` and add `skin=onedark`:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sed -i 's|\(^skin=\).*$|\1onedark|' ~/.config/mc/ini
|
sed -i 's|\(^skin=\).*$|\1onedark|' ~/.config/mc/ini
|
||||||
```
|
```
|
||||||
|
|
||||||
- Run mc with specific skin:
|
3. Run mc with specific skin:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
mc -S onedark
|
mc -S onedark
|
||||||
```
|
```
|
||||||
|
|
||||||
- Add `export MC_SKIN=onedark` to the initialization file of your shell (e.g., `~/.bashrc` or `~/.zshrc`):
|
4. Add `export MC_SKIN=onedark` to the initialization file of your shell (e.g., `~/.bashrc` or `~/.zshrc`):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
echo "export MC_SKIN=onedark" >> ~/.zshrc
|
echo "export MC_SKIN=onedark" >> ~/.zshrc
|
||||||
|
|||||||
229
config/ini
229
config/ini
@@ -1,156 +1,155 @@
|
|||||||
[Midnight-Commander]
|
[Midnight-Commander]
|
||||||
verbose=true
|
alternate_plus_minus=false
|
||||||
shell_patterns=true
|
auto_fill_mkdir_name=true
|
||||||
auto_save_setup=true
|
|
||||||
preallocate_space=false
|
|
||||||
auto_menu=false
|
auto_menu=false
|
||||||
use_internal_view=false
|
auto_save_setup=true
|
||||||
use_internal_edit=false
|
cd_symlinks=true
|
||||||
|
classic_progressbar=true
|
||||||
clear_before_exec=true
|
clear_before_exec=true
|
||||||
confirm_delete=true
|
confirm_delete=true
|
||||||
confirm_overwrite=true
|
|
||||||
confirm_execute=true
|
|
||||||
confirm_history_cleanup=true
|
|
||||||
confirm_exit=false
|
|
||||||
confirm_directory_hotlist_delete=false
|
confirm_directory_hotlist_delete=false
|
||||||
|
confirm_execute=true
|
||||||
|
confirm_exit=false
|
||||||
|
confirm_history_cleanup=true
|
||||||
|
confirm_overwrite=true
|
||||||
confirm_view_dir=false
|
confirm_view_dir=false
|
||||||
|
copymove_persistent_attr=true
|
||||||
|
double_click_speed=250
|
||||||
|
drop_menus=false
|
||||||
|
editor_ask_filename_before_edit=false
|
||||||
|
editor_backspace_through_tabs=false
|
||||||
|
editor_backup_extension=~
|
||||||
|
editor_check_new_line=false
|
||||||
|
editor_cursor_after_inserted_block=false
|
||||||
|
editor_cursor_beyond_eol=false
|
||||||
|
editor_drop_selection_on_copy=true
|
||||||
|
editor_edit_confirm_save=true
|
||||||
|
editor_fake_half_tabs=true
|
||||||
|
editor_filesize_threshold=64M
|
||||||
|
editor_fill_tabs_with_spaces=true
|
||||||
|
editor_group_undo=false
|
||||||
|
editor_line_state=false
|
||||||
|
editor_option_auto_para_formatting=false
|
||||||
|
editor_option_save_mode=0
|
||||||
|
editor_option_save_position=true
|
||||||
|
editor_option_typewriter_wrap=false
|
||||||
|
editor_persistent_selections=true
|
||||||
|
editor_return_does_auto_indent=true
|
||||||
|
editor_show_right_margin=false
|
||||||
|
editor_simple_statusbar=false
|
||||||
|
editor_state_full_filename=false
|
||||||
|
editor_stop_format_chars=-+*\\,.;:&>
|
||||||
|
editor_syntax_highlighting=true
|
||||||
|
editor_tab_spacing=4
|
||||||
|
editor_visible_spaces=true
|
||||||
|
editor_visible_tabs=true
|
||||||
|
editor_word_wrap_line_length=72
|
||||||
|
fast_refresh=false
|
||||||
|
file_op_compute_totals=true
|
||||||
|
filepos_max_saved_entries=1024
|
||||||
|
fish_directory_timeout=900
|
||||||
|
ftpfs_always_use_proxy=false
|
||||||
|
ftpfs_directory_timeout=900
|
||||||
|
ftpfs_first_cd_then_ls=true
|
||||||
|
ftpfs_retry_seconds=30
|
||||||
|
ftpfs_use_passive_connections_over_proxy=false
|
||||||
|
ftpfs_use_passive_connections=true
|
||||||
|
ftpfs_use_unix_list_options=true
|
||||||
|
ignore_ftp_chattr_errors=true
|
||||||
|
max_dirt_limit=10
|
||||||
|
mcview_eof=
|
||||||
|
mcview_remember_file_position=false
|
||||||
|
mouse_close_dialog=false
|
||||||
|
mouse_move_pages_viewer=true
|
||||||
|
mouse_repeat_rate=100
|
||||||
|
nice_rotating_dash=true
|
||||||
|
num_history_items_recorded=60
|
||||||
|
old_esc_mode_timeout=1000000
|
||||||
|
old_esc_mode=true
|
||||||
|
only_leading_plus_minus=true
|
||||||
|
pause_after_run=1
|
||||||
|
preallocate_space=false
|
||||||
safe_delete=false
|
safe_delete=false
|
||||||
safe_overwrite=false
|
safe_overwrite=false
|
||||||
use_8th_bit_as_meta=false
|
shadows=false
|
||||||
mouse_move_pages_viewer=true
|
shell_patterns=true
|
||||||
mouse_close_dialog=false
|
|
||||||
fast_refresh=false
|
|
||||||
drop_menus=false
|
|
||||||
wrap_mode=true
|
|
||||||
old_esc_mode=true
|
|
||||||
cd_symlinks=true
|
|
||||||
show_all_if_ambiguous=false
|
show_all_if_ambiguous=false
|
||||||
use_file_to_guess_type=true
|
|
||||||
alternate_plus_minus=false
|
|
||||||
only_leading_plus_minus=true
|
|
||||||
show_output_starts_shell=false
|
show_output_starts_shell=false
|
||||||
xtree_mode=false
|
|
||||||
file_op_compute_totals=true
|
|
||||||
classic_progressbar=true
|
|
||||||
use_netrc=true
|
|
||||||
ftpfs_always_use_proxy=false
|
|
||||||
ftpfs_use_passive_connections=true
|
|
||||||
ftpfs_use_passive_connections_over_proxy=false
|
|
||||||
ftpfs_use_unix_list_options=true
|
|
||||||
ftpfs_first_cd_then_ls=true
|
|
||||||
filepos_max_saved_entries=1024
|
|
||||||
ignore_ftp_chattr_errors=true
|
|
||||||
editor_fill_tabs_with_spaces=true
|
|
||||||
editor_return_does_auto_indent=true
|
|
||||||
editor_backspace_through_tabs=false
|
|
||||||
editor_fake_half_tabs=true
|
|
||||||
editor_option_save_position=true
|
|
||||||
editor_option_auto_para_formatting=false
|
|
||||||
editor_option_typewriter_wrap=false
|
|
||||||
editor_edit_confirm_save=true
|
|
||||||
editor_syntax_highlighting=true
|
|
||||||
editor_persistent_selections=true
|
|
||||||
editor_drop_selection_on_copy=true
|
|
||||||
editor_cursor_beyond_eol=false
|
|
||||||
editor_cursor_after_inserted_block=false
|
|
||||||
editor_visible_tabs=true
|
|
||||||
editor_visible_spaces=true
|
|
||||||
editor_line_state=false
|
|
||||||
editor_simple_statusbar=false
|
|
||||||
editor_check_new_line=false
|
|
||||||
editor_show_right_margin=false
|
|
||||||
editor_group_undo=false
|
|
||||||
editor_state_full_filename=false
|
|
||||||
editor_ask_filename_before_edit=false
|
|
||||||
nice_rotating_dash=true
|
|
||||||
mcview_remember_file_position=false
|
|
||||||
auto_fill_mkdir_name=true
|
|
||||||
copymove_persistent_attr=true
|
|
||||||
pause_after_run=1
|
|
||||||
mouse_repeat_rate=100
|
|
||||||
double_click_speed=250
|
|
||||||
old_esc_mode_timeout=1000000
|
|
||||||
max_dirt_limit=10
|
|
||||||
num_history_items_recorded=60
|
|
||||||
vfs_timeout=60
|
|
||||||
ftpfs_directory_timeout=900
|
|
||||||
ftpfs_retry_seconds=30
|
|
||||||
fish_directory_timeout=900
|
|
||||||
editor_tab_spacing=4
|
|
||||||
editor_word_wrap_line_length=72
|
|
||||||
editor_option_save_mode=0
|
|
||||||
editor_backup_extension=~
|
|
||||||
editor_filesize_threshold=64M
|
|
||||||
editor_stop_format_chars=-+*\\,.;:&>
|
|
||||||
mcview_eof=
|
|
||||||
skin=onedark
|
skin=onedark
|
||||||
|
use_8th_bit_as_meta=false
|
||||||
|
use_file_to_guess_type=true
|
||||||
|
use_internal_edit=false
|
||||||
|
use_internal_view=false
|
||||||
|
use_netrc=true
|
||||||
|
verbose=true
|
||||||
|
vfs_timeout=60
|
||||||
|
wrap_mode=true
|
||||||
|
xtree_mode=false
|
||||||
|
|
||||||
[Colors]
|
[Colors]
|
||||||
base_color=
|
base_color=
|
||||||
xterm-256color=
|
|
||||||
color_terminals=
|
color_terminals=
|
||||||
screen=
|
screen=
|
||||||
|
xterm-256color=
|
||||||
|
|
||||||
[Layout]
|
[Layout]
|
||||||
output_lines=0
|
|
||||||
left_panel_size=49
|
|
||||||
top_panel_size=24
|
|
||||||
message_visible=false
|
|
||||||
keybar_visible=true
|
|
||||||
xterm_title=true
|
|
||||||
command_prompt=true
|
command_prompt=true
|
||||||
menubar_visible=true
|
|
||||||
free_space=true
|
free_space=true
|
||||||
horizontal_split=false
|
|
||||||
vertical_equal=true
|
|
||||||
horizontal_equal=true
|
horizontal_equal=true
|
||||||
|
horizontal_split=false
|
||||||
|
keybar_visible=true
|
||||||
|
left_panel_size=49
|
||||||
|
menubar_visible=true
|
||||||
|
message_visible=false
|
||||||
|
output_lines=0
|
||||||
|
top_panel_size=24
|
||||||
|
vertical_equal=true
|
||||||
|
xterm_title=true
|
||||||
|
|
||||||
[Misc]
|
[Misc]
|
||||||
timeformat_recent=•%b %e %H:%M
|
autodetect_codeset=
|
||||||
timeformat_old=%b %e %Y
|
clipboard_paste=
|
||||||
# timeformat_recent=•%F %T
|
clipboard_store=
|
||||||
# timeformat_old=%F %T
|
display_codepage=UTF-8
|
||||||
ftp_proxy_host=gate
|
ftp_proxy_host=gate
|
||||||
ftpfs_password=anonymous@
|
ftpfs_password=anonymous@
|
||||||
display_codepage=UTF-8
|
|
||||||
source_codepage=Other_8_bit
|
source_codepage=Other_8_bit
|
||||||
autodetect_codeset=
|
|
||||||
clipboard_store=
|
|
||||||
clipboard_paste=
|
|
||||||
spell_language=en
|
spell_language=en
|
||||||
|
timeformat_old=%b %e %Y
|
||||||
|
timeformat_recent=•%b %e %H:%M
|
||||||
|
|
||||||
[Panels]
|
[Panels]
|
||||||
show_mini_info=true
|
auto_save_setup_panels=true
|
||||||
|
fast_reload_msg_shown=true
|
||||||
|
fast_reload=false
|
||||||
|
filetype_mode=true
|
||||||
kilobyte_si=false
|
kilobyte_si=false
|
||||||
|
mark_moves_down=true
|
||||||
mix_all_files=false
|
mix_all_files=false
|
||||||
|
mouse_move_pages=true
|
||||||
|
navigate_with_arrows=true
|
||||||
|
panel_scroll_center=false
|
||||||
|
panel_scroll_pages=true
|
||||||
|
permission_mode=true
|
||||||
|
quick_search_mode=2
|
||||||
|
reverse_files_only=true
|
||||||
|
select_flags=6
|
||||||
show_backups=true
|
show_backups=true
|
||||||
show_dot_files=true
|
show_dot_files=true
|
||||||
fast_reload=false
|
show_mini_info=true
|
||||||
fast_reload_msg_shown=true
|
|
||||||
mark_moves_down=true
|
|
||||||
reverse_files_only=true
|
|
||||||
auto_save_setup_panels=true
|
|
||||||
navigate_with_arrows=true
|
|
||||||
panel_scroll_pages=true
|
|
||||||
panel_scroll_center=false
|
|
||||||
mouse_move_pages=true
|
|
||||||
filetype_mode=true
|
|
||||||
permission_mode=true
|
|
||||||
torben_fj_mode=false
|
|
||||||
quick_search_mode=2
|
|
||||||
select_flags=6
|
|
||||||
simple_swap=false
|
simple_swap=false
|
||||||
|
torben_fj_mode=false
|
||||||
|
|
||||||
[DiffView]
|
[DiffView]
|
||||||
show_symbols=false
|
|
||||||
show_numbers=false
|
|
||||||
tab_size=8
|
|
||||||
diff_quality=0
|
|
||||||
diff_ignore_tws=false
|
|
||||||
diff_ignore_all_space=false
|
diff_ignore_all_space=false
|
||||||
diff_ignore_space_change=false
|
|
||||||
diff_tab_expansion=false
|
|
||||||
diff_ignore_case=false
|
diff_ignore_case=false
|
||||||
|
diff_ignore_space_change=false
|
||||||
|
diff_ignore_tws=false
|
||||||
|
diff_quality=0
|
||||||
|
diff_tab_expansion=false
|
||||||
|
show_numbers=false
|
||||||
|
show_symbols=false
|
||||||
|
tab_size=8
|
||||||
|
|
||||||
[Panelize]
|
[Panelize]
|
||||||
Find *.orig after patching=find . -name \\*.orig -print
|
Find *.orig after patching=find . -name \\*.orig -print
|
||||||
|
|||||||
@@ -1,34 +1,36 @@
|
|||||||
[New Left Panel]
|
[New Left Panel]
|
||||||
display=listing
|
|
||||||
reverse=false
|
|
||||||
case_sensitive=true
|
|
||||||
exec_first=false
|
|
||||||
sort_order=name
|
|
||||||
list_mode=full
|
|
||||||
brief_cols=2
|
brief_cols=2
|
||||||
|
case_sensitive=true
|
||||||
|
display=listing
|
||||||
|
exec_first=false
|
||||||
|
filter_flags=7
|
||||||
|
list_format=user
|
||||||
|
list_mode=full
|
||||||
|
reverse=false
|
||||||
|
sort_order=name
|
||||||
user_format=half type name | size:4 | mtime
|
user_format=half type name | size:4 | mtime
|
||||||
|
user_mini_status=true
|
||||||
user_status0=half type name | size | perm
|
user_status0=half type name | size | perm
|
||||||
user_status1=half type name | size | perm
|
user_status1=half type name | size | perm
|
||||||
user_status2=half type name | size | perm
|
user_status2=half type name | size | perm
|
||||||
user_status3=half type name | size | perm | owner | group
|
user_status3=half type name | size | perm | owner | group
|
||||||
user_mini_status=true
|
|
||||||
list_format=user
|
|
||||||
|
|
||||||
[New Right Panel]
|
[New Right Panel]
|
||||||
display=listing
|
|
||||||
reverse=false
|
|
||||||
case_sensitive=true
|
|
||||||
exec_first=false
|
|
||||||
sort_order=name
|
|
||||||
list_mode=full
|
|
||||||
brief_cols=2
|
brief_cols=2
|
||||||
|
case_sensitive=true
|
||||||
|
display=listing
|
||||||
|
exec_first=false
|
||||||
|
filter_flags=7
|
||||||
|
list_format=user
|
||||||
|
list_mode=full
|
||||||
|
reverse=false
|
||||||
|
sort_order=name
|
||||||
user_format=half type name | size:4 | mtime
|
user_format=half type name | size:4 | mtime
|
||||||
|
user_mini_status=true
|
||||||
user_status0=half type name | size | perm
|
user_status0=half type name | size | perm
|
||||||
user_status1=half type name | size | perm
|
user_status1=half type name | size | perm
|
||||||
user_status2=half type name | size | perm
|
user_status2=half type name | size | perm
|
||||||
user_status3=half type name | size | perm | owner | group
|
user_status3=half type name | size | perm | owner | group
|
||||||
user_mini_status=true
|
|
||||||
list_format=user
|
|
||||||
|
|
||||||
[Dirs]
|
[Dirs]
|
||||||
current_is_left=false
|
current_is_left=false
|
||||||
|
|||||||
8
install.conf.yaml
Normal file
8
install.conf.yaml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
- defaults:
|
||||||
|
link:
|
||||||
|
create: true
|
||||||
|
glob: true
|
||||||
|
|
||||||
|
- link:
|
||||||
|
~/.local/share/mc/skins: skins/**
|
||||||
|
~/.config/mc/: config/**
|
||||||
Reference in New Issue
Block a user