Tip for all of you: use autohotkey or something similar to map TAB+[hjkl] to your arrows. This way you can use hjkl everywhere. Also map tab+X to delete ( vim like ) and what I did is tab+n to backspace. The long-reaching pinky movement is deadly to your fingers.
@user-je8he7ox6p
Жыл бұрын
In a non-Vim environment, I am forced to use the arrow keys. Your advice helped me solve this problem. Thanks a lot!
@ppg5
9 жыл бұрын
Why didn't you record the screen so we can follow along?
@pablopunk
7 жыл бұрын
Because he is lazy, didn't you hear that?
@qiuxiaomu6746
8 жыл бұрын
This is really expert level... like not just vim, expert level eyesight and all other stuff...
@hulavux8145
3 жыл бұрын
Ikr
@WayneWerner
9 жыл бұрын
There's a guy who asks a question about running tests async in Vim. If you have Tmux available you can use tmux send-keys to send the run commands to a tmux pane which *does* run it async. It's pretty fantastic.
@MistaSmith
10 жыл бұрын
The thing about hjkl is that you often don't use them anymore once you get intermediate. But I don't think you can get there if you never started using hjkl at first.
@qiuxiaomu6746
3 жыл бұрын
you still do to some extent, when you go 100h where it’s actually 101h you got to make that micro h move; even if you jump straight to your point in mind you might do some mini adjustment; hjkl is not basic that’s essential IMO.
@reformed_attempt_1
3 жыл бұрын
You can actually remap Caps Lock to run as Esc when pressed by itself and as Ctrl when pressed with another button. At least on Ubuntu it's easy
@MrRosamunda
5 жыл бұрын
there are some hidden gems in this talk
@Fachher
9 жыл бұрын
Worst camera guy I've every seen. Showing the guy not the screen.
@Yegorvs
6 жыл бұрын
Oh, man…I just got crazy because of it.
@peterfarr9591
5 жыл бұрын
Not camera man - definitely the director - but yes
@dejotable
7 жыл бұрын
quit watching after 10 min and not learning a single new thing. i already knew how to open help :-)
@michaelmitchell2991
10 жыл бұрын
jumped to the comments because I thought presentation (and camera work) overall sucked and other comments same
@aidanbrumsickle
11 жыл бұрын
I like to use Control-[ instead of the Escape key. It's less strain on my left pinky.
@pedalhardPDX
10 жыл бұрын
Ben is a good presenter. That said a video about commands should show the commands not the presenter -1 for the videographer. VIM is the best! ~mc
@midevil656
11 жыл бұрын
Love this. Had no idea what leaders were before this, and also got a few good plugins out of this too.
@MrPuppyDrool
11 жыл бұрын
Why aren't you focusing on the projection? :(
@patrickdoyle4581
6 жыл бұрын
So, expert-level vim means customizing your vimrc to reduce keystrokes? That's disappointing. I'd rather see a talk on how a vim expert can fly with vim out of the box. Like that tip on dumping a macro into a file and editing it -- more of that!
@hangugeohaksaeng
8 жыл бұрын
Vimrc to remote machine with high security: use xdotool (on linux) to "type" vimrc into ssh vim session. This is very quick and can be scripted and executed with a hotkey from you desktop environment/window manager.
@IgnacioChavez
10 жыл бұрын
whats up with the camera man, 19:00 I want to see the screen not the guy
@hydrox24
12 жыл бұрын
Excellent video, listened to the whole thing and there are some great tips in there.
@gargshishir3
9 жыл бұрын
guy asking question at 32:20 sounds like Stephen Hawking
@muffat19
6 жыл бұрын
what the fuckkk!!!
@Ateshtesh
6 жыл бұрын
hahahah its true! xDDD
@wojtasskorcz
11 жыл бұрын
As long as they're right-handed, I think most people operate the mouse with their right hand and the WASD (or HJKL as you suggest) keys with their left hand. But if you're left handed, it may work (with the mouse on the left side of your keyboard).
@holalluis
11 жыл бұрын
I think that the best way to navigate through files is the command :e. That opens the current folder and lets you navigate files without needing plugins
@lostingamma
11 жыл бұрын
I can't see the screen!
@AndyThomasStaff
10 жыл бұрын
Mappings in your vimrc? Change inside word? Macros? This is a beginner level vim talk. It's also bad practice in vim not to use relativenumber
@humanfactorsio
6 жыл бұрын
Welcome to emacs
@SamuelGoodwin
11 жыл бұрын
For the record, you can rebind all of Terminal's keyboard shortcuts. You can do this to any app.
@gjermundification
7 жыл бұрын
12:05 this is the difference between using vim as a text editor, I have repeated this a gazillion times before, vim is a text synthesizer and the arrow keys only work in insert mode. The insert mode is when vim behaves like a text editor, text editors are highly inefficient when it comes to producing text, text editors are the brute force of text production. Normal mode in vim is where you synthesize text; that's where you have the potential of being efficient. If you are to use HJKL play tetris using these keys. Then again there are better ways to navigate text /, *, %, and so on.
@ianpan0102
6 жыл бұрын
When he did holding J and holding K how is it so smooth?
@wojtasskorcz
11 жыл бұрын
No use, because in FPS you press the keys with your left hand, and in vim you use those keys with your right hand.
@421sap
7 ай бұрын
God bless you, Ben Orenstein in Jesus' Name Amen ✝️
@branquitodemunze
8 жыл бұрын
Expert level? Come on dude, those are basics..
@MattSeymour
12 жыл бұрын
The discount code is RailsberryVIM2012 but shhh don't share it with everyone
@metal571
11 жыл бұрын
pretty great stuff
@mgrycz
11 жыл бұрын
Great stuff.
@monugupta32
8 жыл бұрын
Looks like we have a russian army of vim here.. hehe
@nXqd
11 жыл бұрын
hmm, is that a go pro camera on the table ?
@wojtasskorcz
11 жыл бұрын
Perhaps, but there's a problem if you ssh to many different terminals, because you'd have to map your own key settings in each of them. But you're right, jkl; seems more sane to me, too.
@zzasdfwas
11 жыл бұрын
running vim over a slow terminal taught me not to hold down directions
@zeuseditor
11 жыл бұрын
Brief save file has always been Alt+W so I guess by using the correct editor from the start I've save several million keystrokes onver the years.
@FelipeMendez
11 жыл бұрын
e tells the commands but i cant see what they do whay isnt recorded the screen?
@just_nicolas_13
3 жыл бұрын
Do we all agree that this isn't expert-level at all ?
@humanfactorsio
6 жыл бұрын
Health argument seems pretty unsubstantiated - all he's arguing for is CUA in emacs - default install since GnuEmacs versions 22.1.1.
@BonBonShrimp
3 жыл бұрын
Not disclosing vimrc? Lol
@boliussa
11 жыл бұрын
amazing talk.. filming needs to be improved. the guy with the camera needs to be nearer the screen so he can zoom in.
@nixthenamed
11 жыл бұрын
Command T is faster, because vimscript is slow.
@marekstepanek3224
5 жыл бұрын
unfortunately impossible to follow. Screen out of focus.
@danielnowak1658
6 жыл бұрын
you have to put speed on 75% then the guy talks normal
@fernando73820208
7 жыл бұрын
hey hi, I'm new to vim, and I try to copy html code into a file using vim. when i do this the tag align in more far out, the first and second row start in the first column the 3rd jumps to column 9, the 4th row starts at column 19 and so on. how can I align all the columns to start at columns 1 without doing it one by one. I only know how to do it one by one, but I waste a lot of time doing this.
@nicolafontana7765
6 жыл бұрын
`:set paste` before pasting.
@NostraDavid2
2 жыл бұрын
Other than ":set paste", there's some weird shit with older versions of Windows' conhost.exe (basically anything older than Windows 11). You can replace it with an OpenConsole.exe for Terminal, as that is just a newer version of conhost, to get it improved.
@moofymoo
10 жыл бұрын
"I'm expert, i'm saving with ctrl+s.." like the rest of the world, lol. I love viming around, but this expert guy has tooo BIG ego.
@ExD3aD
7 жыл бұрын
whats wrong with ctrl+s ? show me a better shortcut to save files...
@dreftymac9916
7 жыл бұрын
Nothing wrong with ctrl+s ... but the point is this does little to distinguish vim as a powerful editor versus, say "notepad.exe"
@pspicer777
5 жыл бұрын
ExD3aD Nothing really wrong, but I prefer to have two key commands be executed on different hands, one key per hand in regular typing position. So map ”,” as in .vimrc, then use w for fast writes (save). Use nnoremap and inoremap with i for normal and insert modes. Very fast ....
@reformed_attempt_1
3 жыл бұрын
what are you talking about. Most vim users I know use :w to save, not ctrl+s actually, it's the first time I hear someone mentioned ctrl+s
@ttssbb99
12 жыл бұрын
ctrlp.vim is like command t but way better. Written in pure vimscript so it actually works.
@OmriHarShemesh
11 жыл бұрын
One of the most useful vim mappings I like to use is to map semi-colon to colon. Saves millions of shift presses :-) code: nnoremap ; :
@ChrisCox-wv7oo
Жыл бұрын
This overwrites the default "Repeat last f, F, t, T" behavior of the semicolon. Just fyi to anyone following this.
@JackVo
11 жыл бұрын
I am a master of vim.
@SamuelBarney
6 жыл бұрын
The Work > Tools(vim) ...minimalist ftw
@Kirtaainen
11 жыл бұрын
tut starts at 6:20
@nXqd
11 жыл бұрын
28:20 if you are looking for a script to run the test async, check the plugin Dispatch from Timpope github.com/tpope/vim-dispatch
@CgruppoGau
7 жыл бұрын
Funny how people can do that?
@Thanaz483
11 жыл бұрын
We can now run tests asynchronously too! Check out github.com/tpope/vim-dispatch.
@Duffman0
11 жыл бұрын
How the hell do you aim?
@AleksyGrabovski
7 жыл бұрын
this guy is taking editing speed too far I think
@sativaindica4841
11 жыл бұрын
na i map ,, to save and jj to mimic the esc key
@christofferklang
12 жыл бұрын
I promise not to share the coupon code ;)
@onetwothree123-
3 жыл бұрын
Nice joke camera guy
@DarrylHebbes
6 жыл бұрын
Let's see what is being typed on screen by watching a guy in a shirt....
@mradnanchowdhury
11 жыл бұрын
vim-4-life down with emacs
@darthvalar4377
5 жыл бұрын
Yeah ... this time I was sorry I am not allowed to give like 1000 dislikes ... the camera work ruined it all
@krishnaagarwal6339
5 жыл бұрын
The video is good but the video maker have no sense of making videos.
@shawn576
10 жыл бұрын
This guy should buy a computer made in the last 20 years. He'll be amazed how much easier computing is when you have a mouse.
@user-km7yr8wl6q
9 жыл бұрын
Actually, I used to use a mouse. So very inefficient. Ever since I switched to Vim a few days ago, I almost doubled my productivity.
@MeditationProfondeS
11 жыл бұрын
Vim is awesome, ruby is bad. Ruby is emacs and python is vim.
@juniorbrito7495
10 жыл бұрын
so ruby is good with emacs?
@kiva8986
6 жыл бұрын
>ruby is better than python
@MitchelHumpherys
11 жыл бұрын
Emacs
@hobolooter
10 жыл бұрын
I'm sorry, but this talk just wasn't all that good. Neither the content or the presentation style fit what I would have expected from an expert level VIM talk.
@neuemage
11 жыл бұрын
SUPER UBER MEGA LAME start
@picklerick3136
4 жыл бұрын
cannt see a shit
@SatansSpatula
12 жыл бұрын
Stop abusing "anti-pattern". Also, lose the sippy cup. It's distracting as hell hearing you slurping and smacking on that thing.
@RyeinGoddard
11 жыл бұрын
This is one gay looking conference.
@MrDsmover
11 жыл бұрын
not useful! I've been using this great editor only for a month. But I already can say that I'm aware of all these points said by him. So it's water shit.
@MuffinMan0521
2 жыл бұрын
It's weird to me why anyone would go down the rabbit hole of learning Ruby or Python. .NET for instance has a much larger ecosystem that makes it much more natural to pivot from web to desktop or to service API's. Visual studio or VSCode is far superior to any of the l337 hax0r glorified notepad "IDE's" you guys use.
@NostraDavid2
2 жыл бұрын
Python is king in data science. Why? The Pandas lib. Data scientists and analysts are no full software engineers. They just want to use an easy-to-use language, which Python perfectly fits. I use it professionally, and the language and it's libraries are pretty great, but good god is it slooooow. Also, vscode is also a glorified text editor, so not sure why you're using it as a supposedly superior IDE when it's not. Don't get me wrong, I love me some vscode, but there's nothing integrated about it. Also, it's slow as dogshit on my work laptop, which is why I'm switching to Neovim. It should not take 150ms to take a single debug step. That's just too much. Anyway, nothing wrong with using C# and/or vscode, as long as it fits your use case :)
Пікірлер: 107