Vim As Your Editor - Introduction

ThePrimeagen
28 Oct 202212:24

Summary

TLDRThe Primogen introduces a multi-part series on mastering Vim, a highly efficient text editor. With a focus on Vim motions, the video guides viewers from novice to expert level, emphasizing the importance of understanding Vim's modes: normal, insert, visual, and command. The tutorial covers basic cursor movements, efficient text navigation, and commands like delete and yank. The speaker encourages practice and offers resources like a VimRC video and games to build muscle memory, aiming to transform text editing into a fast, intuitive process.

Takeaways

  • ๐Ÿ˜€ The speaker has been using Vim for 10 years and aims to guide viewers from novice to expert level in a multi-part series.
  • ๐Ÿ” The series will focus on Vim motions and navigating within Vim, emphasizing the efficiency of these motions across various programming environments.
  • ๐Ÿ›  The speaker advises against starting with Vim if you have no prior experience, recommending the use of Vim modes or plugins in existing editors first.
  • ๐Ÿค” Learning every single key in Vim is discouraged; instead, the speaker suggests adopting a more streamlined approach to learning.
  • ๐Ÿ”‘ Vim operates in different modes: Normal, Insert, Visual, and Command, with Normal mode being the starting point for cursor movement.
  • โžก๏ธ Basic cursor movements in Vim are done using 'h', 'j', 'k', 'l', with 'w' and 'b' allowing word-based navigation.
  • ๐ŸŽฎ Neovim users can practice motions with a built-in game that helps build muscle memory for efficient cursor movement.
  • ๐Ÿ”ข Vim motions can be augmented with counts, allowing for repeated actions, such as '8k' to move up eight lines.
  • โœ‚๏ธ The 'D' command in Vim is used for deletion, and can be combined with motions for more extensive deletions, like 'D3j'.
  • โ†ฉ๏ธ Insert mode in Vim allows for regular typing, with 'a' and 'I' being useful commands for moving the cursor within the text.
  • ๐Ÿ“‹ Visual mode in Vim is used for selecting text with motions, and 'y' (yank) and 'p' (paste) are key commands for copying and pasting.
  • ๐Ÿ”„ Yanking and deleting in Vim use the same buffer, meaning pasting with 'p' after a deletion will recover the deleted text.

Q & A

  • What is the main focus of the Primogen's series on Vim?

    -The main focus of Primogen's series is to guide viewers from being complete beginners in Vim to becoming experts, focusing on mastering Vim motions and navigating within Vim.

  • Why does Primogen recommend using Vim motions even if one is not using Vim as their primary editor?

    -Primogen recommends using Vim motions because they are extremely efficient and available in many popular editors like IntelliJ, Sublime, and VS Code, improving overall navigation and editing speed.

  • What does Primogen suggest as a starting point for someone completely new to Vim?

    -Primogen suggests that beginners should start by using Vim mode or Vim plugins in their current editor of choice, such as VS Code or IntelliJ, to get familiar with the motions before diving into Vim itself.

  • What are the four modes in Vim that the script mentions?

    -The four modes mentioned in the script are Normal mode, Insert mode, Visual mode, and Command mode.

  • What is the difference between 'yank' and 'delete' in Vim, as explained in the script?

    -In Vim, 'yank' copies the selected text to the clipboard, while 'delete' removes the text and also places it in a buffer from where it can be pasted later. Both operations use the same buffer.

  • How can one undo and redo actions in Vim according to the script?

    -In Vim, one can undo actions by pressing 'U' and redo them by pressing 'Ctrl R'.

  • What is the significance of the 'hjkl' keys in Vim as discussed in the script?

    -The 'hjkl' keys are fundamental movements in Vim, representing left (h), down (j), up (k), and right (l), allowing for cursor navigation in Normal mode.

  • What is the purpose of the 'W' and 'B' motions in Vim?

    -The 'W' motion in Vim moves the cursor forward by words, similar to holding the option key and pressing the arrow key on a Mac. The 'B' motion moves the cursor backward by words.

  • How can one navigate more efficiently in Vim according to the script?

    -The script suggests using motions with counts, such as '8k' to move up eight lines or '16j' to move down sixteen lines, for more efficient navigation.

  • What is the role of the 'visual mode' in Vim as described in the script?

    -Visual mode in Vim allows the user to highlight text using motions, after which they can perform actions like yanking (copying) and pasting.

  • What does Primogen suggest for learning Vim efficiently?

    -Primogen suggests learning Vim motions first and mastering them until they become second nature, before moving on to more advanced features of Vim.

  • How does Primogen describe the learning experience of Vim for beginners?

    -Primogen describes the learning experience of Vim for beginners as the hardest part, especially getting used to the Vim paradigm shift from mouse-oriented control to a more keyboard-centric motion system.

  • What is the 'relative line numbers' feature in Vim mentioned by Primogen and how does it help?

    -Relative line numbers in Vim shows the distance of lines from the current line, which helps in quickly jumping to different parts of the document without having to count lines manually.

  • What is the significance of the 'dd' command in Vim as explained in the script?

    -The 'dd' command in Vim deletes the current line. It can be combined with motions to delete a range of text, such as '3j' to delete the current line plus the next three lines.

  • How does Primogen recommend practicing Vim motions?

    -Primogen recommends using a game-like approach, such as the 'vim be good' game in Neovim, to practice Vim motions and build muscle memory in a fun and engaging way.

