Vim Practical Reference
Vim Practical Reference
Customization and Settings
Customizing Vim not only enhances your productivity but also makes editing a more pleasant experience.
You can customize Vim through the .vimrc
file which is located on $HOME\_vimrc
for Windows users and $HOME/.vimrc
for Linux or Mac users.
Here is a list of useful settings you can set in the .vimrc
file:
Set Line Numbers:
set number
Syntax Highlighting:
syntax on
Set Tab Width:
set tabstop=4
Auto Indentation:
set autoindent
Show Matching Brackets:
set showmatch
Enable Mouse Support:
set mouse=a