what is the best open-source text editor that also has the capabilty for syncing with a server?
I used to use Sumblime Text with Sublime SFTP package but have switched over to using Atom in an effort to try and use open-source where I can but the add-ons that come up on a google search result seem to all be unmaintained:
remote-ftp | Repo
remote-sync-pro | Repo
atom-sftp-sync | Repo
remote-sync | Repo
atom package sync | Repo
atom-sync | Repo
I tried using remote-ftp but it seems unable to ignore folders which is pretty crucial for my needs
About this post
- Posted
- Archived
- Score
- 2 · 100% up
- Kind
- Text
- ID
- bf94wk
20 comments
sshfs? Using whatever editor you want?
that a neat program but not exactly what I am looking for. sshfs seems to mount the server to my computer so that I can access the files with an editor? But what I want is the ability to spin up a new server, use the add-ons to sync to my local files to that server, test them on the server and then be able to destroy that server without having that impact the files that I am working on. and git wouldnt help in my case cause there's a whole bunch of files in the
.gitignorethat are important that seem to be files that would be lost if I destroy the server.Why is git not an option? You can stick to whatever editor you like whilst keeping version control
I like to edit the files on my local computer but test them on a server for this project. If I use git to sync, that will create alot of commits in its history which will be bad code as I test things out.
You could use throwaway branches for that use case. Merge relevant commits into dev/master at the proper point in time. Plus, git hooks are an option.
emacs + tramp (shipped with emacs) + dired (shipped with emacs)+ dired-x (shipped with emacs) + https://stackoverflow.com/questions/14850103/how-to-get-dired-to-ignore-files-with-specific-extensions
Yet another solution:
anything + syncthing
You can probably try https://carnet.live
is there any preview of what is it without having to open an account? I tried googling and couldnt find anything
The website https://getcarnet.app seems to be not working, so I will leave you with https://github.com/PhieF/CarnetDocumentation, you can find some appimages there.
"Best editor" is really a matter of taste. I would try to avoid such a phrasing, but for many power users vim (or neovim) is the greatest thing ever written for editing, because it doesn't require a mouse and you will always keep your fingers on the keyboard's home row (ASDF JKL;).
vim scp://you@yourserver//path/to/directory/fileassuming you already have ssh installed and configured
i would rather not use a command-line based editor for this.
I think I know what the problem is, but I don't think it's being a command-line program or not. If it was, you could just install gvim, which is exactly the same as vim - just not in a terminal window, but instead in a GTK3 window with menu bar and icons.
It's also not a problem of features, because it is a very expandable editor with a lot of plugins available to become an IDE. The actual problem is probably that the learning curve for the operation of vim is so much harder than any other editor, just from being a completely different paradigm. It is a time investment that I wouldn't recommend for most people to commit. Time consumption wise it's as big as switching from Windows to Linux. It's definitely not for everyone, and very polarizing. Don't try it, if you don't have spare time. But hey your question was "what is the best editor" so it sounded quite universal, sorry xD
Why use an editor for file sync?
Have you had a look at
rclone?that seems like a pretty cool thing and I might try it but it is missing something that I really want to have which is the ability to sync a folder but also use regex to specify certain subfiles/subfolders to skip
use Vim (or neovim) with some plugin
or map key to write and exec rsync command
I think something like this could be done with notepadqq, I don't know if its possible out of the box though.
I use Geany and Nextcloud. Obviously it syncs only when i save in the Nextcloud folder, but thay's all i need.