Outlines

00:00

๐Ÿ’ป Introduction to Vim Mastery Series

The speaker, Primagen, introduces a multi-part series aimed at transforming beginners into Vim experts. They emphasize the distinction between Vim as a program and Vim motions, the latter being highly efficient and available in various editors. Primagen encourages starting with Vim motions in familiar editors before diving into Vim itself, which requires customization for optimal use. The series focuses on mastering Vim motions and navigating within Vim. They also recommend using Vim mode in existing editors and provide a link to a video on Vim RC for further learning.

05:02

๐Ÿ”‘ Understanding Vim Modes and Basic Movements

Primagen explains the four essential modes in Vim: normal, insert, visual, and command mode. They detail the functions of each mode, with a focus on normal mode for cursor movement. The speaker introduces fundamental cursor movements using 'h', 'j', 'k', and 'l', and recommends becoming proficient with these. They also touch on the concept of Vim games to enhance learning and muscle memory, and briefly mention advanced movements like 'W' and 'B' for word-based navigation.

10:04

๐Ÿš€ Enhancing Vim Efficiency with Motions and Commands

The speaker demonstrates how to augment Vim motions with counts for repeated actions, such as moving the cursor up or down multiple lines. They introduce the 'D' command for deleting text, which can be combined with motions for more complex operations like deleting multiple lines or words. Primagen also covers undo and redo commands, and transitions into discussing insert mode, emphasizing the use of 'a' to append text and the various ways to exit insert mode. The paragraph concludes with a teaser for upcoming content on visual mode and yank/paste operations.

โœ‚๏ธ Mastering Visual Mode and Text Manipulation

Primagen delves into visual mode, explaining how to select text using 'V' and 'Shift-V' for character-wise and line-wise selection, respectively. They show how to yank and paste text in visual mode, highlighting the difference between pasting in character-wise and line-wise contexts. The speaker also discusses the relationship between yanking, deleting, and the paste buffer, noting that pasting with 'p' can replace the current selection with previously deleted content. They conclude by emphasizing the importance of mastering these fundamental motions and commands as a stepping stone to more advanced Vim techniques.

Mindmap

Keywords

๐Ÿ’กVim

Vim is a highly configurable text editor built to enable efficient text editing. It is known for its modal editing, which means users switch between different modes for inserting text, navigating, and manipulating text. In the video, Vim is the central theme, and the speaker discusses transitioning from a beginner to an expert in using Vim, emphasizing the efficiency of Vim motions across various programming environments.

๐Ÿ’กVim Motions

