Let Vim Do the Typing

preview_player
Показать описание
George Brocklehurst shows Vim's various built-in completion mechanisms. This will let us let Vim do the typing, writing fewer typos and faster!

Learn more from the developers at thoughtbot ⌨️
Рекомендации по теме
Комментарии
Автор

Overview: In insert mode you can...

^r = insert text from a register
^a = insert text from register '.'
^p = completion menu
^x = special "completion mode" submode of insert
- - ^] = tag
- - ^p = pull from previous context
- - ^n = pull from next context
- - ^f = file completion
- - ^l = line
- - ^o = omnicompletion

How to change where to complete from:
set complete

IanEdington
Автор

How nice to watch a video where 8 minute in I'm already thinking "This was time well spent". Awesome!

VernonSwanepoel
Автор

The speaker deserves some kind of an award for showing CTRL + r and CTRL + a

ombieautopilot
Автор

I watched this about a year ago and nothing made sense. This time everything seemed so clear. Vim is a never ending learning journey. If you don't understand what's happening here don't worry. Add it to your "watch later" playlist and come back in a while.

diegorodriguezv
Автор

Not a coder, but a novelist looking to rework my workflow away from documents and into text files. Been learning vim recently and, honesty, it has been a revelation. And this talk just upped my vim game a few levels. Thank you.

theena
Автор

Vimgolf is a great way to pick up many of these shortcuts, but it was really nice to have a clear explanation here giving context to the optimisations.

batlin
Автор

This dude is a wonderful presenter. The first time I watched this video a few months ago, I didn't really get it because I was just starting out, but this really is a great session to watch all the way through. Thanks!

sethcenterbar
Автор

Best talk on power of insert mode
1. Ctrl x + f #filename complete
] #tag complete
l #line complete
o #language complete
p #word complete
n # word complete
2. Ctrl + r + a # a register
Register " & 0 is current resister are woderful



Amazing talk. Thanks a lot
GitHub repo : georgebrock/talks

bharatggaikwad
Автор

Didn't know about the <C-x><C-L> at end of line trick. This is awesome!

gregoireparis
Автор

Guys, if you're trying to stay a bit more in insert mode, there's a way to manually create and undo point (while still in insert mode): C-g u.

LeonidBraynerMyshkin
Автор

Super video! When I first started watching I almost stopped, because it seemed kindof silly and I'm not a big fan of CTRL key combinations, but as the video went along and more examples were shown, it became more and more useful and interesting. Well well worth the time to watch. Thanks!!

ruhnet
Автор

This is a cool video with lots of great tips. Slightly confused that the guy used CTRL-] to jump to definitions, but wasn't aware of CTRL-T to go back. Great talk :)

martincox
Автор

Promoting open source software on close source OS that's something, good job men

liridonsejdiu
Автор

Some new VIM hacks added to my list. There is lot to learn in vim for easy coding.. thanks a lot.

This tutorial is presented more than an year before, can we get some more hacks here Mr. George Brock. +1

rakesha
Автор

Great talk - thank you for sharing. I *am* twitching though. All these comments and nobody mentions what the fox did? If the fox 'jumped' rather than 'jumps', you have no letter 's'. The sentence is intended to exercise every alpha key on a typewriter. I'm curious. Has anyone mentioned this in live talks?

MikeCarden
Автор

Brilliant. Can't believe I didn't know the line competion

frzen
Автор

Side note to all, to turn off spell check: :set spell!
Not intuitive and is not in the ":help spell" vim documentation.

josephknightcom
Автор

Balding? Check.
Glasses (with thick rimmed frames)? Check.
Beard? Check.
T-shirt? Check.

folksurvival
Автор

11:23, how can he show the next key options following c-x?

oh, i see

set showcmd

mingwen
Автор

TabNine takes completion to an entirely new level

ahallock