Just Use Sublime Text
delvarworld.github.io
delvarworld.github.io
That said, this is what I don't get....
Why choose a light weight code editor then add 30 plugins to it?
I've tried this approach with sublime text for Java, Groovy, Ruby, JS, etc. I honestly don't get it, IntelliJ / Rubymine / PyCharm kicks its ass in every way I've tried to look at it.
It seems there is some instilled fear of the term 'IDE' that scares people away or people just really enjoy piece-meal assembling an IDE. But for me, JetBrain's stuff just works 90% of the time and the last 10% is easily filled with plugins or an open terminal. Anything that just lets me code efficiently without a lot of mucking around is gold in my book.
If you like the minimalist approach, more power to you, Sublime Text is awesome for that. If you like the 'almost everything in one app' approach, I'd highly encourage you to at least try some IDEs, especially JetBrain's stuff. Eclipse sucks, no doubt, but not all IDE's are like Eclipse.
And then there's also the fact that I can't stand having IDEs underline everything in red when I'm in the middle of typing a line.
I've heard this position before, I just don't get it. This is my screen while working on an early stage of a side project: http://i.imgur.com/B9boU26.png
I find it far less cluttered than most editors. In particular compared to sublime text, I hate that my only options are to have the 'project tree' view there, or not, most of the time its wasted space. In the screen shot I click on project on the left, it pops over the project structure, I open the file I want, and it disappears. Similarly with the bottom bits, I run the project in debug mode, it pops over with the process's output and disappears when there isn't anything I need to see. For me, this is much preferable to changing workspaces to see terminal output even though the OSX trackpad makes this easy.
> I also feel like a lot of the development process becomes a black box.
I guess it depends on the IDE but at least for the given project it builds in the IDE using maven, based on the pom settings just as it does using maven from the terminal or on jenkins. The only difference is incremental compilation during development which many people setup using a 'watch' plugin or the asset pipeline in rails anyway.
> And then there's also the fact that I can't stand having IDEs underline everything in red when I'm in the middle of typing a line.
Changing the linting timeout is very simple.
Looking at that just makes me twitch for some reason. It's all so distracting to me. Maybe I have a poor attention span, but for some reason I feel like I can be so much more productive with something like this: http://i.imgur.com/ADvQF6e.png
I generally do text editing in Sublime (and like you said, the Apple trackpad + OS X's gesture detection algorithms is a very powerful combo) and I feel like my development is very "zen".
>Changing the linting timeout is very simple.
What I mean is that most IDEs are incredibly annoying about small mistakes, and sometimes something like a dropped semicolon can light up a whole file with errors.
The only IDE that I feel is sufficiently non-annoying about static code checks is Xcode. Xcode has very clever, non-distracting notifications about forgotten punctuation, control flow errors, etc.
I prefer to use just keys. I find the context switch distracting.
>I can’t stress how bad of an editor vanilla Vim is. Plugins are essential to make Vim usable.
I love vanilla vim. I used it for a long time that way. Even now I barely have any plugins running, just YouCompleteMe and a couple others.
>If you want to write a plugin you have to deal with Vimscript.
I thought one can write in Python and other languages for plugins now?
>Everyone remaps Leader from backslash to comma.
I didn't.
>Vim is hideous by design.
I find the minimalism allows me to work without distraction. If you hate it so much, vim bindings are available in other editors. I use XVim for Xcode and some other plugin in Eclipse.
>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 barely think about the things I'm doing anymore. And I've only been at vim for about a year.
This blog post needs a giant [citation needed]. So many unjustified claims that are really just his opinions. Just use Sublime and get back to doing something productive.
For all I've tried VIM and Emacs I just didn't understand what the point of learning all that was for just editing text. Even when I did assembly I couldn't be bothered with anything more than gedit. The text editor really has terribly little to do with my skills as a programmer.
Also now I just used intellij for everything. Although it's terrible as javascript, absolute shit at it. Gives me thousands of terrible ctrl-space options.
Yes and no. Technically this is possible, but it's almost as unpleasant as just using vimscript.
Scripting vim in python involves using the vim module, which provides a very limited api to interact with vim. It doesn't allow the interception of any events, and interacting with vim more often than not seems to involve calling vim.command() or vim.eval(), which take vimscript as a string.
That said, I still think this is the direction vim needs to go. I think if the vim python integration improves in future releases it will be much appreciated, and will provide a boost to the vim plugin community.
Don't use an old serial terminal? Well, you might actually get stuck only having serial console access to a physical machine in a datacenter. Maybe you're trying to fix a mean bug in production and everything is exploded and you are using some person's laptop which for some reason has a horrible terminal configuration.
I haven't used hjkl to move in years, btw. That's vi. Vim lets you use arrow keys - it's VI iMproved. ;)
This sort of nonsense rambling not only leads to serious generational knowledge gaps, which leads to people using utter shit like pico/nano, which I would fire someone for doing.
It also ignores the fact that TextMate is totally awesome and has something Sublime Text doesn't seem to : a command-line tool for opening files from the shell.
ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" ~/bin/subl
- Arrow keys - i - esc - o - shift g - cw - / - :x - :q!
Done and done.
I see it similar to typing on a dvorak keyboard. (or to a lesser degree, a kinesis keyboard.) Extremely painful in the beginning, almost mentally traumatic because one of your basic skills suddenly gets cut out from under you, but something that pays small but regular dividends for the rest of your life. (And contrary to Dvorak, vim is everywhere.) It's not for everyone and is probably not worth the effort for many but to somehow try to then extrapolate that to conjure up an argument that the tool itself is bad (which this article seems to be desperately trying to do) is dumb.
I guess another way to look at it, is if you could download knowledge instantly Matrix-style, would everyone use vim? Other consequences of the Matrix being real life notwithstanding, I would say many more would.
As someone who used to develop in Vim, I can attest it can do a lot of things and there are many useful scripts, but is neither intuitive or designed for our era, there are too many obvious UX flaws - modes in particular is not the magic pony people like to say it is, it's just archaic clunkyness.
You can replace Vim entirely with Sublime since it also supports scripting and smart editing movements, and "Go to anything" in particular blows Vim away.
I just wish the author iterated ST2 more before starting ST3, I'm afraid of another Textmate.
That's business...
At the end of the day, it's like the meaning of life, everyone has theirs.
The only good reason not to use vim (or anything else) is if you don't want to. But don't let other people dictate to you whether you want it.
+ I want my freedom! I don't to be stuck with one product...
Unfortunately, there aren't many structured editors/IDEs that operate on AST/ASG instead of blobs of plaintext. And, sadly, none I could subjectively call good.
I read a lot, I scroll a lot, I browse a lot, I copy/paste a lot and my hands are always on the trackpad and the arrow keys.
Sublime is good enough for me.
Pay with contributions to the project and also gain a reward to yourself.
This is where I stopped reading. If you're trying to convince me to use sublime try to be less subjective.
Then again, I assume they considered this carefully and made an informed decision when they set their price point. I'm definitely in the "I'd buy it if it were cheaper" club, though.
I can't think of any other job where you could even try the tools for free, much less complain about them being 70$.
Oh come on. I think that's a very fair price if it's a tool you'd use daily (especially in a professional capacity).
SublimeText seems to be the same kind of editor: you pay for it (a hefty price), it brings you features, but it's still very young, non-standard, non-ubiquitous and seems to be going at too fast a pace for its own good.
My bet is that as good as it is and as much as it wants to be the new vim or emacs, those editors will still be around in 20 years from now, because they've been thoroughly tested, augmented, improved upon, they're free in all sense of the word and they benefit from HUGE ecosystems of plugin developers, sane choices of underlying language support for scripting and customization (vim less so than emacs but you get the point), i.e. they deliver HUGE value.
It does look a lot cleaner, however - I'm not a big fan of the default UI of Sublime.
Of course it doesn't - it's multi-platform. Which is a good thing if you bounce between Linux and Mac (and even Windows). But it does have a great feel to it.