Vim Motions refer to the set of commands used in Vim to navigate through text efficiently without relying on the mouse. They are considered fundamental to mastering Vim and are extolled in the video for their efficiency, with the speaker advocating their use even in other editors that support Vim keybindings.

๐Ÿ’กNormal Mode

Normal Mode is one of the primary modes in Vim, where the user can move the cursor around without inserting text. It is the default mode when Vim starts and is essential for executing motions and commands. The video script mentions Normal Mode as the starting point for learning Vim and introduces basic cursor movements like 'j' and 'k'.

๐Ÿ’กInsert Mode

Insert Mode in Vim allows the user to type text into the document, similar to a regular text editor. The video explains how to enter Insert Mode and emphasizes the importance of understanding the transition between Normal Mode and Insert Mode for efficient editing.

๐Ÿ’กVisual Mode

Visual Mode in Vim is used for selecting text, either character by character or line by line, to perform operations such as copying (yanking) and pasting. The script demonstrates how to use Visual Mode for highlighting text and performing yank and paste operations.

๐Ÿ’กCommand Mode

Command Mode in Vim is activated by pressing ':', allowing the user to execute commands such as saving files or quitting the editor. The video script introduces Command Mode and provides examples of basic commands like 'W' for save and 'WQ' for save and quit.

๐Ÿ’กHJKL

HJKL refers to the keys used in Vim for basic cursor movement in Normal Mode: 'h' for left, 'j' for down, 'k' for up, and 'l' for right. These keys are highlighted in the video as fundamental to Vim navigation and are part of the 'home row' movement-centric approach of Vim.

๐Ÿ’กVimrc

Vimrc is a configuration file for Vim that allows users to customize their Vim environment. The video script mentions a separate video on Vimrc, indicating its importance in configuring Vim to suit individual needs and preferences.

๐Ÿ’กYank and Paste

Yank and Paste are operations in Vim for copying and inserting text. The video script explains how to use these commands in Visual Mode, demonstrating the process of selecting text and then pasting it elsewhere in the document.

๐Ÿ’กDelete

The 'D' command in Vim is used for deleting text. The video script explains how to use 'D' in combination with motions to delete lines or words, emphasizing the power of combining commands and motions for efficient text manipulation.

๐Ÿ’กUndo and Redo

Undo and Redo are operations in Vim to revert or reapply changes made to the text. The video script mentions the 'U' command for undoing changes and 'Ctrl R' for redoing, which are crucial for correcting mistakes during the editing process.

๐Ÿ’กRelative Line Numbers

Relative Line Numbers is a feature in Vim that displays the distance of lines from the current line, aiding in navigation. The video script suggests using relative line numbers to enhance the ability to jump around the document effectively.

Highlights

Introduction to a multi-part series aimed at transforming users from Vim novices to experts.

Differentiation between Vim the program and Vim the Motions, emphasizing the efficiency of Vim motions across various editors.

Personal preference for configuring Vim to suit individual needs for optimal utility.

Recommendation to start learning Vim motions with existing editors before transitioning to Vim itself.

The importance of not trying to learn every key in Vim at once, but rather adopting a more gradual approach.

Highlighting the challenge of transitioning from mouse-oriented control to Vim's home row motion-centric paradigm.

Explanation of Vim's modal editing concept, focusing on Normal, Insert, Visual, and Command modes.

Basic cursor movement techniques in Normal mode using hjkl keys.

Introduction of Vim's game for practicing cursor movements and building muscle memory.

The concept of motion commands in Vim, including word hopping with 'W' and walking backwards with 'B'.

Augmenting motion commands with counts for multiple actions, such as 8K to jump up eight lines.

Combining the 'D' command with motion to delete text, like D3J to delete three lines down.

Undo and redo functionalities in Vim with the 'U' and Ctrl+R (or 'Ctrl+Y') commands.

