blog
blog copied to clipboard
Vim Basic
Vim Configuration
References:
- https://vimconfig.com/
- https://www.shortcutfoo.com/blog/top-50-vim-configuration-options/
- https://www.freecodecamp.org/news/vimrc-configuration-guide-customize-your-vim-editor/
My Vim configuration:
https://gist.github.com/Qingquan-Li/b4eae570d054fd48495d73efa04d6a86
Vim commands
References:
- https://yannesposito.com/Scratch/en/blog/Learn-Vim-Progressively/
- https://www.shortcutfoo.com/app/dojos/vim/cheatsheet
-
Copy all text to system clipboard:
Use : % y + command to copy
- % to refer the next command to work on all the lines
- y to yank those lines
- + to copy to the system clipboard
Another way is g g " + y G