Why Should You Learn Vim

  Рет қаралды 5,805

Sebastian Daschner

Sebastian Daschner

Күн бұрын

You might have noticed, that I’m a big fan of Vim. But that’s not so much because of the editor - in fact I wouldn’t consider Vim an optimal editor environment - as it is for the Vim way of typing. In this video, I’m showing you what makes the Vim way of typing so efficient, why learning Vim was the biggest productivity improvement in my career, and how it can help you if you don’t want to use the Vim editor.
For more information see: blog.sebastian-daschner.com/e...
Developer Productivity Masterclass: www.sebastian-daschner.com/co...

Пікірлер: 25
@rmatveev
@rmatveev 10 ай бұрын
Great explanation, Sebastian! This maked me wish to learn this ASAP. I had some experience on the past: - learning the blint 10-thinger printing - learning of using the laptop keyboard without dedicated PgUp, Dn, Home and End keys. So I think that I will get accustomed to it as well )
@Lyosha.
@Lyosha. Жыл бұрын
that looks fun! now I'll go google what vim is =)
@svenwindpassinger2170
@svenwindpassinger2170 9 ай бұрын
How do You enclose some existing text in p.e. () My was at the moment is: mark d()P. But I'm sure there is a better way. Thx Sven
@ghost91827
@ghost91827 Жыл бұрын
I do like the idea that fingers should stay on the home row. But I don't like Vim key mapping (especially h,j,k,l for navigation which is not intuitive, especially when moving 'up').

 So I'm using my own mapping when holding/pressing CapLock enables a "second layer" where i,j,k,l keys work as arrow keys ↑←↓→. Moreover, Enter is mapped to `;`, Escape to `a`, and so on. It takes some time to get used to but benefits I see: 1) fingers stay on the home row 2) it works in ANY application (thanks to Karabiner-Elements)
