Live data from Hacker News

Just Use Sublime Text

delvarworld.github.com

31–40 of 296 posts

Re: Just Use Sublime Text

#31
post #19

"The Editor You Need To Read (At Least) Two Books On To Use Well" Read :help. I haven't read any books on Vim so I'm not sure if there are any good ones, but you most definitely do not "need" to read one. "The point of a mouse is to make arbitrary on screen jumps efficient, and it’s very good at doing that. Don’t you ever think you can beat a mouse. Only in very few edge cases will it even matter." That's kind of rid…

As somebody who recently switched from Vim to SublimeText, I agree and disagree with much in the article, but the point about the mouse is interesting.

For years I believed that eschewing the mouse was speeding me up. But I recently had the pleasure of working with a fine gentleman, and a SublimeText user, who is an absolute fiend with the mouse. He has considerably more development experience than I, so it is not an unbiased comparison, but I believe his raw editing speed was a bit faster.

This confirmed my suspicion, originally triggered by reading about the Acme[1][2] editor in Plan9, that such a workflow can be quite efficient.

[1] http://en.wikipedia.org/wiki/Acme_(text_editor) [2] http://www.youtube.com/watch?v=Pydckb9ZU8Y

Re: Just Use Sublime Text

#32
post #25

Am I the only person in the world who: a) Never thought vim was that hard to learn (and I first learned it when I was a teenager and nobody helped me. I switched when someone on a MUD made fun of me for using pico.) and b) Thinks vanilla vim works just fine. Seriously my vimrc is like 10 lines long and I don't even have it on every server I work on. I don't bother with any plugins. I don't need vim integrated with gi…

Yea, I use vim for editing files quickly in a terminal, 90% of the time im working in a windowed environment and use sublime, but when im putty'd into a server and need to quickly modify my nginx.conf. vim\r\njji

Re: Just Use Sublime Text

#33
post #27

Vim is one of those things you have to suck it up and learn it but after you did, it's so much more productive than most other editors. Editors like subl may seem friendly to beginners but your productivity never grows the more you use it. I use vim exclusively and I have co-workers who only use subl, and I can confidently say I can edit code at near the speed of thinking, which is not something I can say for subl us…

I learned emacs first and became reasonably proficient in it. Some years ago, I joined a company where most people used vi. I saw it as an opportunity to use vi (also vim) and I already knew a bit of vi from editing unix config files. I spent almost 3 years working exclusively in vi. I got used to it enough to handcraft my own .vimrc file, use multiple buffers, integrate with ctags, etc etc. I think I was reasonably…

... you should read up on the new hotness in emacs, finally making people really proficient editors -- it is called "EVIL" mode, it is taking the emacs community by storm.

Just hit 1.0 as well.

Re: Just Use Sublime Text

#34
post #15
post #10

How about modifying code on servers?

There's the brilliantly awesome (and I cannot stress this enough) rmate/rsub extensions for Sublime Text. https://github.com/henrikpersson/rsub

Thanks for this link -- for my coworkers who use Sublime, this seems like it is an improvement over what they do know (create a shared directory on their computer to the VM's files).

Re: Just Use Sublime Text

#35
post #11

In my opinion, relying on keystrokes for doing things is not a problem but a future. If you use Sublime Text very often and try to learn tricks you will find yourself touching mouse less and less. The problem with Vim is that it is not designed for my shiny MacBook Air keyboard, it can't get benefit from all modifier keys other GUI text editors uses. I don't know much about computer history, but I believe keyboards t…

If you want ⌘S, ⌘C, ⌘V etc., try Macvim (https://code.google.com/p/macvim/). I use it for longer coding sessions (more colors, faster rendering when in fullscreen with split panes), and terminal vim over ssh when working on a remote server. Also, I map Caps-lock to ESC on my mac, easier to reach (and who uses Caps-lock anyway).

Re: Just Use Sublime Text

#36
Hooray, another tools discussion where nothing gets resolved.

Tools are a highly personal topic, what works for one person doesn't necessarily work for another.

My advice is to try using one and only one new tool a week. By the end of a month you'll have a good idea of what your own preferences are and the relative strengths/weaknesses of others.

With editors, that'd probably be a gamut of vim, emacs, Sublime, Eclipse, and Visual Studio Express. If you're a Java developer, IntelliJ is worth looking at.

> [...] I’m going to go search for how to do it. I’m probably going to learn something in the process. At year 4 of Vimming.

I don't get why this is a bad thing. I've been programming for decades and still learn new stuff every week.

It should be noted that vim and emacs definitely appeals more to the maximizer over satisficer personality:

https://en.wikipedia.org/wiki/The_Paradox_of_Choice:_Why_Mor...

Re: Just Use Sublime Text

#37
post #27

Vim is one of those things you have to suck it up and learn it but after you did, it's so much more productive than most other editors. Editors like subl may seem friendly to beginners but your productivity never grows the more you use it. I use vim exclusively and I have co-workers who only use subl, and I can confidently say I can edit code at near the speed of thinking, which is not something I can say for subl us…

I learned emacs first and became reasonably proficient in it. Some years ago, I joined a company where most people used vi. I saw it as an opportunity to use vi (also vim) and I already knew a bit of vi from editing unix config files. I spent almost 3 years working exclusively in vi. I got used to it enough to handcraft my own .vimrc file, use multiple buffers, integrate with ctags, etc etc. I think I was reasonably…

I hear you. My point is either vim or emacs is a much better choice than those "beginner-friendly" editors that the op would recommend to new devs. Simple: no pain, no gain. Both vim and emacs are painful enough for most people to learn, but the reward is substantial and long-lasting.

Side note: I think I'd love emacs if I hadn't learned vim first. Having a real programming language (elisp) for configuration and extension is nice.

Re: Just Use Sublime Text

#39
post #30
post #21

I think the OP has never seen a very efficient VIM user crack some code. There are some valid points but they are surrounded by unnecessary ranting and lack of knowledge. >> Don’t you ever think you can beat a mouse. Only in very few edge cases will it even matter. Already saw someone clicking the "Search" button on a google page instead of pressing Enter? This is the same sensation I get when I see someone editing c…

Many of the most productive programmers (in terms of text editing ability) I know are heavy mouse users. Watching them work really opened my eyes and taught me a few good habits. One of the skills that you have to develop is the ability to hit very precise targets with the mouse very quickly. I think that a lot of people are simply inexpert with the mouse and misclick a lot, and that adds to the perceived cost of the…

Your pinky shouldn't have to stretch to reach Ctrl because your Caps Lock key should be remapped to Ctrl.

Re: Just Use Sublime Text

#40
>:set format=html and then gg=G. Let me know what you get. In all seriousness, never, ever tell me what you get.

'format' is not a vim option. Perhaps he meant filetype?

Post reply on HN