This is an old revision of the document!

Integration with Text Editors

You can configure WinSCP to use your favorite text editor for editing files.

See below for details on some popular editors.

Advertisement

Sublime Text

Command to specify on Editor preferences dialog:

Sublime Text 2:

"C:\Program Files\Sublime Text 2\sublime_text.exe" !.!

Sublime Text 3:

"C:\Program Files\Sublime Text 3\sublime_text.exe" !.!

Hidemaru

Command to specify on Editor preferences dialog:

"C:\Program Files (x86)\Hidemaru\Hidemaru.exe" !.!

Replace C:\Program Files (x86) with C:\Program Files on 32-bit systems.

Advertisement

Sakura

Command to specify on Editor preferences dialog:

"C:\Program Files (x86)\sakura\sakura.exe" !.!

Replace C:\Program Files (x86) with C:\Program Files on 32-bit systems.

UltraEdit

Command to specify on Editor preferences dialog:

"C:\Program Files (x86)\IDM Computer Solutions\UltraEdit\Uedit32.exe" !.!

Replace C:\Program Files (x86) with C:\Program Files on 32-bit systems.

If you want WinSCP to open a separate editor for every edited file, in UltraEdit, go to Advanced > Configuration > General > General Application Items > Allow multiple instances.

PSPad

Command to specify on Editor preferences dialog:

"C:\Program Files (x86)\PSPad editor\PSPad.exe" !.!

Replace C:\Program Files (x86) with C:\Program Files on 32-bit systems.

If you want WinSCP to open a separate editor for every edited file, in PSPad, go to Settings > Program Settings > System Integration > Only One Program Instance.

EditPlus

Command to specify on Editor preferences dialog:

"C:\Program Files\EditPlus 3\editplus.exe" !.!

Advertisement

EmEditor

Command to specify on Editor preferences dialog:

"C:\Program Files\EmEditor\EmEditor.exe" !.!

TextPad

Command to specify on Editor preferences dialog:

"C:\Program Files\TextPad 7\TextPad.exe" !.!

Note that the path above is for TextPad 7 and will change with version.

If you want WinSCP to open a separate editor for every edited file, in TextPad, go to Configure > Preferences > General > Allow Multiple Instances to Run.

Notepad++

Command to specify on Editor preferences dialog:

"C:\Program Files (x86)\Notepad++\notepad++.exe" !.!

Replace C:\Program Files (x86) with C:\Program Files on 32-bit systems.

If you want WinSCP to open a separate editor for every edited file, in Notepad++, go to Settings > Preferences > Multi-Instance > Always in multi-instance mode. To change the behavior for instance opened from WinSCP only, use Notepad++ command-line switch -multiInst.

gVim

Command to specify on Editor preferences dialog:

"C:\Program Files\Vim\vim74\gvim.exe" !.!

Note that the path above is for gVim 7.4 and will change with version.

Advertisement

If you want WinSCP to open a separate editor for every edited file, use gVim command-line switch --remote-tab-silent.

Last modified: by martin