Live data from Hacker News

Just Use Sublime Text

delvarworld.github.io

51–60 of 112 posts

Re: Just Use Sublime Text

#51
I considered switching to sublime from vim just for sane line wrapping. If you have indents, vim forces you to hard wrap or else end up with an unreadable soup. Sublime, on the other hand, makes the sane choice of preserving indentation level when a line is wrapped. Sublime's setting makes editing large HTML files in a variable width window much more pleasant...

Re: Just Use Sublime Text

#52
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 -…

If you don't mind me asking—where are you from?

Re: Just Use Sublime Text

#53
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…

Please share your .vimrc or any plugins you use.

Re: Just Use Sublime Text

#55
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…

Whoa, I had no clue you could do all that. Did you follow any guides? I'd love to see my folder structure and be able to switch colors.

If you're someone that is coming from Sublime and are used to its features, I'd start with this consolidated plugin repo. It's unmaintained now, but was an excellent primer for me on how to set up the guts of my vim setup.

https://github.com/fatih/subvim

I ended up modifying it pretty drastically over the course of a month. And essentially I think that's why the author stopped maintaining it. Everyone will set up vim their own way. That's kind of the point.

Re: Just Use Sublime Text

#56

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.…

> I've seen some videos of real Vim pros at work

Yeah, I know one of these people too. I know one for Emacs, Eclipse, Excel and of course SublimeText.

Honestly, I don't see why some folks obsess over text editors/IDEs. Familiarity and mastery matter way more than features. Sure, a truly barebone editor like Notepad.exe or nano might be insufficient, but any editor with a decently-sized following has enough features to make its users comparably productive - as long as you learn how to use them (This is almost a self-fulfilling claim: if an editor has a sizable following, that means it got something right for its users).

I mean, how else do we explain that Rob Pike uses Acme, Joshua Bloch uses Emacs to write Java, and Paul Graham uses vi to write code and prose?

Re: Just Use Sublime Text

#57
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…

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.

Re: Just Use Sublime Text

#58
post #53
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…

Please share your .vimrc or any plugins you use.

I have some descriptions and links to my mac setup on this blog post. It covers all my dev programs not just Vim, but maybe I'll get around to cleaning up my fork and providing the setup for others.

http://www.webhook.com/blog/making-the-most-of-your-mac/

Re: Just Use Sublime Text

#59
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…

Whoa, I had no clue you could do all that. Did you follow any guides? I'd love to see my folder structure and be able to switch colors.

S/he is using https://github.com/scrooloose/nerdtree for the file exploration on the left.

As for switching colors I'd imagine this page would help, though I'll admit I haven't read it: http://vim.wikia.com/wiki/Switch_color_schemes

I use Tomorrow Night myself: https://github.com/chriskempson/tomorrow-theme

Re: Just Use Sublime Text

#60
I started learning vim a few weeks ago and had the very same experiences as the author. However, I am currently use the "Vintage" Package in Sublime, to get the nice things from both worlds.
Post reply on HN