Entering Insert mode with 'I' and the various ways to exit it, including Escape and Ctrl+[.

The use of 'a' to append text after the cursor and its frequent utility in day-to-day editing.

Visual mode's functionality for selecting text using motions and performing yank and paste operations.

Differences between using yank in Visual mode and yanking without selection, and the implications for pasting.

The peculiar behavior of 'P' to paste the last deleted content, showcasing Vim's unique buffer system.

Encouragement to practice Vim motions until they become second nature for efficient and fast editing.

The series' aim to demystify Vim and make it feel like a game with smooth and fast editing capabilities.

Transcripts

play00:00

my name is the primagen and I've been

play00:01

using Vim for about 10 years and I

play00:03

wanted to take the time to build a

play00:04

series in which could lead you from

play00:06

someone who doesn't know anything about

play00:08

Vim to someone who could become an

play00:10

expert at using Vim now this is going to

play00:12

be a multi-part series in which each

play00:14

One's Gonna add to the next one and

play00:16

it'll get you progressively faster as

play00:18

you go and I do want to make a

play00:20

separation right away there is vim the

play00:22

program and Vim the Motions now Vim

play00:25

motions I don't understand why anyone

play00:27

who is programming does not use those

play00:28

those are extremely efficient and

play00:31

they're very well done and they're

play00:32

available in IntelliJ Sublime Even Adam

play00:35

vs code anything you want to use they

play00:38

have them but Vim the editor I

play00:39

understand why that may not be as

play00:41

appealing you have to kind of want to be

play00:43

able to configure and create your own

play00:44

environment to exactly your own needs

play00:47

for them to be super useful and so this

play00:49

a few part series is going to be focused

play00:51

on making you awesome at Vim motions and

play00:54

navigating some things within Vim I'll

play00:56

try to separate them out so if you're

play00:57

just not interested in Vim itself that's

play00:59

how okay but if you are interested more

play01:02

in using Vim I have a video on your Vim

play01:04

RC which you can go check out right now

play01:06

links down in the description and as you

play01:09

pass by that like button give it like a

play01:11

little bit of coconut oil appreciate it

play01:12

all right so right away I do not think

play01:14

that you should start out in Vim if you

play01:16

have no familiarity with Vim I really do

play01:19

think you should continue to use vs code

play01:21

if that's what you're using IntelliJ if

play01:22

that's what you're using whatever editor

play01:24

you're currently using use the Vim mode

play01:26

or the Vim plugin now I think one of the

play01:28

big mistakes when learning Vim is that

play01:30

you try to learn every single key

play01:32

possible all the different shortcuts and

play01:35

then you're just sitting sitting there

play01:36

just like mentally grinding to try to

play01:38

find the most optimal one in every

play01:40

single moment that sounds exhausting so

play01:42

that's why I just took a much different

play01:43

approach myself to learning it and I'm

play01:45

gonna try to give you that exact same

play01:47

approach that I took 10 years ago

play01:49

alright so one last kind of preface this

play01:51

will be the hardest of all the videos

play01:53

because the getting started is the

play01:55

hardest because you're going from a

play01:56

paradigm of using the mouse and being

play01:58

much more kind of click and control

play01:59

oriented into using something like Vim

play02:02

which is just much more home row motion

play02:04

Centric now I know that a lot of you are

play02:06

probably using vs code I hear if you hit

play02:09

the Subscribe button right now it

play02:11

actually makes learning easier go check

play02:13

the comments people will say that trust

play02:15

me it makes it easier all right so the

play02:17

first thing you need to know about Vim

play02:18

is that it's a model editor whether

play02:20

you're using it in vs code or Vim itself

play02:22

you are in various modes and there's

play02:24

four modes that you really need to be

play02:26

concerned about first off the mode that

play02:28

you're in right away is normal mode it

play02:30

just means that I can move my cursor

play02:31

around second mode is insert mode you

play02:34

can see it right down here says insert

play02:36

that just means I can type like a

play02:37

regular editor hit all the enters do

play02:39

everything that it will it'll try to

play02:41

Auto indent and do the best job it can

play02:43

third is visual mode you can see right

play02:44

down here again I'm in visual line mode

play02:46

as I move it's kind of like highlighting

play02:48

with your cursor and of course the

play02:49

fourth mode is command mode if I press

play02:51

colon you'll notice right here that a

play02:53

colon appears and my cursor actually

play02:55

appears on this line I can now type out

play02:57

some commands a command you should know

play02:59

is W colon W enter will save the current

play03:03

file colon WQ will attempt to quit now I

play03:06

know I ruined all the memes but guess

play03:08

what the memes are still funny I

play03:10

actually still like him 10 years later I

play03:12

still enjoy can't quit Vim memes all

play03:15

right so let's go over each of the modes

play03:17

in detail all right so normal mode the

play03:19

mode you can move your cursor around the

play03:21

most foundational movements you need to

play03:23

know is j and k k will obviously go

play03:25

upwards J will go downwards I have my

play03:27

keystrokes right here so you can watch

play03:29

them happen L is going to go this way

play03:31

and H is going to go this way now these

play03:33

are the most fundamental movements I do

play03:35

recommend getting pretty dang good with

play03:37

them now if you have neovim I actually

play03:39

built the game for the zigzags thing so

play03:42

if you do command mode Vim be good you

play03:45

will get a game if you navigate down

play03:46

with your JS all the way down to hjk and

play03:50

L press d d to delete that line it will

play03:52

start a game for you where you can

play03:54

actually walk around to each one of

play03:56

these and then press X to delete it X on

play03:58

the X and this right here will just help

play04:01

you get good and just kind of build that

play04:03

muscle memory in super quick without

play04:04

making it feel so boring as trying to

play04:06

use the text editing program but instead

play04:08

you got a little quick game really just

play04:09

helps you make that connection with

play04:11

those keys if you don't know how to do a

play04:12

plug-in again I have that vimrc video

play04:14

which I have linked down below but

play04:15

you'll quickly realize that hjk L is

play04:18

just not enough right that H and L is

play04:20

really inconvenient you just like hold

play04:22

it and slowly go over that would just

play04:24

melt my mind now I told you Vim is fast

play04:27

it is smooth it blows people away when

play04:30

you see someone who is really good at it

play04:31

use it so obviously L can l and H can't

play04:34

be the last of your movements so the

play04:36

last two I really wanted to show you was

play04:37

W which hops over by word something

play04:40

equivalent of like holding option I

play04:41

think on Mac and pressing the arrow key

play04:43

and B the opposite walks backwards so

play04:46

those movements are called motion

play04:48

emotion is anything that moves the

play04:51

cursor all right so I wanted to go over

play04:52

the anatomy of emotion so right now all

play04:56

we've been focusing on is this part

play04:57

right here hjklwb

play04:59

those are motions they move the cursor

play05:01

but did you know that you can kind of

play05:03

augment them meaning that if we add a

play05:05

count to it it'll be performed multiple

play05:07

times so check this out so you can see

play05:09

about eight lines up there is a to-do

play05:11

line right up there which if I press 8K

play05:13

I will jump my cursor eight times up to

play05:16

that to do line if I want to go back say

play05:19

all the way down to the return statement

play05:20

16 lines down I can go 1 6 J you can see

play05:23

right here I did 16j and my cursor

play05:25

landed on the return statement right

play05:27

there yes you're probably impressed with

play05:29

my Vanna White level pointing skills I

play05:31

know you can't train it you're born with

play05:33

it again if you have been be good uh I

play05:35

did do another one of these games right

play05:37

down here so if you go all the way down

play05:39

to relative you turn on relative line

play05:41

numbers inside your vmrc you can do you

play05:43

know six down you can just practice the

play05:45

deleting game so that you can get good

play05:47

at jumping around while deleting

play05:49

relative line numbers have helped me in

play05:51

enormous amounts so I highly recommend

play05:54

you getting used to jumping around with

play05:56

relative line numbers obviously counts

play05:58

work with all the other motions so I can

play05:59

technically go like 10 L but that'd be

play06:01

weird or 2B also that would be weird

play06:04

that sounds like way too much overhead

play06:06

to try to count how many jumps you have

play06:08

I would not use that as a way to move

play06:10

around in Vim all right so let's add a

play06:12

little bit more let's talk about

play06:13

commands you can do I want to focus

play06:15

right now just on the D command d stands

play06:18

for delete meaning that if I wanted to

play06:20

delete a line I can press d d that will

play06:22

just simply delete a singular line I

play06:25

press U to undo that delete I can press

play06:28

Ctrl R to redo my previous action so U

play06:31

is like control Z control R is like

play06:34

control y D's can be used with motion

play06:36

just like I said we can do a command

play06:38

account and a motion so jumping back

play06:40

here if I'm on this line right here and

play06:42

I want to delete all the way down to the

play06:45

return statement but not the return

play06:46

statement what I can do is I can go D 3

play06:49

J I have deleted my current line plus

play06:52

three down below me that means I can

play06:54

also go delete word that's how you would

play06:56

delete a single word delete two word you

play06:59

could delete two two words if you really

play07:00

want to again I don't do the whole two

play07:02

with words or back or any of those that

play07:04

means you can do DB and delete backwards

play07:06

so D is a command you can mix with a

play07:08

motion hopefully you're starting to

play07:10

understand and you're happy that I kind

play07:12

of went over the anatomy of emotion

play07:13

because this should start making sense

play07:15

okay I can move the cursor and I can

play07:17

delete move the cursor all right so

play07:19

let's talk about insert mode now first

play07:21

off I want you to look at where my

play07:23

cursor is right up here now this cursor

play07:25

of course is fat it has you know care it

play07:28

covers an entire character it's just

play07:31

something I've gotten used to uh some

play07:32

people when they go into insert mode

play07:34

their cursors can become thin I never

play07:36

like that so don't be taken back by this

play07:38

as you watch me go but if I press I I go

play07:41

on the left side of my cursor for insert

play07:43

mode so as you can see I pressed I to go

play07:46

into insert mode and then I just started

play07:47

typing and boom these characters come

play07:49

here now we can leave insert mode by

play07:51

pressing escape you can also press Ctrl

play07:54

C and you can also press Ctrl Open

play07:56

Bracket control Open Bracket and Escape

play07:58

are the same control C does have some

play08:00

minor variations to it mostly in visual

play08:02

block mode that cause some weirdness to

play08:04

it so you got to know which one you like

play08:06

alright so you can press U to undo of

play08:08

course now if I press a you'll notice

play08:11

that it moves my cursor but I'm in

play08:13

insert mode so now as I type I'm on the

play08:16

other side of the zero now you're

play08:18

thinking okay when would you actually do

play08:20

you actually ever need that you'd be

play08:22

surprised at how often pressing a to

play08:24

move forward like how often you actually

play08:26

use that a and I become something that

play08:29

you should just use all the time it's

play08:30

very very surprising so I'm going to

play08:32

leave insert mode undo it there we go

play08:34

there's a bunch of other ways to enter

play08:35

into insert mode but I think you should

play08:37

really just get used to that right now

play08:40

we're about few options even if it's

play08:43

inconvenient you need to learn the

play08:45

basics and move fast all right so let's

play08:46

move on to the last part visual mode so

play08:49

this one I'm actually going to show you

play08:50

how to use yank and paste in visual mode

play08:52

so visual mode has two primary ways

play08:55

you're going to use it if you press V

play08:56

you'll go into visual mode down here

play08:58

that means I can use any of the Motions

play09:00

that I've learned so far so I can press

play09:01

W and you'll notice that it's like

play09:03

highlighting as it's go as it's going

play09:05

this is effectively like using your

play09:07

mouse and dragging it and highlighting a

play09:09

region at this point I could copy and

play09:11

paste so normally you'd press probably

play09:12

Ctrl C or command C if you're on one of

play09:14

those fills drinking coffee Max

play09:17

but in Vim you just press y y Yanks it

play09:21

now if I press p i will paste it as you

play09:23

can see I paste it now notice something

play09:25

it's not giving me a new line it's

play09:27

facing the exact contents of what I

play09:30

yanked so let's undo it with you undo

play09:33

undo undo and this time let's use shift

play09:35

V we'll go into visual line mode now

play09:38

when I yank this if I paste it I

play09:40

actually get that new line at the end a

play09:42

little bit more convenient so you kind

play09:44

of got to know which one you want to do

play09:45

let's do a little bit of comboing so

play09:47

what I can do is I can actually

play09:48

highlight I can yank it I can jump down

play09:51

here and I can highlight this and I can

play09:53

paste it so you can paste over a

play09:56

highlighted region but I'm going to show

play09:57

you something that's a little bit weird

play09:59

what do you think happens if I press P

play10:01

now well I get the last thing I deleted

play10:04

so that means if you press d d and

play10:06

delete a line and you press P you

play10:08

actually paste the last thing you

play10:10

deleted so yanking and deleting goes to

play10:12

the same buffer and again if you

play10:14

highlight a bunch of stuff and you paste

play10:16

it you'll delete all of that at and then

play10:18

paste over it with the contents you have

play10:19

in your paste buffer and now when I

play10:21

press p i get all the previous things I

play10:23

deleted and

play10:24

you can use yanking just by itself so I

play10:26

can press y y you don't have to

play10:28

highlight first to use yanking now if

play10:30

you remember the anatomy of emotion I

play10:32

did show you that you can do a command

play10:34

account and the motion so I can do yank

play10:37

say five and down I just yanked all the

play10:41

way to this offset line right here so

play10:42

now when I press P you'll notice I got

play10:44

those five lines and I was able to paste

play10:46

them all which means I can also do the

play10:48

exact same thing with d d5j and I can

play10:51

paste the things that I just got done

play10:53

deleting down below now I really wanted

play10:56

to stress this and I wanted to make sure

play10:58

you had the time to hear me on this one

play11:00

which is this is going to be the hardest

play11:02

of all the lessons if you are new to Vim

play11:05

this is the hardest part learning how to

play11:07

do hjk L learning how to do relative

play11:10

jumps kind of getting your feet wet with

play11:12

that Vim RC which is still linked down

play11:14

below like it's just a lot of

play11:15

information it is very difficult so if

play11:18

you're using vs code don't feel bad just

play11:20

keep using vs code that's what I did

play11:22

when I was gonna use Vim as my editor I

play11:24

actually started It Off by using idea

play11:26

Vim the IntelliJ plug and I used that

play11:28

for years I got really good at the

play11:30

motions and then moved over so once you

play11:33

feel like you've really mastered these

play11:34

motions and they don't feel hard for you

play11:36

to think about they feel very second

play11:38

nature you gotta move on to the next

play11:41

part of this series I don't know how

play11:42

many videos this series is going to be

play11:44

somewhere between three to five but I am

play11:46

hoping to give you a very detailed way

play11:48

to make Vim as your editor and mostly I

play11:50

just hope that you feel encouraged

play11:51

because you know what when I use Vim as

play11:53

my editor it almost feels like a game

play11:55

because I have all these combos that I'm

play11:57

doing I can move really really fast and

play12:00

I have the ability to do a lot without

play12:02

having to think too much I really do

play12:04

like the idea of making everything

play12:06

second nature to the point where you

play12:08

don't think about editing the text you

play12:10

just edit it really fast and that's the

play12:13

coconut oil goodness that I'm trying to

play12:14

give you okay if you want to be smooth

play12:16

and sliding around you just gotta Master

play12:18

the fundamentals okay practice for a

play12:20

week and come back for part two the name

play12:22

is the primogen

Rate This
โ˜…
โ˜…
โ˜…
โ˜…
โ˜…

5.0 / 5 (0 votes)

Related Tags
Vim TutorialCoding EfficiencyVim ExpertiseText NavigationVim ModesInsert ModeVisual ModeCommand ModeVim MotionsNeovim Game