VIM - vanhoan310/tips GitHub Wiki
-
How to use same setting as in server: copy ~/.vimrc to your current ~/.vimrc
-
Code example with VIM: https://www.youtube.com/watch?v=F6-phM56H-Q
-
Useful tutorials: https://medium.freecodecamp.org/learn-linux-vim-basic-features-19134461ab85 https://www.youtube.com/watch?v=E-ZbrtoSuzw https://www.youtube.com/watch?v=5r6yzFEXajQ
-
Comments: https://github.com/tomtom/tcomment_vim https://www.vim.org/scripts/download_script.php?src_id=23636 Install from .vba file
-
Buffer to tab https://vi.stackexchange.com/questions/4091/how-to-bind-a-set-of-buffers-to-a-tab
-
Yank relative lines https://stackoverflow.com/questions/40653591/how-to-yank-relative-line https://stackoverflow.com/questions/6954755/delete-n-lines-in-the-up-direction-in-vim
-
Vim conf for python: https://github.com/fisadev/fisa-vim-config http://fisadev.github.io/fisa-vim-config/
-
zE: delete all folds
set relativenumber " Show relative line numbers set number " Show current line number