Live data from Hacker News

Just Use Sublime Text

delvarworld.github.com

281–290 of 296 posts

Re: Just Use Sublime Text

#281
post #75
post #42

Earlier quoted context omitted.

I switched from nano to vim a few hours ago. When I first installed Arch Linux all those months ago I was intimidated when I was presented with the choice between nano, the default, and vim, "for experts only." When I used vim for the first time today I expected it to be a lot more "difficult" based on everything I had read/heard prior, but after reaching the Arch Wiki entry I was able to hop right in with no difficu…

Just out of curiosity, what made you decide to change? I've never felt a strong motivation to not just keep using pico/nano, actually putting effort into learning a text editor strikes me as the weirdest hobby ever.

It just happened to be a good time to switch, to be honest. I've migrated from Openbox to Awesome WM in the past few days, and I needed a good editor with features like syntax highlighting, line numbers and great community themes as I learned my way around rc.lua. Also, as mentioned previously, Vim has a "reputation" for being difficult to master. It interested me, and all of the Linux gurus I know seem to use it, so I figured I would give it a shot.

Re: Just Use Sublime Text

#282
post #143

Almost anybody who associates great programming with things like super keyboarding skills and muscle memory is unfortunately degrading the status of programming to mere typing. What is it that is so distracting and pulling you out of your zen when you use a mouse? Seriously you type so fast and code at the speed of thought that a little glitch here is like making a mistake with a Formula 1 car in the Monaco Grand Pri…

Let me tell you how real work happens and how productive people work. Thanks for condescending to all us unproductive children who obviously have never done any "real" work. Guess what? That's called iterative design, and some very quality software is made the same way. It also has nothing whatsoever to do with arguing against using proper tools. Here's a question: if your EE had to stop to deal with some clumsy tool…

Except that you don't explain how not using vim is 'arguing against using proper tools'.

If any thing. vim is not the 'proper tool' of 2010's, 1980's may be. Not in 2013.

Re: Just Use Sublime Text

#284

Earlier quoted context omitted.

How about actual prose? With the right plugins Vim is the best article/book authoring tool I've found.

What plugins?

My own vim-seek was created for navigating long sentences easily; criticmarkup is a superset of markdown for cuts and other edits, which I ported to vim. And vimroom offers a IA Writer-inspired experience. For what Scrivener and outliners offer I'm working on something to scratch my own itch.

What else would you find missing for a writing workflow?

Re: Just Use Sublime Text

#285

Earlier quoted context omitted.

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…

The "problem" with the mouse is Fitt's Law. It is easy to use the mouse to hit large targets but, as the size of the target decreases, the duration and complexity of the task augments. Since we, as programmers, deal with very small targets, using the mouse is not the most efficient way to go. Some editors allow us to move very quickly to the next opening bracket on the line (Vim's f{ for example) while most editors c…

I do always set up my mouse to have no acceleration. You are right about it.

However, how many people who frowns mouse use knows that you can select a word by double clicking on it, or that you can extend a selection using shift+click, or that nothing scrolls a document as fast as the scrollbar or minimap?

Re: Just Use Sublime Text

#286
post #63
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…

Even if the mouse were quicker on average for long jumps, the moving of the hand from mouse to keyboard feels like more of a combo breaker, more distracting. Speed is very important, but equally important is for the editing experience to have a low attention footprint to leave more space for the train of thought behind the changes being made.

I tend to memorize the spatial location of keys (end, home, parenthesis, cursor keys) and of course, can touch type. Going back from using the mouse to touch typing is so immediate than I basically never notice it.

I think your last sentence supports Sublime Text even more than it supports Vi(m).

Re: Just Use Sublime Text

#287

Earlier quoted context omitted.

I have to agree with TFA here... I just don't see the point, and never have. When I'm in an editor, I mainly want to type, and have what I type go in where I type it... I like pico/nano over vi/vim/emacs. I like sublime, but a lot of functionality is only keyboard accessible, and I haven't take n the time to learn hot keys... why I would really love is having my editor, and a couple command/console prompts in the sam…

I don't mean to disregard what you said or insult your approach just because it is different than mine, but I can't tell you how much vim/emacs have boosted my productivity. Not only am I at least 30%+ faster while coding, but in general the process is so well oiled that I have near-0 resistance to just jumping in and getting something done. I jump around in code like crazy, can jump to different files instantly no m…

I have tried Zen Coding (now called some forgettable name) in several editors, vim, notepad++ and sublime text.

It is much more productive to use it in ST, just because I get immediate feedback. I get the full result in the editor in realtime, just as I'm writing the Zen Coding mantra.

The jump around all folder files in ST? Ctrl-P. It has fast and beautiful fuzzy matching. Do I need to open a file called Module/SuperCalliFractillicious.something? Ctrl-P, mscf, enter. File is opened and the cursor placed wherever it was the last time I edited it. Which could have been months ago.

Git integration? covered in several fronts. Git gutter was first seen in ST.

I do agree that tooling is very important. ST is a serious tool. Do not compare it to notepad.

Re: Just Use Sublime Text

#288

Earlier quoted context omitted.

I have to agree with TFA here... I just don't see the point, and never have. When I'm in an editor, I mainly want to type, and have what I type go in where I type it... I like pico/nano over vi/vim/emacs. I like sublime, but a lot of functionality is only keyboard accessible, and I haven't take n the time to learn hot keys... why I would really love is having my editor, and a couple command/console prompts in the sam…

I don't mean to disregard what you said or insult your approach just because it is different than mine, but I can't tell you how much vim/emacs have boosted my productivity. Not only am I at least 30%+ faster while coding, but in general the process is so well oiled that I have near-0 resistance to just jumping in and getting something done. I jump around in code like crazy, can jump to different files instantly no m…

[deleted]

Re: Just Use Sublime Text

#289

Earlier quoted context omitted.

I have to agree with TFA here... I just don't see the point, and never have. When I'm in an editor, I mainly want to type, and have what I type go in where I type it... I like pico/nano over vi/vim/emacs. I like sublime, but a lot of functionality is only keyboard accessible, and I haven't take n the time to learn hot keys... why I would really love is having my editor, and a couple command/console prompts in the sam…

I don't mean to disregard what you said or insult your approach just because it is different than mine, but I can't tell you how much vim/emacs have boosted my productivity. Not only am I at least 30%+ faster while coding, but in general the process is so well oiled that I have near-0 resistance to just jumping in and getting something done. I jump around in code like crazy, can jump to different files instantly no m…

[deleted]

Re: Just Use Sublime Text

#290

Earlier quoted context omitted.

Ctrl+D to select the next instance of the current selection.

Thanks, this is the best I've found. But it doesn't select all the instances within local scope (which happen to be highlighted, so it's not stretch to imagine being able to select them all), you end up having to do it manually by starting with the first entry and then carefully select all others that still fall within the local scope. Isn't it a pretty common thing to rename local variables? I'm not sure why it's no…

In sublime text the shortcut is Alt-F3.

You get one cursor for each instance, so you can select and then edit all at the same time.

I'm sure it is a readily available feature. In fact, I use it every day several times since I first installed ST.

Post reply on HN