1、sublime text 3的安装就不啰嗦,百度一下安装教程一堆,不过本站发布过快捷键文章:sublime text 3

2、对于使用宝塔面板的朋友想要用sublime链接宝塔的ftp,那就直接看下面,配置下就OK。

{
    // The tab key will cycle through the settings when first created
    // Visit http://wbond.net/sublime_packages/sftp/settings for help
    // sftp, ftp or ftps
    "type": "ftp",
    "save_before_upload": true,
    "upload_on_save": true,
    "sync_down_on_open": false,
    "sync_skip_deletes": false,
    "sync_same_age": true,
    "confirm_downloads": false,
    "confirm_sync": true,
    "confirm_overwrite_newer": false,
    "host": "ip或者域名",
    "user": "FTP用户名",
    "password": "FTP密码",
    "port": "端口号",
    "remote_path": "/域名或者二级域名/",
    "ignore_regexes": [
        ".sublime-(project|workspace)", "sftp-config(-altd?)?.json",
        "sftp-settings.json", "/venv/", ".svn/", ".hg/", ".git/",
        ".bzr", "_darcs", "CVS", ".DS_Store", "Thumbs.db", "desktop.ini"
    ],
    "file_permissions": "664",
    "dir_permissions": "755",
    //"extra_list_connections": 0,
    "connect_timeout": 30,
    //"keepalive": 120,
    "ftp_passive_mode": false,
    //"ftp_obey_passive_host": false,
    //"ssh_key_file": "~/.ssh/id_rsa",
    //"sftp_flags": ["-F", "/path/to/ssh_config"],
    //"preserve_modification_times": false,
    //"remote_time_offset_in_hours": 0,
    //"remote_encoding": "utf-8",
    //"remote_locale": "C",
    //"allow_config_upload": false,
}


点赞(0) 打赏

评论列表 共有 0 条评论

暂无评论

微信小程序

微信扫一扫体验

立即
投稿

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部