News for hackers. Stuff that matters.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by INTPenis on Tuesday February 12, 2019 @10:02AM (#19143976)
Let's be honest though; vim saves you hours of work if you're already good at vim. If you're not then it'll just slow you down. It takes practice and daily use to learn. I love vim but let's not sugar coat it.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by emsy on Tuesday February 12, 2019 @10:30AM (#19144226)
What's your argument here? I don't try to be snarky, but learning a new skill is always slow in the beginning. If anything we should encourage people to learn these skills as early as possible so they can reap the benefits longer. I admit vim's learning curve is pretty steep, and I'm glad I learned it during my bachelor's thesis where I had a lot of time to do so.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by tiuPapa on Tuesday February 12, 2019 @10:33AM (#19144264)
Not OP, but I think the argument is that Vim isn't a magic editor that would make you fast out of the box. And if you just want to get work done without concentrating on learning a new skill, maybe you should look at other options?
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by emsy on Tuesday February 12, 2019 @10:42AM (#19144379)
I can only speak for myself, but I've used vim plugins on almost every IDE I've ever used. Unlike editor shortcuts, which are often exclusive to a certain IDE, vim is transferable and that's how it has one of the best cost/benefit ratios for me.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by SketchySeaBeast on Tuesday February 12, 2019 @10:45AM (#19144413)
> Unlike editor shortcuts, which are often exclusive to a certain IDE, vim is transferable and that's how it has one of the best cost/benefit ratios for me.

Doesn't that just mean you've selected VIM's syntax for all your IDE's? Most IDE's seem to have plugins for other popular editors.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by NegativeLatency on Tuesday February 12, 2019 @12:34PM (#19145586)
Seems like it’s the difference between him being supported in many IDEs and say visual studio shortcuts being supported in some thing like Atom. (Support May exist for this, IDK)
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by SketchySeaBeast on Tuesday February 12, 2019 @12:47PM (#19145700)
True, VIM may not be better, but it's a standard so it's well supported.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by weaksauce on Tuesday February 12, 2019 @12:48PM (#19145709)
No, vim is a layer on top of the ide. normal keyboard shortcuts and other editor features still work in say Xcode or visual studio.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by heavenlyblue on Tuesday February 12, 2019 @01:06PM (#19145872)
So does vim support proper refactoring as it is in IntelliJ IDEA for any locally-scoped variable?
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by antew on Tuesday February 12, 2019 @01:12PM (#19145941)
No, but you can use the Vim plugin for IntelliJ and get it that way! There are Vim plug-ins for every IDE I've used.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by emsy on Tuesday February 12, 2019 @10:52AM (#19144487)
I can't reply directly to SketchySeaBeast but you're right, there are probably alternatives. Emacs shortcuts are widely used on terminal emulators iirc. Vim is just one option for a portable, efficient way to edit text.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by TeMPOraL on Tuesday February 12, 2019 @11:09AM (#19144667)
> And if you just want to get work done without concentrating on learning a new skill

Maybe this is a mindset issue, but I'm having a hard time imagining how one would want to just get the work done, without trying to pick up a skill in the process.

Despite the current UX trends of dumbing down software, it's rare you'll use a tool just once in your lifetime.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by tiuPapa on Tuesday February 12, 2019 @11:26AM (#19144842)
Ah I see your point. What I was trying to say is that learning Vim is a separate commitment. If you are not prepared to make that commitment, Vim will slow you down instead of speeding you up.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by TeMPOraL on Tuesday February 12, 2019 @12:23PM (#19145445)
That's true. And if you really believe you won't be needing vim - or won't be solving the class of problems vim is good for - very often, it may not be worth it to explicitly sit down and learn it. The calculus is correct, but the actual values that go into the equation matter a lot.

My wife has used SublimeText and Notepad++ for total of maybe 10 hours in her entire life. I'm not suggesting her to learn Vim (or Emacs), because the kinds of tasks she does with computers don't benefit that much from a proper text editor. However, most developers spent inordinate amount of time editing plain text files, and a lot of tasks they do in other tools - like task management, time tracking, documentation writing, drawing diagrams, commenting on StackOverflow - could receive stupidly huge efficiency improvements by being done in plain text too. Vim and Emacs are the two tools that are dedicated for precisely this class of problems. In my opinion, the couple dozen hours one has to invest over the course of a month to get some basic proficiency in them is worth the across-the-board payoff in work speed and comfort.

--

One trick I've learned is being explicit and deliberate about learning. To things like learning a new piece of software, recursive Pareto rule applies - 20% of time gives you 80% of value. 4% of time gives you 64% of value. So, say you're willing to entertain the thought of learning a little bit of Vim. Allocate a single pomodoro to it right now, and fire up vimtutor. 25 minutes, full focus. You'll notice it only takes a few minutes to break through your own habits and learn the basics of a new interface. You'll be impressed by how much you've learned in just 25 minutes[0]. Next step: commit to 5 hours over a week. 10 pomodoros. Find some introductory tutorials, and work through them this way.

Personally, I did above trick a couple of times to learn new Emacs features. Getting comfortable with multiple cursors, or with paredit, are things that turned out to take 1 or 2 pomodoros, and have been improving my editing speed and comfort for the past couple years.

--

WRT. mindset, a proper one can smooth out the learning curve quite well. The most basic trick that I see even developers not recognizing is this: every time you click on a button in your program, figure out if there's a keyboard shortcut for it. If there is, try to use it instead. Soon, you'll find yourself working much faster and comfortable than before.

--

[0] - though you'll lose half of it in a day. Committing new skills to long-term memory takes more time and exposure; muscle memory takes even more. Good news is, this happens pretty much by itself, as you apply the new skills to the tasks you're doing.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by kamaal on Tuesday February 12, 2019 @11:48PM (#19150489)
There is bad trend going on in the Industry for a while now. It's basically that people want things designed to be good for newbies and no body else. This makes tools easy to pick up, but it makes it very hard to solve complicated tasks with it.

Most people don't want to put in anything more than 40 hour work week these days. Which also means no time to learn and upgrade your skill set. That is for doing their everyday tasks.

Now selling vim or emacs to this set of people would never work for one reason. They just can't get themselves to spend that time.

That's also a big reason why people hate Nerds. These people spend to get better at things in a way we don't want to.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by nickjj on Tuesday February 12, 2019 @11:43AM (#19145051)
OP here. Yeah that's right.

And truthfully, the productivity wins for me weren't so much tied into being able to input text at a faster rate with Vim.

It was being able to leverage Vim itself to help me rethink and reshape how I organize large amounts of structured text, which saves a lot of time and headaches when dealing with files. Plus there's other wins too with limelight and video editing (an added bonus).

I'm still not 100% as fast as I was with VSCode for inputting and editing text but after 2 weeks of using Vim, it's not a complete train wreck anymore. It was brutal for days, but it's slowly getting better.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by luxpir on Tuesday February 12, 2019 @05:32PM (#19148343)
Get yourself autocomplete set up in Vim. For large amounts of prose with repeated vocabulary it really does save time and effort.

Bonus points for using it in mutt for all electronic correspondence.

Also, why the Dickens are you using Windows when your heart clearly yearns for a nice native i3 setup?

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by nickjj on Tuesday February 12, 2019 @07:59PM (#19149392)
> Also, why the Dickens are you using Windows when your heart clearly yearns for a nice native i3 setup?

That was explained a few weeks ago in this post:

https://nickjanetakis.com/blog/i-tried-linux-as-my-main-dev-...

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by luxpir on Wednesday February 13, 2019 @06:10AM (#19152154)
> Pops and clicks in audio

Ah OK. Haven't had that myself, even using USB audio interfaces in a similar fashion, so I wouldn't put that down to Linux. I use monitor speakers and have good hearing and definitely not getting those issues with a simple pulseaudio setup. I flick between youtube, cmus, recording on my old Zoom H2, audio from a VM etc. so have run the gamut of opportunities for it to pop and click.

Sounds like you had to spend a lot of time troubleshooting and in the end thought it wasn't worth the fight. I hear you, but I would see if I could borrow another audio interface from a store or contact of yours before giving up on OS-freedom for good. The Scarlett is an entry-level device anyway, known to have dubious build quality. I'd also take it up with the manufacturer before looking for more fixes.

Good luck!

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by nickjj on Wednesday February 13, 2019 @08:03AM (#19152695)
Yeah it seems isolated to some type of combo of hardware I have.

After I finish this next course I will try again with a different distro, and then see if my other USB mic that worked on the Chromebook (running native Linux) also works on my main machine.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by mda on Tuesday February 12, 2019 @10:36AM (#19144306)
It is an editor that is hard to learn and master. There are other options you could have some / most of the mentioned benefits with much lower investment. Not everyone has the energy / willpower / time to learn vim.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by jcranberry on Tuesday February 12, 2019 @10:46AM (#19144429)
Vim isn't that hard to learn. I think the idea that someone doesn't have the willpower to learn vim is unlikely to the point of being ludicrous. It took me about two weeks of using vim with a printout until I could use it without thinking or having to reference it.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by Phenix88be on Tuesday February 12, 2019 @10:56AM (#19144520)
Vim is not hard to learn, a few hours give you the basic. Vim is hard to master. 3 years ago I started to use Spacemacs with evil (so vim) and I keep learning new vim tricks.

It's a lot of fun and I really can't go back.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by shriek on Tuesday February 12, 2019 @08:59PM (#19149678)
Isn't that the whole beauty of it? You're learning what you've already learned on top without having to re-learn everything again. That's primarily why I've stuck with it. That and the fact that it's easily programmable even though VimL leaves you wanting more.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by phailhaus on Tuesday February 12, 2019 @10:51AM (#19144483)
Have you ever tried to set up a colorscheme for vim? Add plugins, set keybindings? Imagine a non-engineer trying to do any of these things. Even as an engineer it's taken me years of iteration to get vim to a place where I'm as fast as I am, and I still get frustrated setting up a new computer (and I've gone through the trouble of hosting my dotfiles on GitHub!)
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by alpaca128 on Tuesday February 12, 2019 @11:16AM (#19144732)
It can be tricky, but doesn't depend on the user being an engineer. It mainly requires the right mindset.

Some people find even an iPhone too complicated, others don't mind reading the manual for a minute. For some users Vim just makes sense, while certain people will struggle with saving files in Notepad because they think a specific button is at the wrong place and refuse to learn it any other way than they imagined.

> I still get frustrated setting up a new computer

Why is that? Setting up Vim is the easiest task for me, it's literally just a matter of copying some files.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by phailhaus on Tuesday February 12, 2019 @11:47AM (#19145083)
> It can be tricky, but doesn't depend on the user being an engineer. It mainly requires the right mindset.

A mindset that is suspiciously similar to an engineer's. :P For example, you need the user to memorize the fact that all the configs are in a ".vimrc" file in their home directory. Oh and since it's a dotfile they might not see it immediately. And then if they want to add custom shortcuts they need to learn exactly how the syntax works, the different "modes", the types of remaps, etc. It's a horrible experience for a non-engineer.

> Why is that? Setting up Vim is the easiest task for me, it's literally just a matter of copying some files.

I have a lot of plugins (e.g. syntax highlighting, linting, and autocomplete for different languages), and each of those can have their own dependencies that they require you to install before they'll work.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by TeMPOraL on Tuesday February 12, 2019 @12:31PM (#19145544)
It's absolutely a matter of mindset.

I tend to use the example of a car in these topics, but I have a better one: a coffee maker. There are numerous non-obvious things one has to learn about coffee makers - like how to apply a water filter, and what kind to buy. Like the symbols that mean "not enough water", "not enough coffee", "dredge drawer full", and what to do when they show up. Somehow, I never see anyone complaining about this - because there's a social expectation that people can and should figure this out. The coffee machine comes with a small booklet explaining all of this in pictures and a dozen languages.

Yet somehow, with software people think that the UI should just have a button labeled "get my job done", pressing which will get their job done. It's a really broken mindset, because it's impossible (or rather, it's an AI-complete problem) to have software like that.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by falcrist on Tuesday February 12, 2019 @02:03PM (#19146417)
The coffee maker does indeed come with a booklet that explains what various messages mean, and what actions need to be taken to address these issues. Those steps are maybe two sentences long and generally self evident even without the booklet.

People complain about that, because they think things should be handled and explained within the machine itself. I don't complain about coffee machines, but I agree with the principle. If I have to go searching through manuals to figure out what actions I need to take to get something working, that piece of software has failed at user interface design.

Sometimes it's ok to fail at UI. I don't expect everything handed to me on a silver platter when I'm writing a bootloader for an 8051, but I do expect my tools to be reasonably user friendly. Vim isn't user friendly, and that understandably drives people away. Hell, even emacs can be a pain to work with.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by mcguire on Tuesday February 12, 2019 @04:30PM (#19147727)
Fortunately, many other tools are much easier. They can't be configured; you adapt to them.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by creyes on Tuesday February 12, 2019 @11:10AM (#19144676)
I think that it's probably better to start with a solid vimrc and then make changes from there. Ours is pretty standard and included with our standard dotfiles https://github.com/thoughtbot/dotfiles/blob/master/vimrc

A HUGE problem with developers learning VIM is that they think they have to go from 0 - 100 immediately when you can adopt VIM gradually and still see noticeable efficiency increases.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by phailhaus on Tuesday February 12, 2019 @11:50AM (#19145123)
> A HUGE problem with developers learning VIM is that they think they have to go from 0 - 100 immediately when you can adopt VIM gradually and still see noticeable efficiency increases.

That iterative process is exactly what I'm talking about. It's taken years to develop my vimrc, because starting with a "prebuilt vimrc" means that you don't really understand what is pure vim, what's custom, and what issues you might run into because of those custom settings conflicting with new plugins.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by jcranberry on Tuesday February 12, 2019 @01:12PM (#19145942)
The first time, each of those things probably took me like ten seconds. Cloned into folders specified in readmes. Keybindings are even simpler.

Obviously there can be snags on the road and things get more difficult the more complicated things you want to do, but learning the basic keybindings and being able to efficiently edit files with vim just isn't that hard.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by darkpuma on Tuesday February 12, 2019 @06:05PM (#19148615)
Why should a non-engineer use Vim? If you're writing prose not code, then using vim is like using a Hilti rotary hammer to hang picture frames.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by phailhaus on Wednesday February 13, 2019 @05:07PM (#19157571)
Yep! They shouldn't! That's what I'm arguing :)
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by _of on Tuesday February 12, 2019 @11:34AM (#19144944)
not hard. most of those things can be googled in seconds and copy pasted into .vimrc

I would say vim is easier to configure than, for example emacs

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by phailhaus on Tuesday February 12, 2019 @11:43AM (#19145050)
Non-engineer: "What is .vimrc?" And no, for example solarized takes quite a bit of googling to learn exactly which files to copy from GitHub (red flag: non-engineer has to go to GitHub and download a raw file), and then fiddle with the color settings depending on which terminal you're using.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by mcguire on Tuesday February 12, 2019 @04:44PM (#19147859)
Ever tried changing the color theme in Eclipse?
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by nickjj on Tuesday February 12, 2019 @11:48AM (#19145095)
It's funny you mention printouts. They've been critical for my learning process too. I have a standing desk and as of right now I have 6x sticky notes worth of shortcuts hanging down below my monitor.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by weaksauce on Tuesday February 12, 2019 @12:55PM (#19145782)
I say that vim is easy to learn if you approach it from the idea that it’s a vocabulary to edit text and not a bunch of arcane invocations. Instead of learning di” as a invocation to delete text inside the current or next pair of double quotes on the line you learn it as a verb and target... d deletes i sets the scope inside something and “ is the target. Then the next time you want to delete inside something all you need to do is change the target up to say single quote or paragraph. or you substitute the inner with a mark or a line number or a regex.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by nickjj on Tuesday February 12, 2019 @01:43PM (#19146215)
Yeah once I got to thinking about it being almost like a piano, where you're playing notes or melodies to do something it suddenly all started to click.

But still, I have a lot jotted down. Mainly the hotkeys, but also things just to remind myself that a feature exists (like * to highlight the current word).

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by james_s_tayler on Tuesday February 12, 2019 @06:19PM (#19148723)
I don't have the willpower to learn vim. Everytime I even look at it I think... no. And reach for nano instead and just be inefficient and happy. We're out there.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by creyes on Tuesday February 12, 2019 @10:59AM (#19144555)
Hmmm. I'm not sure I agree with this. That's like saying that people use a screw driver to screw in a nail because it's a much lower investment and not everyone has the energy to use a drill.

The premise of the article is that the VIM is better enough than alternatives that it's worth the learning curve. Just like a drill is better enough than a screwdriver to learn ho to use it. If you want to contest that, that's a different discussion.

If your argument is, "some people don't have the energy to use the best tool for the job"... idk how to respond to that.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by falcrist on Tuesday February 12, 2019 @01:08PM (#19145903)
Doesn't the screw driver/drill analogy work here too? Drills cost a lot more money than screw drivers or hammers, require that you be working with screws rather than nails, and don't work unless you have electricity. Hence, they're not a worthwhile investment for everyone.

If you go far enough, you can cause the analogy to break down, but that's true of any analogy. This breaks down because the ROI for a drill is too short to compare with Vim.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by mcguire on Tuesday February 12, 2019 @04:46PM (#19147876)
So, notepad, then? :-)
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by INTPenis on Tuesday February 12, 2019 @12:48PM (#19145705)
The headline to this story is "Vim is saving me hours of work..." which is a lot like "Find out how to lose 10lbs in one week" or "You too can earn thousands of dollars a week with this easy trick".

And trends go around in IT just like any other field. So before someone jumps into vim to save themselves hours of work they should know that it requires practice use to use well.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by nickjj on Tuesday February 12, 2019 @01:40PM (#19146179)
How would you rewrite the headline based on the article's contents? Keep in mind it has to be 60 or less characters too.

I wouldn't say I am learning Vim due to it being a trend. I'm learning and using it based on problems I discovered using other editors to write books and courses.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by IshKebab on Tuesday February 12, 2019 @12:53PM (#19145764)
It's annoying that vim is often the default editor (e.g. for git commit messages), because it really sucks if you aren't a vim user.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by nickjj on Tuesday February 12, 2019 @01:47PM (#19146253)
Even without being a dedicated Vim user, I think using it for git commits can be beneficial.

You can use it to visually warn you that your git commit is going past a certain amount of characters. Basically it can help you create better git commit messages.

But if you hate it and are on a Unix-like environment you can export EDITOR="nano" in your profile and now git should use nano instead. I think there's a git specific setting you can set too if you don't want to do it system wide.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by manifestsilence on Tuesday February 12, 2019 @10:51AM (#19144472)
For the first couple years I used vim, I spent half the time just hitting "i" and using it like a normal editor. And if I was in the mood to learn something, I would hit <esc> and try not to wreck my document. It's not that big a barrier if you start gently rather than going with a purist mentality that the arrow keys are evil and should be pried off the keyboard. :)

This approach is especially nice when there are great vim keybindings for things like Visual Studio. The only thing you have to learn to start using vim is to always pay attention to if the cursor is a block or not, and if it is, remember to hit "i" before you mash keys if that's not what you want.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by Izkata on Tuesday February 12, 2019 @01:42PM (#19146198)
I don't think I ever did that, but I do have another suggestion that I did for a long while, along the same "start gently" mentality: Use gvim

It not only has menus, but the shortcuts on the right side of each menu item aren't special - the they're the same commands you'd just type into vim normally. I picked up a bunch from those, but in particular I remember folding being one I didn't even know existed in vim until using it in one of the menus.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by segmondy on Tuesday February 12, 2019 @10:25AM (#19144175)
That's the wrong way to look at it.

Anything you're not good at it is going to slow you down. The question is that even tho you might be slow, if you put in the effort, learn it then get good, will the savings and speed up make up for the initial slow down?

I'm a vim fan and won't try to convince others. But I personally believe that the answer is yes. One of the secret to being successful with vi is that of mindset. You need to have a positive mindset that it's worth learning, you need to commit to learning it. I learned vi when network speed was very slow and systems didn't have enough memory. It was faster than any other editor. So I had the mindset that I needed to learn it. if I was starting out today, it probably would be hard when you have editors like vscode.

I have typed and used computers everyday for 25 years non stop and I have no issue with my fingers and I believe a major part of it is using vim and my fingers not having to travel and move out to find a mouse or hitting Ctrl+ keys.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by amelius on Tuesday February 12, 2019 @10:31AM (#19144238)
Another way to look at it is: what fraction of the time are you typing versus thinking? If it's less than 20%, then a faster editor will probably not speed you up by a significant amount.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by TeMPOraL on Tuesday February 12, 2019 @12:45PM (#19145682)
Vim won't speed up your typing. It'll speed up your editing. Adding/discarding/modifying large blocks of text, or spread-out blocks of text. It'll let you think in terms of moving this block there, replacing these words, duplicating these patterns, etc. The efficiency increase comes, in large part, from allowing you to make steps that are closer to how you think.

And even if we're talking about 20% of your time, improving that 2-10x is nothing to shake a stick at. 20% of 10 hours is 2 hours, if Vim makes you edit 2x faster, that's 1h saved, per day. And that's without accounting for other work you could move to your suddenly more efficient plaintext mode, and the work you don't even consider doing because your editing experience is too painful (it sometimes work the other way too; there are things I won't do in Emacs, but I will in IntelliJ, where project-wide, language-aware refactors can be done with two clicks in full confidence that nothing will break).

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by megous on Tuesday February 12, 2019 @11:41AM (#19145032)
Typing and thinking are almost the same thing to me. I'm either writing code, or bullet lists with things to do, concerns to take into account, things I've learned, etc. Text file is an extension of my memory, and a place to distill, manipulate, and organize my thoughts.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by adonnjohn on Tuesday February 12, 2019 @10:47AM (#19144437)
I generally agree as somebody still fairly new to development. I'm about 6 years into focusing in computer science, and early into the process I heard about vim and emacs. I knew that it wouldn't be necessary to use either while going through undergrad, but I decided to learn enough vim to be functional just because I wanted to understand.

Vim still isn't my exclusive dev editor, but it has almost become my exclusive terminal editor. Learning older technologies may not always be top priority, but it can do a large amount to enrich your personal perspective- particularly if you discover the niche where its usefulness is best utilized (and like you mentioned, if the amount of time to get up to speed will save you proportionate future time).

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by 5partan on Tuesday February 12, 2019 @10:33AM (#19144269)
Wait a minute, wasn’t ed faster at that time? :)
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by magoghm on Tuesday February 12, 2019 @10:42AM (#19144373)
When I started using Unix (36 years ago) I could open a file in ed, make a small change in the file, and save it back to disk, faster than it took vi to startup.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by mcguire on Tuesday February 12, 2019 @05:03PM (#19148053)
Not to mention Eight Megs And Constantly Swapping.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by magoghm on Tuesday February 12, 2019 @06:45PM (#19148898)
Eight Megs? On the machine I was using 36 years ago, each process had a limit of 64 KB for code + 64 KB for data. It was 8086 based and that was called the small-memory model. Later versions of the OS added support for the medium-memory model which could support 192 KB of code + 64 KB of data.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by giancarlostoro on Tuesday February 12, 2019 @10:03AM (#19143995)
Indeed. JetBrains IDE's save me hours of work because I'm comfortable working with their IDE's. I am also more comfortable with Emacs than I currently am with VIM, but I use either one depending on circumstances. To be fair op did write how it saves them hours.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by emsy on Tuesday February 12, 2019 @10:32AM (#19144247)
Vim plugins are available for most IDEs. I almost never use vim (except for the shell), but I use vim-style editing in all the IDEs I use.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by polyterative on Tuesday February 12, 2019 @10:57AM (#19144538)
Is that a viable way to learn vim? As an advanced jetbrains poweruser
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by qqqwww on Tuesday February 12, 2019 @11:14AM (#19144706)
Absolutely - I first learned "vim" using a visual studio plugin. Since then I used it in 5 other editors, but I barely used vim itself.

The main downside is that you don't learn things like window managing, file exploration, etc - mostly because other editors are already good at that, and it's not something plugins focus on.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by polyterative on Wednesday February 13, 2019 @03:08AM (#19151329)
Is it worth it? I am already pretty fluent using my custom-ish shortcuts for all navigation, will vim speed me up at this point?
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by neurotrace on Tuesday February 12, 2019 @11:41AM (#19145025)
That's how I learned it. I got the extension for VS Code and just started playing with it. If I got frustrated, I would slap "i" and go back to my normal way of doing things. The frustrations went down and now I use vim bindings all the time. I'd also recommend getting a Vim plugin for the browser (https://addons.mozilla.org/en-US/firefox/addon/vimium-ff/). Totally optional but it really helped click in the j and k movements.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by alpaca128 on Tuesday February 12, 2019 @11:19AM (#19144765)
Doing it that way will at least prevent you from being disappointed due to missing features. Vim plugins are nice and I definitely prefer them over basic input, but almost all of them don't even cover the basics.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by emsy on Tuesday February 12, 2019 @11:17AM (#19144748)
I've learned vim in the standard vim editor at the time, so I can only guess but it should probably work. 99% of my work with vim is navigating and editing text. The rest is macros and substitute, all of which is available in IntelliJ. The things you miss out on are (I think) colorschemes and vim specific plugins (which you mostly don't need because you have a fully fledged IDE).
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by sametmax on Tuesday February 12, 2019 @10:50AM (#19144466)
Even if you are very good at vim, it's still debatable.

The thing is, vim forces you to do a lot of stuff that the machine could do for you. E.G: you need to remember states and how to transition between those states. Plus the human mind sucks at context switching.

All in all, this adds up, and there is a limit to the cognitive load you can accumulate. You only have one brain and you need to share it between all tasks, including solving the problem at hand and using tools to do so.

Half of my income comes from training professionals on site. Experience taugh me that every time somebody uses vim, 4 things will happen:

- the person will be one of the best of the team

- the person will have some weird bug/config problem/compat issue at some point and will waste time fixing it at least once during the training, swearing it never happens (also the person with vim usually has a very custom setup so this compounds)

- at the end of each day, the person will be one of the most exhausted, and will make way more mistakes than the others compare to the morning baseline

- at equal technical level, the person with vscode/sublime/jetbrain will be faster on average. Maybe not the first hour. But it will come.

So, yes. Vim may be fun. It may suit your workflow and ecosystem, and even your sense of aesthetic. But I don't buy the productivity boost.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by nickjj on Tuesday February 12, 2019 @11:58AM (#19145206)
OP here. What I'm noticing is that Vim kind of helps you not have to switch contexts.

For example, let's say you want to put the cursor next to a specific word in a sentence.

If you use the mouse, now you need to stop writing, goto the mouse, find your mouse pointer, look at the mouse pointer, then move the mouse to the word you want to be at, click the mouse and start typing again.

I'm an avid gamer. I'm super used to this. I can move my mouse at pixel precision and do it very quickly, but even if it's fast, it's still a context switch.

With Vim, it almost feels like Vim itself is another input device that's almost a mind control device. I can just direct my eyes to the word I want to move to, hit 3 keys and then have my cursor jump directly to it (by using vim-sneak and pressing any 2 characters of the word).

Even if doing this is only equal speed to the mouse, it's still a win in my book because it feels less of a context switch. Plus if you want to talk about mistakes, looking at the word you want to jump to instead of your mouse cursor forces you to look at the word, so you have 1 more chance of avoiding a spelling mistake -- although to be fair, most editors including Vim can visually show you these errors.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by p1esk on Tuesday February 12, 2019 @12:15PM (#19145361)
by using vim-sneak and pressing any 2 characters of the word

wow, that's pretty cool!

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by appleiigs on Tuesday February 12, 2019 @11:16AM (#19144729)
Do you have examples of the bug/config/compat issues? I get those problems with an IDE, not Vim. IDE is always trying to lint, debug, run stuff... mix that with virtual environments and what a mess.

With vim being on every system, i don't really carry much baggage around. I have my vim settings file in cloud storage. And maybe one pluggin (NERDTree) on my main machine.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by sametmax on Tuesday February 12, 2019 @11:23AM (#19144817)
No, I never, ever look at the source of the problem nor the solution. I've used vim for 15 years, but I don't have time for this, so I don't customize anything, and if somebody has a problem, the person is responsible for fixing it.

I'm not even waiting on people with Vim problems anymore during the lectures. I just go on, they will catch up.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by astrobe_ on Tuesday February 12, 2019 @01:05PM (#19145866)
I have trouble making work together "one of the best of the team" and "one of the most exhausted". It seems weird to me that the "best" persons use a tool that so obviously drag them down (don't they realize they are more exhausted, slower and make more mistakes at the end of the day?)

I believe that there may be some post hoc, ergo propter hoc at play here.

For instance did you include the age of the persons in your observations? It wouldn't be surprising that the persons choosing vim are a bit older on average, and then one could think that they have a bit less stamina and are exhaust faster?

Or maybe they are actually doing more, like spending part of their energy helping others? That's also a pattern you can see often in group training sessions.

Also, you mentioned that you won't help them with the "weird issues" they usually have with vim. Do you apply the same treatment to non-vim users?

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by sametmax on Tuesday February 12, 2019 @04:41PM (#19147832)
Here is HN for you: if you don't agree with somebody experience, ask the person to provide a study.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by flocial on Tuesday February 12, 2019 @05:42PM (#19148416)
The dreaded "show me your sources" question. Of course this can lead to non-specialists trading flawed studies based on skimming the abstract which adds marginal value.

That being said one person's anecdote supporting a highly subjective opinion deserves to be torn to shreds without ample evidence or at least better context.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by astrobe_ on Wednesday February 13, 2019 @09:37AM (#19153373)
I simply asked three questions on your experience. Why this defensive stance?
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by kolme on Tuesday February 12, 2019 @05:39PM (#19148389)
> vim forces you to do a lot of stuff that the machine could do for you.

I don't think that makes any sense at all. If anything Vim does a lot for me because it's programmable. When doing heavy editing, the whole point is the automation does the heavy lifting.

Switching modes doesn't have any cognitive load effects that I can notice. The cursor changes the shape for example, so you instantly know what to do. It's pretty much second nature.

What you're describing is a novice or clumsy Vim user. I don't know what "compatibility problems" should have a text editor, but I haven't had any in many years.

> So, yes. Vim may be fun. [...] But I don't buy the productivity boost.

Kind of condescending, really. Thinking that Vim is a toy and all users are using it for the heck of it, when they could be more productive otherwise.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by learc83 on Tuesday February 12, 2019 @04:28PM (#19147712)
Unless you're keeping a written log of who is using what editor and comparing it to some kind of objective metric, this is almost definitely a case of confirmation bias. There's no way that literally every person using vim is having these kinds of problems.

Even if the correlation is real, there's just no way that difference between using vim and using something else is so great that it's causing people to exhaust themselves, so best case scenario there's some hidden variable causing it.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by hajile on Tuesday February 12, 2019 @08:20PM (#19149500)
vi is a set of controls -- NOT a specific editor. Emacs, vi, vim, neovim, <misc_vi_clone>, sublime, intelliJ, kate, VS Code, etc all have vi controls.

Give me VS Code with the Vim plugin and I'll code circles around someone using the standard controls simply because it takes so little effort to do most complex things and if a mouse actually makes things faster, I can use that too.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by mettamage on Tuesday February 12, 2019 @12:16PM (#19145373)
I'm sorry: learning the basics of vim isn't hard, and it never will be, provided you have the right education (I suppose that's true for anything but in this case it's a platitude that I viscerally experience to be true).

The right education is: vimtutor (type it in your CLI and within 30 minutes you're done).

I deleted my rant but I dare anyone to take my challenge: do vimtutor for 30 minutes and then answer the following question twice (before vimtutor and after it) in a comment.

I perceive vim to be difficult:

(1) strongly disagree, (2) disagree, (3) agree, (4) strongly agree.

Once you know the basics of vim, then it won't slow you donw.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by kerbalspacepro on Tuesday February 12, 2019 @12:31PM (#19145542)
>The right education is: vimtutor (type it in your CLI).

Well I just discovered a new thing to do over the next 25-30 minutes

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by mettamage on Tuesday February 12, 2019 @12:35PM (#19145593)
Let me know how it went! I sound like an evangelist and some fresh eyes and opinion could give my statements some nuance.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by TeMPOraL on Tuesday February 12, 2019 @12:46PM (#19145694)
I'm a hardcore believer in the Church of Emacs, and yet I strongly second your message. What you're saying is not evangelism; it's common sense.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by mettamage on Tuesday February 12, 2019 @02:09PM (#19146460)
Still need to take Emacs for a good spin before I pick my religion. Is there a vimtutor for Emacs?
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by TeMPOraL on Tuesday February 12, 2019 @02:27PM (#19146643)
The built-in tutorial in Emacs can be opened by pressing CTRL+h, and then t ("C-h t" in Emacs notation), or by pressing Alt+x writing help-with-tutorial <ret> ("M-x help-with-tutorial" in Emacs notation).

Beyond this, see also the tour over the basics here: https://www.gnu.org/software/emacs/tour/.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by johnmarcus on Tuesday February 12, 2019 @12:29PM (#19145531)
Um...hate to point out, but he didn’t say it was difficult. He said unless your practiced in it, it won’t be particularly more efficient in it. I’m sur vim tutor teaches all the things, but until they are muscle memories in, you will see no time advantage. A 30 minute tutorial will not muscle memory all the things in, that takes time and practice. Also, while not hard (I use vim constantly as a sys admin) I don’t personally think it compares to what I can get done in Atom and it’s never going to be my editor of choice, no matter how familiar.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by mettamage on Tuesday February 12, 2019 @12:31PM (#19145553)
Vimtutor doesn't muscle memory everything in. But it does muscle memory in basic things such as deleting, moving around and going to beginning of lines, enf of lines etc.

That's what it did on my first run. It indeed wasn't perfect, but there were already a couple of tricks that I've learned that I really liked and that's what you get out of it.

I'm not saying you work faster, I'm saying after vimtutor you won't work slower.

I suppose you still work slower if you compare it to your favorite text editor, I'm not very strongly proficient in any text editor, which is why I'm not noticing slow downs.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by in9 on Wednesday February 13, 2019 @08:07AM (#19152714)
as a vim user, what I found difficult wasn't the stuff taught in vimtutor, but rather how to get to know the tool it self.

Buffers, windows, autocomplete, files browsing, all of that requires you to dig around the help files and the web.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by mikece on Tuesday February 12, 2019 @10:06AM (#19144020)
Ditto the Dvorak keyboard enthusiasts...
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by CydeWeys on Tuesday February 12, 2019 @10:10AM (#19144049)
Even less so. Unless you're doing transcription, typing speed is not even close to being the primary limitation on how quickly you work. Thinking of the words is. The difference between a typist who can hit 100 wpm using QWERTY and 110 wpm using DVORAK will only be exposed when playing TypeRacer. Otherwise there's no functional difference.

You have to get down to hunt-and-peck until you see typing ability actually affect productivity (and I have seen those people). If you can touch type using any keyboard layout, though, then typing speed won't be a meaningful limitation for you.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by simias on Tuesday February 12, 2019 @10:25AM (#19144176)
I switched to Dvorak originally because I wanted to learn how to touchtype and using Dvorak meant that I couldn't cheat by looking at the keyboard. We're now almost 15 years later and I don't regret my choice, I don't know if typing in Dvorak is really faster than QWERTY but it definitely feels very comfortable. That's a very significant functional difference, most of the typing in Dvorak occurs around the home row. When you type for hours every day it's well worth the switch IMO. Get a good ergonomic keyboard while you're at it.

That being said if I anybody reading this is tempted to switch away from QWERTY towards a more ergonomic layout I'd suggest looking into Colemak, it's supposed to be at least as ergonomic as Dvorak while being closer to the standard QWERTY layout.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by yboris on Tuesday February 12, 2019 @10:33AM (#19144268)
I also endorse the switch to Dvorak -- I find it more comfortable (less finger movement feels calmer). I can also switch between keyboard layouts within a few conscious keystrokes, after that the 'muscle memory' takes over.

I suspect Colemak is better, but it's a much smaller gain going from Dvorak to Colemak than from Qwerty to Dvorak, so I'll stick to what I have. Otherwise I suspect Colemak is better than Dvorak when switching from QWERTY.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by simias on Tuesday February 12, 2019 @10:39AM (#19144344)
>I suspect Colemak is better, but it's a much smaller gain going from Dvorak to Colemak than from Qwerty to Dvorak, so I'll stick to what I have.

Yeah I'm in the same boat, that's why I was mainly aiming my comment at people using QWERTY and looking to switch to a better layout. Even the Colemak people acknowledge that:

https://colemak.com/FAQ#Is_it_worth_switching_from_Dvorak_to...

> The Colemak keyboard layout fixes all the issues mentioned above, and wins in virtually every criterion, but the difference will be less noticeable than the difference between QWERTY and Dvorak. The switch won't be as easy for veteran Dvorak users. If you're generally happy with Dvorak, you should probably stick with it.

The FAQ also has an interesting list of "what's wrong with the Dvorak layout" which might be of interest for people looking to learn it: https://colemak.com/FAQ#What.27s_wrong_with_the_Dvorak_layou...

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by zZorgz on Tuesday February 12, 2019 @11:01AM (#19144586)
As someone that can type QWERTY and Colemak pretty equally well, I’m not convinced in my experience that alternative keyboard layouts are significantly more comfortable than QWERTY (speed aside). Comfort greatly is noticeable if you’re transcripting at high speeds frequently (typing tests) but is otherwise questionable.

Layout switchers have some bias here because they don’t type as well in QWERTY anymore or they didn’t touch type QWERTY.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by simias on Tuesday February 12, 2019 @11:50AM (#19145124)
> Comfort greatly is noticeable if you’re transcripting at high speeds frequently (typing tests) but is otherwise questionable.

When I'm writing something that doesn't require a lot of cognitive overhead (typically chatting online, when I may have a lot to say but it's not particularly intellectually demanding and doesn't require a lot of precision or proofreading) I can reach pretty high WPMs.

I'm not convinced that typing speed is always brain-bound outside of typing tests. If I'm telling you about my day at work I'm pretty sure I can just "stream-of-consciousness" directly through the keyboard with very little overhead, especially if I do it in my native French.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by zZorgz on Tuesday February 12, 2019 @08:53PM (#19149652)
I agree with you (though perhaps speed increases become less important after a certain threshold).

I was trying to talk about comfort difference between keyboard layouts anyhow, not the speed difference.

Given the same proficiency level of QWERTY and Dvorak/Colemak, comfort difference would be more noticeable for high intensity / little breaks / long duration activity like typing tests.

Are alternative keyboard layouts significantly more comfortable for practical tasks? I’m skeptical. (Most enthusiasts already agree they aren’t really faster).

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by bunderbunder on Tuesday February 12, 2019 @10:18AM (#19144114)
I broke my wrist a few years ago, and had to spend a while typing with one hand on a half-qwerty keyboard setup. I took a huge hit to my typing speed, but the rate at which I was getting work done didn't really change.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by lfowles on Tuesday February 12, 2019 @10:24AM (#19144166)
Noticed the same when I switched to an Alphagrip and could only maintain 50-60wpm.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by adimitrov on Tuesday February 12, 2019 @10:26AM (#19144190)
As a Dvorak and Vim (Spacemacs, really) user, I don't get this argument.

It's not about speed. Sure, some people say it's about speed, on either side of the debate, but I'm not a faster typist, nor a faster editor, nor would it matter in my profession (coding.)

It's about ease of use.

Once you're used to them, these tools save you (cognitive) overhead. Dvorak doesn't tire out my wrists (subjective, but I switched away from Qwerty&Emacs after developing RSI when writing larger technical documentation. Never had the same problem with Vim&Dvorak, even when writing frantically day and night on my thesis.) And Vim allows me to navigate text easily. It's not about speed. It's about intuitively navigating to something quickly, without having to think about it, and to stop and completely upend my current focus because I have to hunt & peck for something with my mouse.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by oblio on Tuesday February 12, 2019 @10:34AM (#19144275)
And then you have to work on another computer with a QWERTY layout. Or a colleague comes over for pair programming or to check something.

Oooops!

I've changed my keyboard layouts in the past. My conclusion: there's value in standardization.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by adimitrov on Tuesday February 12, 2019 @10:42AM (#19144382)
It's not an issue to know both keyboard layouts. I know 3.5 layouts (QWERTY, QWERTZ, Dvorak, Bulgarian BDS.)

Colleagues have a switch. setxkbmap -option compose:ralt or whatever your DE wants you to use.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by C4stor on Tuesday February 12, 2019 @10:42AM (#19144378)
There's really no reason to disagree here.

From the person you replied to

> Never had the same problem with Vim&Dvorak, even when writing frantically day and night on my thesis

Most of the graduate students I've knew spent a lot of time working alone, and had at some point to type a lot of things already clear in their head meaning ease and speed of typing was a very important factor, keyboard sharing not so much.

And then I've observed the same things as you, it's really annoying working at the desktop of my colleagues using non standards keyboards.

So, really, it's all dependent on context, and as usual there's a right tool for a given job. Kudos to both of you for coming to correct conclusions in your given environments :-)

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by godshatter on Tuesday February 12, 2019 @12:35PM (#19145592)
I originally started learning dvorak because I was getting cramps in my hands from typing. Learning dvorak solved that. I run dvorak at home and qwerty at work, and I think switching between them helps out my hands and fingers even more. The only downside is when I first start to type something I sometimes type gibberish until I realize I'm on a different layout. For example, I originally type "G " instead of "I " when I started typing this. As far as I can tell I'm equally fast in either layout. If a friend comes over and needs to use the computer I can click on an icon in the taskbar and they are good to go.

I decided to stay with qwerty at work because I want a colleague to be able to work on my system, and switching keyboard layouts multiple times per day only causes me to type gibberish more often. And as you say, there is value in standardization.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by TeMPOraL on Tuesday February 12, 2019 @12:56PM (#19145789)
I found the sysadmin in this thread :).

If you switch machines so often you can't keep up with moving your customizations between them, by all means, learn just the defaults (but do learn them - e.g. whatever the "standard" editor IDE, learn the keyboard shortcuts). As for pair programming, switching keyboard layouts and opening a project in a different editor/IDE takes only a small fraction of the time your colleague will spend in front of your machine.

Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by hopler on Tuesday February 12, 2019 @10:09AM (#19144037)
Dvorak doesn't save time, it's not faster than qwerty given equal practice
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by chrisfinazzo on Tuesday February 12, 2019 @10:29AM (#19144222)
But given Vim's quirks, is that layout more amenable to working quickly? Given how people gripe about it in QWERTY setups, that's certainly a possibility.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by pletnes on Tuesday February 12, 2019 @10:51AM (#19144471)
Programming is much worse. In the beginning, I spent just a few hours a week programming. Today, it’s a sizeable fraction of my work week. Programming is thus a complete waste of time.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by benawad on Tuesday February 12, 2019 @10:30AM (#19144230)
short term vim slows you down, long term vim speeds you up
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by darkpuma on Tuesday February 12, 2019 @06:00PM (#19148581)
Running through vimtutor a few times one weekend does wonders. And compared to other trades, a few hours of training on a tool is pretty damn quick.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by philwelch on Tuesday February 12, 2019 @07:02PM (#19149018)
Obviously the best option is to learn vim as early as possible to maximize your return on time invested.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by porpoisely on Tuesday February 12, 2019 @11:41AM (#19145028)
Agreed. I use vim daily and really the only text processor I use. But the learning curve is pretty steep.
Re:Vim Is Saving Me Hours of Work When Writing Books and Cou... by brootstrap on Tuesday February 12, 2019 @10:43AM (#19144393)
Valid point. I have to give some updoots for VIM, (or emacs too i guess). The visual editing gives you such an advantage, i'm talking just about coding. Most of my co-workers come from science background and think VI is a joke from that crazy professor in college. I forced myself to really learn VI one summer in 2013. Since then i've been flying around my text editor.

I'm not lying, co-workers think you are a god damn wizard. I try not to be a doosh, but I have one co-worker who loves VIM but doesnt really use it (insert mode ftw). Whenever I can i try to subtly drop hints. "Instead of hitting the arrows keys over and then backspacing, you can type cw to change the word" Just little things like that. Once you realize that vim is modular and chainable, you really start to take off!