News for hackers. Stuff that matters.
Re:Sublime Text 3.0 by agentgt on Wednesday September 13, 2017 @11:36AM (#15239280)
One of the reasons I still use both Emacs and Vim (yes I strangely use both) is because I can go execute them on a terminal (terminal, tmux, screen, etc).

There are just so many times I need to SSH into a machine. I know Emacs has some remote file editing capabilities but for some reason I never liked it (I can't recall why now... I think it was the need to sudo).

So I'm wondering what sublime text fans do for remote editing?

Re:Sublime Text 3.0 by agladlad on Wednesday September 13, 2017 @11:49AM (#15239424)
I'm fairly happy with the sshfs implementation provided by the FUSE project: https://github.com/osxfuse/sshfs/releases

Once you set some flags like sshfs -o auto_cache,reconnect,defer_permissions,negative_vncache,noappledouble user@host:/ /path/to/local/ it's pretty robust.

I can then edit files remotely but still use Sublime Text :)

Re:Sublime Text 3.0 by jefurii on Wednesday September 13, 2017 @01:07PM (#15240283)
> I know Emacs has some remote file editing capabilities but for some reason I never liked it (I can't recall why now... I think it was the need to sudo).

Tramp (https://www.gnu.org/software/tramp/tramp-emacs.html) enables seamless remote editing over ssh/scp. By default it asks for your password all the time but you can cache that. Add to your ~/.emacs

  (require 'tramp)
  (setq tramp-default-method "scp")
  (setq password-cache-expiry 1800)
Re:Sublime Text 3.0 by Rondom on Wednesday September 13, 2017 @07:35PM (#15243742)
You probably should use public key authentication and ssh-agent.
Re:Sublime Text 3.0 by Jemaclus on Wednesday September 13, 2017 @11:37AM (#15239300)
I use vim on remote machines. I don't like it, but it does the job.
Re:Sublime Text 3.0 by geerlingguy on Wednesday September 13, 2017 @12:00PM (#15239567)
Most things are in git so work is local; for servers where I have ssh/sftp access I use Transmit to locally edit files using Sublime. It's usually seamless, unless you switch network connections in the middle of a save.

But a lot of the time, I am running vim on the remote server... no simple substitute unless you install some sort of channel to be able to edit locally, or have it available via SFTP (especially with sudo, that's often not possible).

Re:Sublime Text 3.0 by daveFNbuck on Wednesday September 13, 2017 @12:52PM (#15240111)
Same solution as you, I use different editors in different contexts. You use Emacs and Vim, I use Sublime and Vim. I also edit locally and push my git branch to the remote server to test/run the code. I do that for most bigger changes and use vim to do smaller debugging changes.

Some people use plugins to edit code over a tunnel using sftp. One of my coworkers edits locally and has aliases to rsync and run his code on the remote machine.

Re:Sublime Text 3.0 by knodi123 on Wednesday September 13, 2017 @02:11PM (#15240964)
I was involuntarily forced to get the hang of vim back in my youth, and once I got over the learning curve, it's been an indispensable part of my toolkit. I waffle back and forth between sublime3, and tmux+vim, depending on how much I'm working locally vs. remotely
Re:Sublime Text 3.0 by jeremejevs on Thursday September 14, 2017 @03:27AM (#15245645)
Re:Sublime Text 3.0 by ricardobeat on Wednesday September 13, 2017 @11:44AM (#15239381)
Open a terminal in another window. Moom/Magnet can handle automatic tiling on MacOS.
Re:Sublime Text 3.0 by agentgt on Wednesday September 13, 2017 @12:17PM (#15239729)
I'll have to try Moom. Right now I use SizeUp which isn't really a tiling manager but does provide some similar features. I use the tmux iterm integration which I must say is pretty badass. The iterm folks did a good job on that.