Damian Conway, "More Instantly Better Vim" - OSCON 2013

  Рет қаралды 283,421

O'Reilly

O'Reilly

Күн бұрын

oreilly.com/go/...
Once again Damian Conway returns from the untamed wilderness of deepest Vim, bringing with him yet another collection of tips, tools, and tricks to make your text editing still more unspeakably powerful.
Don't miss an upload! Subscribe! goo.gl/szEauh
Stay Connected to O'Reilly Media by Email - goo.gl/YZSWbO
Follow O'Reilly Media:
plus.google.com...
/ oreilly
/ oreillymedia

Пікірлер: 177
@TwoMinutePapers
@TwoMinutePapers 11 жыл бұрын
I wonder why the audience was not sold for the humor in the talk. Love it! :)
@timweissenfels5353
@timweissenfels5353 4 жыл бұрын
Why are you here 😂😂😂
@insiderich7372
@insiderich7372 4 жыл бұрын
Surprisingly dumb audience who cannot recognize a genuine joke without fake laughter track in the background...
@jasafraga
@jasafraga 3 жыл бұрын
What’s up two minute! Yah!
@RuslanKovtun
@RuslanKovtun 3 жыл бұрын
They are just breathless.
@bumpwavy
@bumpwavy 2 жыл бұрын
ACTUALLY im pretty sure they where, its just that the microphone was set up weirdly!
@ArielVolovik
@ArielVolovik 4 жыл бұрын
This guy's a fucking madman. Great talk!
@myycomputer
@myycomputer 2 жыл бұрын
I am watching this ages late, yet it still as helpful as the date it came out.
@medkha8210
@medkha8210 2 ай бұрын
This is so damn good and with humor! bookmarked.
@alexlisowski849
@alexlisowski849 5 жыл бұрын
Awesome editor, perfect speaker. I'm impressed, thank you. And yea. Script the world!
@dasten123
@dasten123 10 жыл бұрын
The part starting at 35:00 was amazing! Dude I HAVE to learn how to use that damn program :D
@onetimepad7
@onetimepad7 8 жыл бұрын
guess I'm getting that tarball... only drawback is, when you get to a computer where it's not installed, and you already are used to it, you will feel unhappy. But the pro's are so intriguing... that "block move" is so cool!
@AlqGo
@AlqGo 8 жыл бұрын
Block move is so useful that it's strange it does not come out of the box with vim
@RompVT
@RompVT 4 жыл бұрын
am I the only one here who learned more vim from the comments than I did from this lovely entertaining video?
@regedit33
@regedit33 8 жыл бұрын
All that swapfiles craziness, I'm happy to not have to deal with that anymore after trying Spacemacs (maybe Emacs by default handles this well also)
@paulham2353
@paulham2353 10 жыл бұрын
Nothing seems really usefull to me except the last 2 minutes part. Wanna get hyped on vim? listen to Derek Wyatt. Also this guy should know about vim's --silent-remote option, why would you mess with swap files like that.
@marvin674
@marvin674 3 жыл бұрын
The link at 2:25 is not working. Can anyone reshare this?
@nathanfarrar
@nathanfarrar 9 жыл бұрын
Rad stuff.
@alexandre3989
@alexandre3989 11 жыл бұрын
How about "set noswap"?
@jackyalcine
@jackyalcine 10 жыл бұрын
Perfect VIm!
@JohnBastardSnow
@JohnBastardSnow 10 жыл бұрын
Even a better way for semicolons is to use Programmer's Dvorak, which solves inefficiencies like that. But there's even a more efficient way to code than with Programmer's Dvorak and that's using stenography and plover (which can give you speeds more than 280 wpm with 1/3 of keystrokes and less RSI).
@Samonitari
@Samonitari 6 жыл бұрын
Well, looked at stenography, but that's mainly for speech, ain't it? I do not think that the most limiting factor in coding is typing the variables, which, at times, not the best mappeble to english words, or quite often abbrevations which you cannot abbrevate further meaningfully. I should get a better brain to think better code in the first place...
@TheRealisticNihilist
@TheRealisticNihilist 3 жыл бұрын
Damn you for remapping semi colon.
@ShamelessHorse
@ShamelessHorse 10 жыл бұрын
Honestly, the last one was the only mildly impressive thing. Vim v Emacs trick off! I raise you Emacs Rocks! Live at WebRebels
@lemniscif
@lemniscif 11 жыл бұрын
You'd have to hear him in person; it's less grating than the tinny-audio and just comes across as exuberant. Also, this material is less potent than the first lecture I had with him, on closure engineering principles
@garciajero
@garciajero 4 жыл бұрын
Yea but how about exiting vim ?
@sfvermeulen
@sfvermeulen 11 жыл бұрын
I would disagree, semi-colon is incredibly useful
@markskilbeck
@markskilbeck 10 жыл бұрын
That emacs joke did NOT land. Viva la emacs.
@PacAnimal
@PacAnimal 3 жыл бұрын
This audience has no taste. This presenter does.
@ruthlessadmin
@ruthlessadmin 9 жыл бұрын
This video is just making me wonder how much time Vim users have wasted trying to make it do what they want, when in 2015 we should just admit that graphical editors are better.... I use Geany and I spend exactly ZERO% of my time fucking with the editor and exactly 100% of my time being a productive programmer. In Geany (and loads of other editors I've tried), I may take 5 minutes after the initial install, to brush over the options and set everything the way I like it, and then I'm done, off to writing code.
@peterkerj7357
@peterkerj7357 7 жыл бұрын
What do you get from Geany that you don't get from gVim? What do things like sorting a column even have to do with text vs graphical?
@mesarvagya777
@mesarvagya777 7 жыл бұрын
Try that in your server console and you will know
@Ivy_Inquisitor
@Ivy_Inquisitor 7 жыл бұрын
When your code base reside in a remote repo to which you will have to ssh to and the remote server admin decided that the only editor you will ever need is vim, then this video is a lifesaver!
@nescius2
@nescius2 6 жыл бұрын
you can connect to the remote repository via sftp (but perhaps you should be using git in the first place) - there is no good reason to use this coprolite so long after discovery of modern keyboard.
@drink__more__water
@drink__more__water 8 жыл бұрын
I wanna see this guys config files... Like all his commands are aliased to do something else xD I love it.
@fraproxy
@fraproxy 8 жыл бұрын
+Nick Chirico That's were the whole trick hides - go buy a book ;)
@vinref0
@vinref0 10 жыл бұрын
I now spend more time configuring my vimrc than actually using it for real work...
@sandikodev
@sandikodev 6 жыл бұрын
wtff lol :v
@dagadbm
@dagadbm 4 жыл бұрын
Me 2 xD
@Tux0xFF
@Tux0xFF 4 жыл бұрын
true story
@Tux0xFF
@Tux0xFF 4 жыл бұрын
seriously this also happened to me, i could have learned a new programming language already but configuring vimrc is a never ending task, i am always finding new stuff and new ways to improve it.
@vim1729
@vim1729 4 жыл бұрын
@@SimonWoodburyForget Emacs is a joke
@sdeleon28
@sdeleon28 7 жыл бұрын
Hello Vim newcomer. Be warned this presentation is just a major display of sheer procrastination. Before writing plugins like a maniac, learn the basics. Read Practical Vim and watch Vimcasts. Remapping semicolon is blasphemy. So is making comma your leader key.
@Tux0xFF
@Tux0xFF 4 жыл бұрын
i guilty of this
@chamalinni
@chamalinni 4 жыл бұрын
@@Tux0xFF Making comma your leader key is the absolutely sensible thing to do. Fight me!
@rianlindenberger623
@rianlindenberger623 4 жыл бұрын
why is making comma my leader key so bad? For me with a german keyboard, that's way more sensible than using +Key from the top row
@totheknee
@totheknee 4 жыл бұрын
What if the default leader key was comma and *\* was "next find?" Then would it be blasphemy to remap the leader key to *\* ?
@therealmicksa
@therealmicksa 9 жыл бұрын
Vim is without a doubt my favorite operating system.
@TimTeatro
@TimTeatro 9 жыл бұрын
+Michael Slade Yeah, and unlike Emacs OS, Vim OS has a great text editor built in!
@MrMangkokoo
@MrMangkokoo 5 жыл бұрын
@@TimTeatro have you guys checked spacemacs?
@maxfriis
@maxfriis 5 жыл бұрын
Wonder why they have all these videos on how to improve vim. Hmm - maybe it's not very good?
@ulissemini5492
@ulissemini5492 5 жыл бұрын
@@maxfriis By that reasoning notepad is the best text editor, nobody is customizing it.
@maxfriis
@maxfriis 5 жыл бұрын
@@ulissemini5492 Read again - that is not my reasoning. I was talking about _videos_ on improvement, and that logic makes perfect sense. True that notepad have no videos and that's because it does it's job just fine. That is not the job editing source code, but for many jobs notepad is ok.
@xavierartot
@xavierartot 10 жыл бұрын
I use a lot the semicolon, who's does ? I use f + t, and when I want find the another "t" I hit ";"
@bayantsinghkang67
@bayantsinghkang67 5 жыл бұрын
And we do g + ; to jump in the change list
@totheknee
@totheknee 4 жыл бұрын
For real, that seems like one of the most basic commands that is essential. Although I do use it much less often than running a command.
@NikolajLepka
@NikolajLepka 9 жыл бұрын
thanks for all the emacs plugin ideas
@rhoeat
@rhoeat 8 жыл бұрын
+Nikolaj Lepka did you make any pls share!
@NikolajLepka
@NikolajLepka 8 жыл бұрын
rho eat not yet
@rhoeat
@rhoeat 8 жыл бұрын
+Nikolaj Lepka which one are you thinking to make first?
@warefairsoda
@warefairsoda 5 жыл бұрын
I interpreted that as sarcasm.
@PabloAndresDealbera
@PabloAndresDealbera 5 жыл бұрын
@@warefairsoda Me as well. I don't the need to make a plugin when you can just import in into your .vimrc.
@fernandowitt4894
@fernandowitt4894 10 жыл бұрын
I do use ';' to go to the next occurrence of the char in the line!
@slinkeepy
@slinkeepy 7 жыл бұрын
I find it hard to take anyone seriously who uses the default HJKL single-char navigation keys... maybe they don't want to change the default keys for legacy reasons, but it should be discouraged as much as possible... im still a vim noob but im being very careful to choose logical keys for everything...
@Asrashas
@Asrashas 7 жыл бұрын
actually it's not "for legacy reasons" that they have been changed, but because they are in the home row. You don't need to move your fingers out of typing position to use them which makes it faster. If that potential speedup is worth it to you is another thing.
@slinkeepy
@slinkeepy 7 жыл бұрын
Yep sorry, I meant it's for legacy reasons they have not NOT been changed, but don't think I said it too clearly... are you for keeping hjkl as the directional keys for the right hand or for jkl; ?
@Asrashas
@Asrashas 7 жыл бұрын
I don't really care either way. Changing the keys is just editing 4 lines in .vimrc away. But i might change the scheme to jklö (different keyboard layout than you have) for all programs that uses vim-esque controls so it's inline with i3wm. But for now I'm quite fine with using hjkl on most programs. If they change the defaults at some point I'd get comfy with that too.
@michaelbruceallen3700
@michaelbruceallen3700 7 жыл бұрын
Yup. That along with with , to go back.
@DmitryKaminski
@DmitryKaminski 10 жыл бұрын
Semicolon repeats a search command ( f F t T ) so it's not completely useless to be remapped to colon..
@WillowEpp
@WillowEpp 9 жыл бұрын
Default colours? Looks to me like he needs to set bg=dark. There's some good stuff in here, though. Highlighting the 81st column with a BufWinEnter went into my vimrc before I even finished the video.
@AndersSildnes
@AndersSildnes 10 жыл бұрын
Just when you think you know something about vim, presentations like these come up. Great talk!
@skeliskull
@skeliskull 6 жыл бұрын
VIM is the perfect editor if you want to spend a shit ton of time configuring VIM rather than getting anything done
@asdfkjhlk34
@asdfkjhlk34 4 жыл бұрын
How tf u live without ;
@Zmej420BlazeIt
@Zmej420BlazeIt 10 жыл бұрын
it took me until 20:40 to realize he was saying tarball (not table) lol
@ralphmuellerde
@ralphmuellerde 9 жыл бұрын
haben't used vi in decades, he got me suckered into that again :-)
@SFDestiny
@SFDestiny 4 жыл бұрын
"GNU's copy-sinister agenda" The man speaks Latin!
@Quatsch83
@Quatsch83 3 жыл бұрын
Note to myself for the 2 things I might actually use: 3:50: matchadd for cursorline only where over limit 7:30: add trail:. to listchars
@NKernytskyy
@NKernytskyy 3 жыл бұрын
I used to be stumbled by what Vim can do, but this video obliterated everything I've seen about Vim before. Period. BRAVO!
@casperdewith
@casperdewith Жыл бұрын
9:45 Or you just map space to the colon key. Space is synonymous to the l key anyway. I like navigating between commas (arguments) using the colon and semicolon keys, so I wouldn’t want to hold Shift for only one of them.
@CaptainKraft
@CaptainKraft 10 жыл бұрын
I thought I was getting pretty good at Vim. Holy crap there is so much more to learn.
@BerendvanBerkum0
@BerendvanBerkum0 9 жыл бұрын
I'm making my next presentation in vimpoint. :) Perfect example on what to do with syntax highlighting and what not. That vimscript buffer is horrible. It's why I prefer a much toned-down colorscheme, such as desert. You need something balanced and stylized to get in so much visual metadata. Cant do that with pre-VGA era colors.
@roogoo8840
@roogoo8840 8 жыл бұрын
great talk, i think i'm a bit of a maniac like damian, need to automate all the crap i dislike (which probably takes more time)
@raf.nogueira
@raf.nogueira 6 жыл бұрын
Damm love this Emacs and VIM nerds specially when their have a good sense os humor .... Sadly where I live have no tech companies or people like this
@maybepumpkins
@maybepumpkins 9 жыл бұрын
How is he so quickly selecting those contiguous blocks in visual block mode? (Please don't answer gv)
@simonced
@simonced 9 жыл бұрын
maybe like f8j Which makes your selection jump right to the next Tab (I don't think he used tabs though, it's an example I give anyway) then 8 lines below. Of course, in case of characters only, / might help in that case maybe. It could also be a mapping for demo sake...
@JavierPortillo1
@JavierPortillo1 Ай бұрын
The files seem to no longer be available. Guess I'll try to recreate from the presentation.
@PabloAndresDealbera
@PabloAndresDealbera 5 жыл бұрын
26:10 This is the closest we've been to hack into the Matrix. haha
@gregdee9085
@gregdee9085 Жыл бұрын
Dude directly contradicts himself in the syntax highlighting rant.. Too funny.
@lorenzoiannuzzi3937
@lorenzoiannuzzi3937 7 жыл бұрын
what does he use for the presentation?
@justin883
@justin883 4 жыл бұрын
maybe github.com/trapd00r/vimpoint
@dereknugent5897
@dereknugent5897 9 жыл бұрын
Many thanks for this... I'm still struggling to get Emmet to work nevermind this Vim goodness! Again many many thanks Damian Conway and O'Reilly for putting this out there!
@grahamjoss4643
@grahamjoss4643 3 жыл бұрын
Can I still get the tar ball somewhere? The link at the beginning is broken
@DamionNabarrete
@DamionNabarrete 10 жыл бұрын
Holy shit #4 & last 5 min
@blenderpanzi
@blenderpanzi 10 жыл бұрын
Erm, to insert an acute one just has to type ´ and the letter, if you configure the keyboard correctly (it's per default like that in Linux (since >10 years?)). I didn't configure mine like that (option: no dead keys), because i don't need that but I use ` in shell scripts.
@964tractorboy
@964tractorboy 10 жыл бұрын
Inspires me to get into the guts of vi. A real eye-opener. Thanks Damian!
@AndyThomasStaff
@AndyThomasStaff 10 жыл бұрын
As an experienced vimmer, the only interesting / useful thing from this talk is github.com/gavinbeatty/dragvisuals.vim - and I haven't actually used it yet after having it installed for a month
@udirt
@udirt 2 жыл бұрын
Awesome - all the little UX fuckups you worked around are exactly why I always stuck with nvi: no distractions, no ambiguity, just editing. I wish the vim defaults were made with as much care as you put in.
@BeatSyncBytes
@BeatSyncBytes 7 жыл бұрын
His swap issue was quite funny 😂 he basically reinvented the whee
@wliaputs
@wliaputs 3 жыл бұрын
That’s why nowadays I try not to remap any key bindings, except for toggling extensions like NerdTree.
@calebdeming5515
@calebdeming5515 2 жыл бұрын
This guy talks like Steve Jobs.
@lorddorogoth
@lorddorogoth 3 жыл бұрын
Funny that someone at oscon would use a mac.
@asdqwe4427
@asdqwe4427 9 жыл бұрын
some very cool things that i probably will never use, because im lazy in a stupid way, not in a smart way :P
@zee63976
@zee63976 8 жыл бұрын
Great video I enjoyed these tricks very much! The drag plugin though, doesn't seem to work well if the block is selected using $ anchor. It wouldn't move right properly. Great stuff nonetheless!
@ex0stasis72
@ex0stasis72 5 жыл бұрын
That autoswap_mac plugin looks great. I wish I could find one for Linux on the gnome-terminal.
@magnoid
@magnoid 11 жыл бұрын
The colon/semi-colon swap seems like it would be useful and super easy to implement
@onetimepad7
@onetimepad7 8 жыл бұрын
already had to press the "like" button after the first 2 minutes! X-D LOL
@cvoges12
@cvoges12 4 жыл бұрын
9:30 r/nextFuckingLevel
@CanMetan
@CanMetan 9 жыл бұрын
Great speech. Gold mine right there.
@antonioi.barraza4861
@antonioi.barraza4861 2 жыл бұрын
Where's the tarball?!
@QuestorTheElf
@QuestorTheElf 10 жыл бұрын
Good for mac vim version... Some issues on linux! =|
@patrickprucha5522
@patrickprucha5522 10 ай бұрын
WOW!!!!!
@JanUC3mQtGq3NMcyMVdhm6md
@JanUC3mQtGq3NMcyMVdhm6md 11 жыл бұрын
I'll give it a try, tho after using Vim for so long, this will be the hardest keybinding swap for me so far.
@patrickprucha5522
@patrickprucha5522 10 ай бұрын
Excellent Conference. Thank you
@kamanashisroy
@kamanashisroy 5 жыл бұрын
I use Markdown for bullet list.
@lonewanderer1776
@lonewanderer1776 9 жыл бұрын
so today hhhhhhhhhu
@PIC18F
@PIC18F 6 жыл бұрын
I use 'j' to move down.
@ex0stasis72
@ex0stasis72 5 жыл бұрын
...which is the default.
@dariocruz7891
@dariocruz7891 8 жыл бұрын
This is insane!
@minsomai5235
@minsomai5235 4 жыл бұрын
that april fool Color Column got me.
@macarthy
@macarthy 11 жыл бұрын
Great content. I find the presentation a little shout-y though.
@steartfires3039
@steartfires3039 7 жыл бұрын
Clever dude, great presentation.
@macarthy
@macarthy 11 жыл бұрын
That could be it! . Anyway good content.
@parnmatt
@parnmatt 10 жыл бұрын
That last plugin …nice.
@Souls4Roca
@Souls4Roca 8 жыл бұрын
that last plugin..............
@DanielPianoful
@DanielPianoful 9 жыл бұрын
Great plugins, great presentation!
@dengan699
@dengan699 5 жыл бұрын
Wow
@AyushMandowara_xx7
@AyushMandowara_xx7 3 жыл бұрын
is there a gvim plugin for 15:23 ?
@AyushMandowara_xx7
@AyushMandowara_xx7 3 жыл бұрын
I use windows for my job so...
@VarunJalandery
@VarunJalandery 10 жыл бұрын
Vimaniac !!!!!!
@magniffsdigitaldevices2153
@magniffsdigitaldevices2153 8 жыл бұрын
nnoremap ; : is helpful really)
@sdeleon28
@sdeleon28 7 жыл бұрын
DON'T! The semicolon is a vital key. This guy is super trigger happy on the plugin writing and doesn't seem to be good at what comes out of the box with Vim.
@DaveJacoby
@DaveJacoby 11 жыл бұрын
Love this talk.
@confuseh
@confuseh 8 жыл бұрын
i dont know why im here, i watched the whole video and i don't use vim, i have too bad of a memory to remember things and so I use less efficient ways.
@jonathanstiansen8905
@jonathanstiansen8905 8 жыл бұрын
+Confuseh You remember words, you remember numbers, you remember lots of things that require memory. This is *no* different. It's about practice, you need to set a schedule of doing things a bit a day and it will stick. Period. If you can write words, and don't have any sort of major (MAJOR) cognitive impairment you're fine. If you're doing development you're definitely fine, don't use 'bad memory' as an excuse. Practice :D You can do it! Don't forget to take responsibility for your actions, you can do it if you actually want to.
@confuseh
@confuseh 8 жыл бұрын
Jonathan Stiansen dude i literally dont remember what I did two hours ago
@jonathanstiansen8905
@jonathanstiansen8905 8 жыл бұрын
Dude, and you didn't practice remembering it either. So moot point.
@doodoostickstain
@doodoostickstain 8 жыл бұрын
you don't understand. all he does is smoke weed.
@confuseh
@confuseh 8 жыл бұрын
i dont smoke weed
@1schwererziehbar1
@1schwererziehbar1 10 жыл бұрын
Good sermon, but I'm not converting.
@mukeshs2198
@mukeshs2198 8 жыл бұрын
What's this ibv at 15:29?
@CooperSloan
@CooperSloan 8 жыл бұрын
+Mukesh S instantly better vim
@dennisdashkevich
@dennisdashkevich 8 жыл бұрын
It's just an alias to `cd path` command.
@ruhnet
@ruhnet 6 жыл бұрын
Why do so many otherwise intelligent people insist on cursing? (Particularly during a public talk like this.) It never, ever adds anything productive. You'd think a logical person would have better control of their vocabulary. Good information in this video though.
@NickEnchev
@NickEnchev 9 жыл бұрын
or, you can use emacs+evil
@ex0stasis72
@ex0stasis72 5 жыл бұрын
I find it interesting that it's way more common for Vim users to be hostile at the idea of using Emacs, but Emacs users are more accepting of the idea that Emacs isn't for everyone, but they love it anyway.
@Budaeku
@Budaeku 4 жыл бұрын
@@ex0stasis72 I think Emacs is objectively more complex and configurable than Vim, so it makes sense.
@clearz3600
@clearz3600 10 жыл бұрын
1983 called ?
OSCON 2013: "Functional Thinking" - Neal Ford
40:37
O'Reilly
Рет қаралды 40 М.
Let Vim Do the Typing
32:07
thoughtbot
Рет қаралды 214 М.
Officer Rabbit is so bad. He made Luffy deaf. #funny #supersiblings #comedy
00:18
Funny superhero siblings
Рет қаралды 10 МЛН
Electric Flying Bird with Hanging Wire Automatic for Ceiling Parrot
00:15
规则,在门里生存,出来~死亡
00:33
落魄的王子
Рет қаралды 20 МЛН
Do you choose Inside Out 2 or The Amazing World of Gumball? 🤔
00:19
Advanced Vim Workflows
10:41
Semicolon & Sons
Рет қаралды 84 М.
A Vid in which Vim Saves Me Hours & Hundreds of Clicks
10:23
Luke Smith
Рет қаралды 275 М.
The Absolute Basics of Vim (It's Not THAT Hard!)
32:03
DistroTube
Рет қаралды 25 М.
My Favorite Vim Tricks
14:39
MAKC
Рет қаралды 182 М.
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 67 М.
Learning Vim in a Week
23:51
thoughtbot
Рет қаралды 464 М.
2016 - VIM as a Perl IDE‎ - Damian Conway
21:11
The Perl and Raku Conference - Las Vegas, NV 2024
Рет қаралды 11 М.
7 Habits For Effective Text Editing 2.0
1:20:30
GoogleTalksArchive
Рет қаралды 123 М.
50+  Vim Tips and Tricks from Beginner to Expert
42:37
The Linux Cast
Рет қаралды 63 М.
Officer Rabbit is so bad. He made Luffy deaf. #funny #supersiblings #comedy
00:18
Funny superhero siblings
Рет қаралды 10 МЛН