Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@xia0u I recommend this talk -> https://robots.thoughtbot.com/maste...
(The things is -> you dont have to memorize key-bind shortcut.
Its have its own language. stop treat every chunk of command like a whole different command will make you learn vim faster. for example (dw, di$, dG) is not a whole different command, it just an instruction of what you want to do.
"d" is operation of delete,
"w, $, G" is a context of what you want the operation to do.
by combine operation and context -> you tell vim exactly what you want to do (its like talking to editor)
so let combine those.
"d" (delete), "w" (word) -> dw = delete word.
d$ -> delete til the end of line.
dG -> delete til the last line.
same with other command, ex
"c" (change and goto insert mode) -> "word" -> cw -> chage word and goto insert mode.
(See! its a language, I don't have to memorize every combination of its. just memorize the operation and context and you can make those expression to vim.
Related Rants
Best Linux text-editor?
=> gedit
😆
undefined
just kidding