4 ms·
I am kinda thinking the same way. What I liked so much about your comment is that I found myself in pretty same position. I used vim for a few years, got used
by Philipp__ 10y ago
I am kinda thinking the same way. What I liked so much about your comment is that I found myself in pretty same position.
I used vim for a few years, got used to that zsh+tmux combo, and my environment was mostly wrapped around Vim (not UNIX like I thought it was). Then after I gave Emacs a shot, I used GUI version, and I saw that it is not the end of the world because I didn't use it as in-terminal editor. I am seriously reconsidering ditching everything and go to Sublime.
Why? It's fast, sleek and it does the job. With Emacs I start working on something, and few hours later I am like "why the fuck am I writing lisp and tweaking emacs". I get it, people that used it during 90s, and for 10+ years, they are set in the stone, and why would they switch. But now I really reconsider my options. Vim is much better in that aspect, I spent years with it and have it much or less to my liking, but I always come to some edge case where I change editor.
For example, I want to practice few exercises from SCIP I need Emacs, because Lisp programming in Emacs is so effortless and good. I want to write some Go I jump to Vim because vim-go just works perfectly for me. When I am doing some admin work on system I run Vim, but when I want to play with Clojure I need to go back to Emacs. You see the trend? How would Sublime cover all those functional languages, is it any good?
If I could have extremely light version of Emacs, that worked in terminal, much better and much more flexible than og Emacs, with good support for REPLs. When you break the no-mouse barrier, you see huge boost of productivity, but later after some time it diminishes and returns. I know I do not want Electron based editor. Terminal preferably but not the key. Something swift and clean. Vim does the job 80% of time but functional languages just work better inside Emacs.
I am holding my breath for Xi Editor [0]. It's written in rust, has some interesting abstractions and implementations, native is priority, and overall looks like potential checker for all my boxes. But it is nowhere near to the point of replacing vim or emacs for me. I rambled too much...
[0] https://github.com/google/xi-editor https://github.com/google/xi-editor
- trishume 10y agoI really suggest you try out Sublime with Vintageous vim emulation. Part of the reason I spent so much time tweaking emacs is that I work in a lot of different languages, and I had to spend many hours setting up each one. Installing and working with new languages in Sublime tends to just work. With Sublime I tend to use a separate terminal app for doing all my code running and things. So if I'm working in a REPL-like language I do it there. There's also plugins for most languages that do the editor integration I actually want, like autocomplete and highlighting.
- Philipp__ 10y agoThe thing is, Emacs can have amazing, if not best support for any language, but if you install it, set it up and tweak it until molecule level. Which is great, but it kinda tires me, you know... Now, how you manage using separate terminal and Sublime, I mean is there any communication between REPL and Sublime, or you just copy/paste code from editor to REPL? Since in Emacs you can evaluate snippets, functions and do all that nifty stuff... Actually I am afraid maybe to jump and give Sublime a shot, but now it looks like I got nothing to lose. If I manage to cope with REPL in separate terminal app I think I am sold. Magit was nice, but I am fairly proficient in terminal git so it's not a deal breaker, and I never used org-mode (I love paper notebooks for that), so I might be able to adopt to certain extent.
- trishume 10y agoWhen I'm using a REPL I generally have all my function definitions in a file I edit in Sublime, which I reload from the REPL, then I just type in commands in the REPL to try out those functions. That way I don't have to copy-paste much, but if you don't like that style I think a Sublime plugin that used Applescript to paste into iTerm2 wouldn't be too hard. Also for git there is https://github.com/divmain/GitSavvy https://github.com/divmain/GitSavvy which is almost as good and sometimes better than magit. There's also terminal git, I generally use a combination of terminal and GitSavvy.