Vim is a powerful text editor that improves coding speed & efficiency through its shortcut-based Vim language. While learning Vim can be challenging, it is a valuable skill that can enhance your career as a computer professional.
I saw the video by noBoilerplate.
How useful is knowing and using Vim-Shortcuts when writing a letter or an email?
Does it only make sense to learn it if you write or code all day or is it useful enough for moderate tech users or office workers?
I’d love to say yes, but I really don’t think it’s worth the time in that scenario. Learn keyboard layering instead; much less time consuming and probably better for normal E-Mail writing et al. Check out dreymar’s extend, which is extremely useful and can be used on any platform with any keyboard layout: https://dreymar.colemak.org/layers-extend.html
Emacs is like an operating system bringing various tools into the same editing interface, including email. Emacs is very adaptive, you can get VIm like bindings through evil-mode.
It’s very good for navigating and editing text quickly, and fantastic for situations like “I need to do the same thing 100 times” with things like macros. Coders are frequently opening a big, complex file, jumping around it a lot, changing big and small parts of it, and doing repetitive tasks. For something more like writing out thoughts for an email, editing them slightly, then being done with that text forever, there aren’t as many advantages, you’re spending most of your time in “insert” mode which is effectively “normal text editor that people are used to” mode. That said, it’s one of those things where when you do get used to it and start to enjoy it instead of being frustrated by how different it is, you start wanting it wherever you have to type anything.
The best way I’ve heard it described is that learning all of the motions, shortcuts, commands, etc is the best way to remove all of the possible friction between you having a thought and you putting that thought into text.
It’s like using Word and learning that CTRL+B toggles Bold. You don’t NEED to know that, you can click the bold icon. The extra 2 seconds that it took to grab the mouse and click the icon and then move your hand back to the keyboard seems trivial, but if you’re doing a lot of writing that can add up to a lot.
In addition, having to stop your train of thought in order to fiddle with a GUI can cause lapses in concentration. Constantly having to stop typing in order to fiddle with a GUI is annoying and requires you to switch context from what you were typing to looking for the icon or menu that you need to click.
Multiply that by everything else you need to do in editing text (moving the cursor to different places, selecting text, finding text, opening and saving documents, etc. That’s a lot of time that you’re spending messing around with a mouse and GUI annoyances.
Also, if you’re using Linux, a lot of tools use vim keys as their interface. So learning the basics (mostly hjkl for moving, / for searching, etc) can help you in a lot of programs.
For example, I’m using vimium in Firefox, so I can operate the entire browser without using the mouse. Press f and all of the links and form fields on the page are tagged with a 2 letter combination, pressing those two letters is like clicking the link/field. I can access shortcuts, open bookmarks, etc all without needing my mouse. In addition, the browser has hotkeys for tab manipulation (ctrl t for new tab, ctrl f4 to close tab, ctrl shift t to re-open/undo last closed tab, etcetc).
I try to have all of my programs be keyboard driven (and use a lot of terminal applications where possible). Vim keys and motions, in all of the various programs that use them, along with the shortcuts from the window manager (everyone knows alt + tab, but there are many more) and even individual applications make that possible (except for Freetube, which requires the mouse :/).
Overall, I would say that it’s not a requirement, but if you’re willing to spend a week or two learning (and moving very slow as you force yourself to learn and use the keys) then I think you’ll have a better time in Linux.
Also, it feels pretty ‘90s hacker movie hacker’ to just flail on the keyboard and have things happen on your PC.
I saw the video by noBoilerplate. How useful is knowing and using Vim-Shortcuts when writing a letter or an email? Does it only make sense to learn it if you write or code all day or is it useful enough for moderate tech users or office workers?
I’d love to say yes, but I really don’t think it’s worth the time in that scenario. Learn keyboard layering instead; much less time consuming and probably better for normal E-Mail writing et al. Check out dreymar’s extend, which is extremely useful and can be used on any platform with any keyboard layout: https://dreymar.colemak.org/layers-extend.html
That would be Emacs.
Emacs is like an operating system bringing various tools into the same editing interface, including email. Emacs is very adaptive, you can get VIm like bindings through evil-mode.
I would Emacs, but my pinky can’t.
It’s very good for navigating and editing text quickly, and fantastic for situations like “I need to do the same thing 100 times” with things like macros. Coders are frequently opening a big, complex file, jumping around it a lot, changing big and small parts of it, and doing repetitive tasks. For something more like writing out thoughts for an email, editing them slightly, then being done with that text forever, there aren’t as many advantages, you’re spending most of your time in “insert” mode which is effectively “normal text editor that people are used to” mode. That said, it’s one of those things where when you do get used to it and start to enjoy it instead of being frustrated by how different it is, you start wanting it wherever you have to type anything.
The best way I’ve heard it described is that learning all of the motions, shortcuts, commands, etc is the best way to remove all of the possible friction between you having a thought and you putting that thought into text.
It’s like using Word and learning that CTRL+B toggles Bold. You don’t NEED to know that, you can click the bold icon. The extra 2 seconds that it took to grab the mouse and click the icon and then move your hand back to the keyboard seems trivial, but if you’re doing a lot of writing that can add up to a lot.
In addition, having to stop your train of thought in order to fiddle with a GUI can cause lapses in concentration. Constantly having to stop typing in order to fiddle with a GUI is annoying and requires you to switch context from what you were typing to looking for the icon or menu that you need to click.
Multiply that by everything else you need to do in editing text (moving the cursor to different places, selecting text, finding text, opening and saving documents, etc. That’s a lot of time that you’re spending messing around with a mouse and GUI annoyances.
Also, if you’re using Linux, a lot of tools use vim keys as their interface. So learning the basics (mostly hjkl for moving, / for searching, etc) can help you in a lot of programs.
For example, I’m using vimium in Firefox, so I can operate the entire browser without using the mouse. Press f and all of the links and form fields on the page are tagged with a 2 letter combination, pressing those two letters is like clicking the link/field. I can access shortcuts, open bookmarks, etc all without needing my mouse. In addition, the browser has hotkeys for tab manipulation (ctrl t for new tab, ctrl f4 to close tab, ctrl shift t to re-open/undo last closed tab, etcetc).
I try to have all of my programs be keyboard driven (and use a lot of terminal applications where possible). Vim keys and motions, in all of the various programs that use them, along with the shortcuts from the window manager (everyone knows alt + tab, but there are many more) and even individual applications make that possible (except for Freetube, which requires the mouse :/).
Overall, I would say that it’s not a requirement, but if you’re willing to spend a week or two learning (and moving very slow as you force yourself to learn and use the keys) then I think you’ll have a better time in Linux.
Also, it feels pretty ‘90s hacker movie hacker’ to just flail on the keyboard and have things happen on your PC.