Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I just switched from Windows to Linux. I've been using EditPlus for many years mainly because of it's ability to save locally, and then send the file via FTP, with easy keyboard shortcuts (ctrl-s to save, ctrl-alt-s to ftp).

I also need syntax highlighting and basic code editing features. Is there anything for Linux that can do this? I don't want to run EditPlus via Wine

PLEASE READ BELOW


I need to save locally and remotely simultaneously, or at least with a few keystrokes. I already know of plenty of ways to edit remote files.


share|improve this question

3 Answers 3

I suggest to use a program that mounts an directory over FTP, for example curlftpfs. Then use any text editor. I recommend Kate if you are not into editors like vim or emacs, but Gedit will suffice if you don't want to install the KDE libraries.

share|improve this answer
    
Will that setup save locally and remotely at the same time? Is vim able to save locally and remotely at the same time? –  Cyrcle May 18 '10 at 18:19
    
I don't know. I personally don't use it. I think it only saves remotely. But if you are asking about vim, it may have a plugin that supports saving files over FTP, even without curlftpfs. –  petersohn May 18 '10 at 19:00

You can use VIM

vim ftp://username@yourdomain.com//the/path/to/yourfile.php

There is a Wiki describing editing files via ftp, rcp, scp, or http.

http://vim.wikia.com/wiki/Editing_remote_files_via_scp_in_vim

share|improve this answer
    
there's lots of editors that allow editing of remote files. I'm looking for a way to save locally AND remotely either at the same time or with a few keystrokes without having to program a script for every file I work on. –  Cyrcle May 18 '10 at 19:31
    
:w - write it to where it came from :w foo.txt - write it locally. seems like "with a few keystrokes" for me. –  akira May 19 '10 at 5:33

If you're not an vi/vim person, you could try Emacs with AngeFtp

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.