this post was submitted on 17 Jul 2024
83 points (97.7% liked)

Ask Experienced Devs

1064 readers
1 users here now

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 1 year ago
MODERATORS
 

I'd like actual examples instead of "I work faster", something like "I can move straight to the middle of the file with 7mv" or "I can keep 4 different text snippets in memory and paste each with a number+pt, like 2pt", things that you actually use somewhat frequently instead of what you can do, but probably only did once.

(page 2) 23 comments
sorted by: hot top controversial new old
[–] beeng@discuss.tchncs.de 2 points 2 months ago

I've been loving vi mode more on the command line to navigate there and delete words or jump to start etc than in the editor itself. Handy to know.

[–] mryessir@lemmy.sdf.org 1 points 2 months ago

It is just from the ground up build to be an extension of your thoughts. One speaks to vim fluently. My advice would be: Ask yourself how some tedious thing could be done quicker, then search the help pages immediately. If not found, expand your search. Learn the default tool. By this you even learn the help. Don't install plugins for no reason, configure the defaults to your likings instead.

I may not use 100% of vim but I guess you would have a hard time finding something I do not use regularly. My vimrc is <200 lines, <4 plugins. Tabs. I don't use tabs anymore.

And yes, I even issue vi("*y by hand.

[–] bananapinball@sh.itjust.works 0 points 2 months ago

:%s =nano=vim=g

:123

d5d

y5y

Also, nano is not always present.

[–] Mio@feddit.nu -2 points 2 months ago

Page down and page up works in VIM.

load more comments
view more: ‹ prev next ›