Live data from Hacker News

Just Use Sublime Text

delvarworld.github.io

81–90 of 112 posts

Re: Just Use Sublime Text

#81
post #22

Earlier quoted context omitted.

I don't know, when it comes to navigating and manipulating a single document I can see vim's advantages, but having spend a few days recently trying to learn vim I didn't find any replacements for things like jumping to a file by name or recursive regex searching, things that I've come to rely on in Sublime. Feel free to point out if I missed them, but it seems based on my initial experience with vim that there's not…

Much of what you're looking for is provided by plugins (eg. command-T). There's no question that vim requires a lot of messing around with initially to get it configured the way you want it. But that rapidly fades away and it's not such a big investment of time for something as important as an editor.

Not really, there's vimgrep plus regular grep on the command line.

Re: Just Use Sublime Text

#82
post #23

"Everyone talks about the steep learning curve but no one talks about what happens once you finally get hjkl in your brain for movement. The answer is months of frustration, followed by finally having a usable editor, followed by knowing some cool tricks that you use in 1% of your daily workflow." I've seen a lot of people saying this. I've met people who actually experienced this. And I can't listen to it anymore -…

This was my approach as well. When I started using Vim I used it almost like a normal editor, and spent most of my time in insert mode. Gradually I started spending more time in normal mode, and eventually I incorporated more advanced features like text objects and surround.vim into my daily editing.

Mastering Vim takes time, but the slope to learning it is pretty shallow. Learning Vim doesn't feel like a chore to me, because I just pick up new commands every so often.

Re: Just Use Sublime Text

#83
post #28

Refreshing to see this after all the Vim gospel programmers out there claiming it's benefits. I do have to say though, I've seen some videos of real Vim pros at work and it's -majestic- how swiftly they move through lines and duplicating lines, editing params, refactoring, etc - a thing of beauty akin to watching videos on /r/artisanvideos[0]. I'll stick to Sublime Text and Nano when I need some ssh terminal editing.…

Our industry works this way and I don't understand why programmers who are always "using the right tool" call anything new that they disagree with "gospel" or "evangelizing." SublimeText isn't that old. Somehow you found out about it, learned its keyboard shortcuts, found out what plugins to install to do your work, and made it your editor. That's how I learned Vim. I'll admit that I have a bias, and that learning to…

You would think it would translate, but my experience with most VIM plugins is that they're rubbish. They have the surface level stuff (basic keys), but they don't even come close to replicating a lot of the more advanced things (paragraph editing and so on)

Re: Just Use Sublime Text

#84
post #57

Earlier quoted context omitted.

The Sublime Text knowledge I have is pretty esoteric, I admit. You have to learn weird key combos like Cmd-C to copy text into a register (or a "clipboard", to use ST's unusual terminology), and Cmd-V to "paste" it. I have no idea which other software uses those shortcut combos.

You can do exactly that with GVim if you are so inclined.

Or I could use SublimeText 2 and not have to learn weird keyboard combos that only work in Vim.

Re: Just Use Sublime Text

#85

I sort of, but very reluctantly, agree. I would add that modern VIm package systems like SPF13 make it much easier and more accessible, I'd suggest the author check that out instead of continuing to maintain that 700 like vimrc file. That having been said, I still end up fixing a lot of bugs that crop up even with my SPF13 setup (the bright side is I can now contribute those fixes back to a project so others don't ne…

I agree that the author seems to be missing some of the beauty of keyboard commands and navigation. Sure Sublime does some things vim can't, but you can do things in vim you certainly can't with mouse-only input. For instance, I use visual block mode dozens of times a day, which allows identical edits to be made to multiple lines simultaneously. I do complex search and replace very frequently, and almost always on a…

Actually, Sublimes multi-edit feature is actually pretty good and it's something I'd love to see VIm able to do. What I want to edit isn't always organized into neat vertically aligned blocks.

On the subject of VIm's search and replace, the VIm style regex does drive me nuts, I constantly have to remind myself what needs escaping.

Re: Just Use Sublime Text

#86
post #28

Earlier quoted context omitted.

Our industry works this way and I don't understand why programmers who are always "using the right tool" call anything new that they disagree with "gospel" or "evangelizing." SublimeText isn't that old. Somehow you found out about it, learned its keyboard shortcuts, found out what plugins to install to do your work, and made it your editor. That's how I learned Vim. I'll admit that I have a bias, and that learning to…

The issue, really, is that vim is stuck in terminal land. It can't have easily navigable GUI menus, it can't really have overlays, it can't have a minimap, it can't have differently sized text, it can't have all sorts of things as a result of its dependence on the terminal. It doesn't even have autocomplete for its commands, at least out of the box, which would make it significantly more usable without disappearing i…

I you are interested in a fork, have a look at neovim[0]. Many of the issues you describe are being addressed.

[0] http://www.neovim.org

Re: Just Use Sublime Text

#87
post #17

This is what my Vim looks like. http://www.webhook.com/webhook-uploads/1396995440381_1396021... I'm a designer, not a programmer. I can't code perl, vimscript, and can barely read python or javascript. I can use git repos, which really is all I need to know how to setup Vim properly. That and I guess the ability to read some instructions. I've done nothing more than edit a .vimrc file. It took me a month to switch to…

I have to ask, being that I am a designer too, do you find it awkward to move from Vim keybindings into design programs? I have an interest in learning Vim, due to all of the vehement and myriad posts about productivity increase, but I can't divorce myself from the design programs I use (~80-90% of my day, Adobe/Sketch) and their keybinding philosophies in order to feel very comfortable switching directly to Vim and back.

MacVim solves this for me to some extent, but since I don't have the time to dedicate toward learning the veritable library of Vim commands I find myself returning to Sublime over and over again.

Re: Just Use Sublime Text

#89
post #78

Don't use vim... unless you want to. One thing is certain... there's not one single editor out there that by itself can turn you into a better coder... and in the end that is the only thing that matters. Try them all use whatever you like. I'm a designer... I started using vim because I was doing a boring job and needed something to make it feel like a challenge. I still suck at most keyboard shortcuts but I like the…

[deleted]

Re: Just Use Sublime Text

#90
post #45

I think this article drastically overstates the learning curve. Also, > It’s probably the most customizable editor ever Emacs is way more customizable. Its help is also more accessible, its extension language awesome, its plugin ecosystem thriving. "God willing Vim will one day have a non-Vimscript language we can use." That day is today, and has been for years. VimScript is not the only way to extend vim. It support…

If by support you mean "you can generate vimscript to be executed using other languages as PHP" then yeah.
Post reply on HN