1. 程式人生 > >Sublime Text安裝SVN插件

Sublime Text安裝SVN插件

自己的 onf ocl del true 習慣 自己 args .exe

下載插件

Sublime Text2/3 SVN插件 點擊下載

安裝插件

點擊設置(Preferences)->瀏覽程序包(Browse Packages,,,),新建TortoiseSVN文件夾,將下載好的SVN包復制到新建Sublime Text 3\Packages\TortoiseSVN\裏面即可

技術分享圖片

重啟Sublime Text

配置插件

Preferences->Package Settings->TortoiseSVN->Settings - User

{
// Auto close update dialog when no errors, conflicts and merges
"autoCloseUpdateDialog": false,
// Auto close commit dialog when no errors, conflicts and merges
"autoCloseCommitDialog": false,
"tortoiseproc_path": "D:\\TortoiseSVN\\bin\\TortoiseProc.exe" //你自己的TortoiseProc.exe路徑
}

Preferences->Package Settings->TortoiseSVN->Key Bindings - User

[
{"keys": ["ctrl+alt+space"], "command": "reindent" },
{ "keys": ["ctrl+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} },
{ "keys": ["alt+f3"], "command": "find_under_expand" },
{ "keys": ["ctrl+shift+r"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} },
{ "keys": ["alt+up"], "command": "swap_line_up" },
{ "keys": ["alt+down"], "command": "swap_line_down" },
{ "keys": ["ctrl+alt+down"], "command": "duplicate_line" },
{ "keys": ["ctrl+alt+k"], "command": "show_panel", "args": {"panel": "find_in_files"} },
{ "keys": ["ctrl+d"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} },
{ "keys": ["alt+u"], "command": "svn_update" },
{ "keys": ["alt+c"], "command": "svn_commit" },
{ "keys": ["alt+r"], "command": "svn_revert" },
{ "keys": ["alt+l"], "command": "svn_log" },
{ "keys": ["alt+d"], "command": "svn_diff" }
]

可根據習慣自己設置

Sublime Text安裝SVN插件