@SebastianDaschnerIT
@SebastianDaschnerIT Жыл бұрын
I see your point. In fact this is quite similar to what certain keyboards such as the Ultimate Hacking Keyboard do with their extra modifier key
@pillmuncher67
@pillmuncher67 10 ай бұрын
The reason vi/vim/nvim use h/j/k/l has nothing to do with ergonomics. The real reason is that Bill Joy was using a DEC VT100 terminal which didn't have specialized cursor keys, but used Ctrl-h/j/k/l for cursor movement. It even had arrows printed on these keys. Since vi was modal, Bill Joy just got rid of the Ctrl. Also: Always keeping your hands in the same position is really bad for them. Just like always sitting in the same position is bad for you.
@jbresesti
@jbresesti Жыл бұрын
I replace esc with jk to make shorts moves . How is the best way to put the cursor in a x,y point on the screen? I find some plugins for do that but use the mouse looks the best way, and this is not the vim way...
@SebastianDaschnerIT
@SebastianDaschnerIT Жыл бұрын
I've also started out with 'jk' but found the Esc placement on the Caps Locks key a better fit. For x,y jumps I'm using the relative line numbering, then you can easily see where you need to jump, e.g. 4k for '4 lines up'
@fabricehategekimana5350
@fabricehategekimana5350 Жыл бұрын
Now I use ctrl+c to escape. It's easier that way and work almost everywhere without any remap. For the x.y cursor I propose you to try some plugin like leap.nvim or vim-sneak that help you jump to word by pressing their first two character (and function like the browser extension for the rest). It's more an object based movement than a coordinate move, but it do the job correctly
@prabaldev1580
@prabaldev1580 Жыл бұрын
i think it is good to KNOW it so that one can use it where there is only vim. However, with modern IDEs, and other note-taking s/w where i want to be able to see markdown render while i type, vim isn't the one i would like to use.
@SebastianDaschnerIT
@SebastianDaschnerIT Жыл бұрын
You can use a modern IDE with a Vi mode plugin (which is what I use), so you get best of both worlds, IDE functionality and typing efficiency
@vlads2485
@vlads2485 Жыл бұрын
I love a way of typing in VIM, but can't switch to it completely, since it doesn't provide all the autocompletions and integrations that I need as Java engineer, so mostly using to edit config files. I'm wondering if you tried "Vi/Vim" mode plugin in IDEA and how it worked for you?
@SebastianDaschnerIT
@SebastianDaschnerIT Жыл бұрын
Yes, I think it's one of the best combinations, to use an IDE with Vi/Vim plugin. I'm using IdeaVim all the time and am very happy with it: blog.sebastian-daschner.com/entries/my-favorite-ideavim-features
@user-qg3xw5kl9b
@user-qg3xw5kl9b 8 ай бұрын
I like ideavim
@JamesSmith-ix5jd
@JamesSmith-ix5jd Жыл бұрын
Just another procrastination sink hole, don't go there, learn to touch type at 120wpm, that will be enough for the rest of your life and quick typing works on any computer you will ever encounter.
@SebastianDaschnerIT
@SebastianDaschnerIT Жыл бұрын
I politely disagree 🙂 If you type out the text right away (without jumping around or correcting) then maybe, but especially reading text/code and navigating in your editor is significantly faster. At the end, that's for everyone to decide, but I can tell, the Vim way of typing was a huge productivity boost. Enless Vim editor/plugin configuration -> yes, agree, procrastination hole; learning the Vim way of typing (with what's shipped in Vi/Vim) -> long term investment; my 0.02€ 🙂
@aucusticguitar8069
@aucusticguitar8069 8 ай бұрын
HELP I CANT CLOSE VIM
@meowzhin
@meowzhin Жыл бұрын
Nah, VSCode is still faster.
@SebastianDaschnerIT
@SebastianDaschnerIT Жыл бұрын
I tend to disagree :) The combination of the Vim way of typing inside an IDE (i.e. using via Vim plugin) is probably the fastest
@prabaldev1580
@prabaldev1580 Жыл бұрын
@@SebastianDaschnerIT how much time do we really spend writing? While coding a project, most of the time is spent "reading" code and only a little time is spent on actually copy-pasting and making changes / modifying etc. There are usually very less bursts of continuous typing moments.
@SebastianDaschnerIT
@SebastianDaschnerIT Жыл бұрын
I do type a lot of code, still. And also I type a lot of technical stuff in general, documentation, articles, blog posts, I wrote my book in Vim... It was and is a huge difference for me
@meowzhin
@meowzhin Жыл бұрын
I'm being honest. Never seen the so called benefits from anyone who preaches vim. It's always benchmarks... "Oh, look at this X seconds... Y minutes." At the end of the week, month, year? negligible. But it's preference. I find it very useful when you're accessing remote servers, for example, for daily work? Not so much.
@SebastianDaschnerIT
@SebastianDaschnerIT Жыл бұрын
And that's totally fine :) For me, I do notice a big difference, how seamless it feels and how much mental energy I spend while typing. That's the reason why I'm sharing this content. But everyone is different
@paperclips1306
@paperclips1306 11 ай бұрын
someone trying to optimize hand movements to save time . that's the principle of capitalism.
Using Maven Efficiently
28:18
Sebastian Daschner
Рет қаралды 6 М.
10 Advanced Vim Features (You Probably Didn't Know)
21:47
Sebastian Daschner
Рет қаралды 69 М.
ПРОВЕРИЛ АРБУЗЫ #shorts
00:34
Паша Осадчий
Рет қаралды 7 МЛН
لقد سرقت حلوى القطن بشكل خفي لأصنع مصاصة🤫😎
00:33
Cool Tool SHORTS Arabic
Рет қаралды 28 МЛН
Gym belt !! 😂😂  @kauermotta
00:10
Tibo InShape
Рет қаралды 18 МЛН
Why learn LUA?
6:24
Kodaps Academy
Рет қаралды 9 М.
Vim vs NeoVim, What's the Difference?  Which Should You Use?
10:29
Mental Outlaw
Рет қаралды 316 М.
i tried Vim...
10:06
Alex Ziskind
Рет қаралды 42 М.
The Making of Vim: One of the Text Editors of All Time
7:20
ForrestKnight
Рет қаралды 15 М.
Why Everyone Should Start Using Vim
17:48
NeuralNine
Рет қаралды 14 М.
Why You Want to Code With Quarkus in 2023
18:21
Sebastian Daschner
Рет қаралды 21 М.
Why Neovim nerds are so obsessed with the terminal
6:44
Joshua Morony
Рет қаралды 83 М.
Mastering the Vim Language
36:20
thoughtbot
Рет қаралды 608 М.
Learning Vim in a Week
23:51
thoughtbot
Рет қаралды 463 М.
Nano Or Vim? Which Terminal Text Editor Should You Use?
20:44
DistroTube
Рет қаралды 71 М.
Samsung laughing on iPhone #techbyakram
0:12
Tech by Akram
Рет қаралды 7 МЛН
My iPhone 15 pro max 😱🫣😂
0:21
Nadir Show
Рет қаралды 1,7 МЛН