I can’t sleep, so I’m learning vim
My mentor always said that if you understand something, you can easily explain it.
That is why I will always try to make a presentation when I learn something.
ideas VIM
- Change the name for blog to “Fullstack Lacking” or “Code Conf Essions”. What you think about that?
- Try learning vim number #1_500_100_987
learnings VIM
-
You can use vim motion in vscode, external https://marketplace.visualstudio.com/items?itemName=vscodevim.vim
- 4 vim modes:
-
normal
escfor normal mode
- insert
ifor insert before cursorafor insert after cursorIfor insert at beginning of lineAfor insert at end of lineofor insert new line belowOfor insert new line above
- visual
vfor visual modeVfor visual line mode
- command
:for command modeqfor quitwfor writewqfor write and quitq!for quit without saving
-
- move
hjklto moving aroundbto beginning of wordeto end of wordwto next word0to beginning of line$to end of lineggto beginning of fileGto end of file- number lines relative:
12jfor moving 12 lines down,12kfor moving 12 lines up
- edit
xfor delete characterufor undoyyfor copy lineyfor yank, copypfor paste
- delete
dawwordddline, after that you can paste it withpd$to end of lined0to beginning of line
- To copy text from vim to an external program. Type
"*ythe selected text is copied to the system clipboard
challanges VIM
- fck VIM
- fight with jekyll for blogging, I installed it on my local machine, still not sure what was the problem to not generate the new post, probably flag for future post need to be set to true in config.yml
finds VIM
- settings my vscode from https://www.youtube.com/watch?v=GST8we5uABo&ab_channel=Melkey, link to repo https://github.com/Melkeydev/vscode_bindings/tree/main
I encourage you to learn VIM, it’s a great tool for developers.
And start cry with me on keyboard.
-
100x faster than mouse coding.
-
10x for looking cool on presentation / live coding.
-
10 typos in each PR.
Thanks VIM for ❤️
Love,
KK