[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: 1750487166373646.png (161 KB, 950x672)
161 KB
161 KB PNG
How can I get good at Vim?
>>
>>106498490
:q!
sudo apt install emacs-lucid
>>
File: 1744382280011.jpg (3.15 MB, 3950x2750)
3.15 MB
3.15 MB JPG
perhaps your unreadable cheat sheet is the problem
>>
>>106498490
forget about that confusing picrel.

just use it a bunch.
learn how to do these and you cover 80% of what you do:
find and replace (substitute)
block insert
and all the other basic functionalities.
also, try vimdiff
>>
>>106498490
literally just use it
hjkl
yy to yank a line
p to paste the line below current line
P to paste the line above current line
o to start a new line below current line
O to start a new line above current line
shift+v to enable line-select mode
> and < to indent/unindent (use alone for current line, or combine with line-select mode to indent/deindent selected lines)
. to replay last action
ctrl+v to enter block-select mode. combine with x to delete a block-selection of characters
0 to go to beginning of line
$ to go to end of line
i to enter insert mode
a to enter insert mode after current character
dd to delete current line
u to undo
s to substitute
ctrrl+v with I to to mass insert (like multiple cursors kind of)
that's all off the top of my head. use basics. after comfortable with basics, consult your chart again and pick a few more actions to learn. rinse and repeat.
definitely learn the macro system and use . to repeat actions. these are very useful.
>>
>>106498511
fpbp
>>
>>106498490
just force yourself to use it for stuff and you'll learn, that's how I got good

there's literally a :help command (you can open in a new tab with :tab help) that will tell you what more or less any command or action does
>>
>>106498490
Run vimtutor to get the hang of the basics
Then just use it.
>>
Use IntelliJ instead.
>>
>>106498490
have you tried just using it
>>
It's a waste of time.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.