Update termscp config
This commit is contained in:
parent
63402edd8f
commit
49a06d6491
1 changed files with 11 additions and 105 deletions
|
|
@ -5,112 +5,18 @@
|
||||||
# termscp configuration file
|
# termscp configuration file
|
||||||
# Generated by Nix - see modules/termscp.nix for customization
|
# Generated by Nix - see modules/termscp.nix for customization
|
||||||
|
|
||||||
[ui]
|
[user_interface]
|
||||||
# Default file transfer protocol (SFTP, SCP, FTP, FTPS)
|
text_editor = "/Users/yanlin/.nix-profile/bin/nvim"
|
||||||
default_protocol = "SFTP"
|
default_protocol = "SFTP"
|
||||||
|
|
||||||
# Text editor to use for file editing
|
|
||||||
text_editor = "nvim"
|
|
||||||
|
|
||||||
# Show hidden files by default
|
|
||||||
show_hidden_files = true
|
show_hidden_files = true
|
||||||
|
check_for_updates = true
|
||||||
|
prompt_on_file_replace = true
|
||||||
|
notifications = false
|
||||||
|
notification_threshold = 536870912
|
||||||
|
|
||||||
# Group directories in file explorer
|
[remote]
|
||||||
# Options: "first", "last", "none"
|
ssh_config = "/Users/yanlin/.ssh/config"
|
||||||
group_dirs = "first"
|
|
||||||
|
|
||||||
# Default local directory to start in
|
[remote.ssh_keys]
|
||||||
local_directory = "~"
|
|
||||||
|
|
||||||
# Default remote directory to connect to
|
|
||||||
remote_directory = "/"
|
|
||||||
|
|
||||||
# Enable file transfer progress notifications
|
|
||||||
show_progress = true
|
|
||||||
|
|
||||||
# File transfer chunk size (in bytes)
|
|
||||||
transfer_chunk_size = 8192
|
|
||||||
|
|
||||||
[logging]
|
|
||||||
# Logging level: "OFF", "ERROR", "WARN", "INFO", "DEBUG", "TRACE"
|
|
||||||
level = "INFO"
|
|
||||||
|
|
||||||
# Enable logging to file
|
|
||||||
enabled = true
|
|
||||||
|
|
||||||
# Log file path (relative to config directory)
|
|
||||||
file_path = "termscp.log"
|
|
||||||
|
|
||||||
# Maximum log file size in MB
|
|
||||||
max_size = 10
|
|
||||||
|
|
||||||
[notifications]
|
|
||||||
# Enable desktop notifications
|
|
||||||
enabled = true
|
|
||||||
|
|
||||||
# Notify on successful transfer completion
|
|
||||||
on_transfer_completed = true
|
|
||||||
|
|
||||||
# Notify on transfer failure
|
|
||||||
on_transfer_failed = true
|
|
||||||
|
|
||||||
# Notify when updates are available
|
|
||||||
on_update_available = true
|
|
||||||
|
|
||||||
# Minimum transfer size to trigger notifications (in bytes)
|
|
||||||
minimum_transfer_size = 1048576 # 1MB
|
|
||||||
|
|
||||||
[security]
|
|
||||||
# SSH key file path for SFTP/SCP connections
|
|
||||||
ssh_key_path = "~/.ssh/id_rsa"
|
|
||||||
|
|
||||||
# Enable strict host key checking
|
|
||||||
strict_host_key_checking = true
|
|
||||||
|
|
||||||
# Connection timeout in seconds
|
|
||||||
connection_timeout = 30
|
|
||||||
|
|
||||||
# Enable compression for transfers
|
|
||||||
compression = true
|
|
||||||
|
|
||||||
[display]
|
|
||||||
# Show file sizes in human readable format
|
|
||||||
human_readable_sizes = true
|
|
||||||
|
|
||||||
# Show file modification timestamps
|
|
||||||
show_timestamps = true
|
|
||||||
|
|
||||||
# Show file permissions
|
|
||||||
show_permissions = true
|
|
||||||
|
|
||||||
# Date format for timestamps
|
|
||||||
# Options: "ISO", "US", "EUR", "CHN"
|
|
||||||
date_format = "ISO"
|
|
||||||
|
|
||||||
# Time format for timestamps
|
|
||||||
time_format = "24H"
|
|
||||||
|
|
||||||
[theme]
|
|
||||||
# Color scheme
|
|
||||||
color_scheme = "dark"
|
|
||||||
|
|
||||||
# Enable syntax highlighting for text files
|
|
||||||
syntax_highlighting = true
|
|
||||||
|
|
||||||
# Show borders in file explorer
|
|
||||||
show_borders = true
|
|
||||||
|
|
||||||
[performance]
|
|
||||||
# Number of concurrent transfers
|
|
||||||
max_concurrent_transfers = 4
|
|
||||||
|
|
||||||
# Enable file caching for better performance
|
|
||||||
file_caching = true
|
|
||||||
|
|
||||||
# Cache size limit in MB
|
|
||||||
cache_size_limit = 100
|
|
||||||
|
|
||||||
# Refresh interval for remote directory listings (in seconds)
|
|
||||||
refresh_interval = 300
|
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue