Live data from Hacker News

Just Use Sublime Text

delvarworld.github.com

11–20 of 296 posts

Re: Just Use Sublime Text

#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 that Vim is designed for didn't have any modifier key but Escape. I guess they didn't have Shift too. That's why old programming languages are all uppercase.

Anyway, don't love your technology: http://prog21.dadgum.com/128.html

Re: Just Use Sublime Text

#13
Just use what is most appropos in context. I use vim over ssh connections because vim was designed to be used over slow/high latency connections.

You can't fire up BBEdit or Sublime Rext on the remote end and get reasonable performance locally unless both ends are on a decent high speed network, mostly due to the need for screen sharing.

No need to rant.

Re: Just Use Sublime Text

#14
post #9

My friends, I had not intended to discuss this controversial subject at this particular time. However, I want you to know that I do not shun controversy. On the contrary, I will take a stand on any issue at any time, regardless of how fraught with controversy it might be. You have asked me how I feel about vim. All right, here is how I feel about vim: If when you say vim you mean the antiquated relic, the impossibly-…

Nicely done, sir.

Re: Just Use Sublime Text

#16

Not to mention most of the vim keybinding benefits are already there in Sublime. Most developers I know now know enough vim to use it in a pinch for editing on remote servers. What I'd really like to see to handle even this edge case is a browser implementation of Sublime. Now that would be cool.

No. This simply isn't true, Sublime Text 2 has one of the least complete examples of a "vi-mode" I have used. ViEMU, Emac's EVIL, XVim for Xcode, all seem much better thought out and break less muscle memory than Sublime Text 2's vi-bindings. Sublime Text 2 left out all of Ex... seriously.

The only major upside is that Sublime Text might have a 3rd party step in and fix its broken vi handling (someone started to do this with VintageEx).

Re: Just Use Sublime Text

#17
1. People who want to learn sublime will use sublime.

2. People who want to learn vim will use vim.

I've tried many editors before vim, and now I'm solely using vim, I mean, the whole thing about it. The integration with tmux, ssh, working with all the shortcuts and command magics, its community, everything. I realize this is the editor I wanted to use. I can spend hours doing things in terminal, seamlessly with vim, most of the time I didn't produce either good quality or good amount of code, but I enjoyed every minutes of it.

I'm sure people feel the same way about whatever editor that they use now, if they don't, let them pick whatever new editor they wanted to learn. Why all the hate?.

Re: Just Use Sublime Text

#18
post #9

My friends, I had not intended to discuss this controversial subject at this particular time. However, I want you to know that I do not shun controversy. On the contrary, I will take a stand on any issue at any time, regardless of how fraught with controversy it might be. You have asked me how I feel about vim. All right, here is how I feel about vim: If when you say vim you mean the antiquated relic, the impossibly-…

I was thrown a bit when he say's "To code in Vim, you have to keep Vim in your head just as much as the code that you’re editing. You have to constantly think about what you’re doing." I have a few coworkers who work completely in vim while the rest of us use Visual Studio. I ask them questions about vim usage and usually they have to think a while about what they actually do because using vim is second nature to them.

Re: Just Use Sublime Text

#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 ridiculous.

When you edit text, your "jumps" are not arbitrary—they have a structure to them, and Vim lets you express your movement within that structure very efficiently in terms of lines, words, sentences, search, etc.

With a mouse or trackpad, you have to move away from the keyboard, make a movement to the general area you are targeting, then fine-tune your target down to a space between two characters to insert the cursor.

"Pathogen, the first widely used, known, and celebrated path manager making plugin management possible, was released in 2008! Before that, you were encouraged to recursively copy the plugin’s directory into your Vim folder."

And before 2008, Sublime Text was nonexistent. What's your point?

I have used a plethora of plugin systems, and Vundle is the pinnacle of all of them. Simple to install, remove, and update.

"700 hand written lines in my .vimrc, and 45 plugins"

I may have found the problem. Learn to use the editor.

Re: Just Use Sublime Text

#20
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 users after pair-programming with them.

You just have to learn it, period. It seems daunting but it's not as hard as some people make you believe it is. I admit vim's plugin system is bad and vim doesn't have a nice API subl has for extensions, but there are experts who write great vim plugins so you don't have to and worse comes to worse, you don't have to load up your vim with plugins to be productive. I have another co-worker who uses vim and is very productive and does not use any plugin at all.

Finally, if you're a new developer, don't listen to the op. Spend a few weeks to learn vim, or emacs for that matter, and you'll be so much better off in the long run.

Post reply on HN