fwmechanic / k_edit

K Editor for Win32 and Linux
GNU General Public License v3.0
11 stars 0 forks source link

setfile: add comprehension of usr@host:/path/file #3

Open fwmechanic opened 9 years ago

fwmechanic commented 9 years ago

Lately I'm having to juggle file editing across multiple (linux) hosts, and bringing up such a work environment is no small task. If setfile comprehended usr@host:/path/file to mean:

ssh to usr@host and run (the local copy of) k on /path/file

This should be mostly simple: I can write a script to open a new terminal and shell (since such is likely to be host specific, best not to code it into K), from which the ssh command (with tail invoking K) will be executed.