What's the best way to learn it?

What's the best way to learn it?

Other urls found in this thread:

vimgolf.com/
youtube.com/watch?v=wlR5gYd6um0
youtube.com/watch?v=XA2WjJbmmoM
youtube.com/watch?v=3TX3kV3TICU
learnvimscriptthehardway.stevelosh.com/
twitter.com/NSFWRedditVideo

Use it to write stuff

start using it
pick up some tricks as you go
twenty years later your a depressed alcoholic vim master

It literally comes bundled with an interactive tutorial, runs as vimtutor. man vimtutor

Lean by doing. Goes for *nix in general as well.

Just keep on using it. Use it to write notes, code, I even have the cVim extension in Chrome just for shits. Go through vim tutor once every few days. You'll only learn Vim by using it, honestly.

C-h i evil

this.
Just learn the most basic stuff and if you feel like there is something missing for you then google for it. It will be possible with vim

How to use

>g?

For encrypted ROT13 test?

/thread

vimtutor
use it
test lines from other vimrc in your vimrc.

the vimrc is a big part of what makes vim very useful

ViM golf: vimgolf.com/

Just don't infest it with plugins until you get to know the vanilla way for most things. Not that the vanilla way is always better, just that a lot of people just put plugins to emulate their old editor and thus don't really get to use the vim "correctly"

What the others said. Don't install useless plugins right away or copy someone else's vimrc. Although there are some basics you might want. Also make sure you know what a buffer is in vim (takes 1 min to figure out). Other than that you can always use :h command and also search the help buffer with /.

Vim navigation only gets comfier with time.

Start mashing buttons on your keyboard.

This.

But if you are not a virgin, don't bother

Type vimtutor in the terminal

Vim without plugins is very limiting compared to other editors.
Vim with plugins is a timesink compared to other editors.
What setup have you stolen that works good enough as a base?

>Vim with plugins is a timesink compared to other editors.
"""Visual Studio Code""" soyboy detected.

Not really, but loads of featured are disabled by default.

The only plugins i use are fzf, ag and rooter.

these

>Vim without plugins is very limiting compared to other editors.
macros are great desu

>Vim without plugins is very limiting compared to other editors.
What do other editors have that vim doesn't?

>tabs
vim *.?pp -p
>line numbers, syntax highlighting and autoindent
set number
set autoindent
syntax on
>le doesn't tell you where the functions at, like in visual studio
/[function name]() and press n until it's found

>C-C-CANT COMPILE
:!make

Install Gentoo

No other text editors allowed during the installation

Watch these videos but ignore titles, these are great for beginners just make sure you watch them in this exact sequence:
Mastering the Vim Language youtube.com/watch?v=wlR5gYd6um0
How to Do 90% of What Plugins Do (With Just Vim) youtube.com/watch?v=XA2WjJbmmoM
Let Vim Do the Typing youtube.com/watch?v=3TX3kV3TICU

After that you memorize the pic. Then move beyond and read Learn Vimscript the Hard Way by Steve Losh learnvimscriptthehardway.stevelosh.com/

go through vimtutor.
stick this cheat sheet up behind your monitor.
Go to vimcasts.org and watch the videos starting from the oldest.

never do things the easy familiar way, always try to minimise keystrokes and do things the 'correct' way. (e.g. scrolling using Ctrl-U/Ctrl-D, and using L, M and H, not just holding j/k.) Soon this becomes muscle memory and you become fast.

Do vimtutor again.

This is how to learn vim.

Just adding that if you use the cheat sheet from the start, you will have muscle memory for all the keys. People who say they don't use ; or _ or * or % are using vim wrong. Use every key regularly.