Simple Vim configuration script to get started right the way!
The configurations include:
- Support relative numbering
- Ignore non editable files
- Set tabs as 4 space characters
- Ignore case during searches
- Highlight searched words
- New colorschemes
- New keymaps
This solution is targeted for beginners in both Vim and Linux that want to have a basic starting point without going deep into configurations. Jump into action!
I believe in free and open source software! Help the OSS community by donating below:
Visual Interface Improved (Vim) editor is usually available by default in most Unix systems. In case Vim is not installed by default, use the following command:
- Debian-based (Debian, Ubuntu, Linux Mint, Pop OS)
sudo apt install vim- Arch-based (Arch, Manjaro, EndeavourOS, Garuda Linux)
sudo pacman -S vim- Fedora-based (Fedora, Nobara, Ultramarine)
sudo dnf install vimWith Vim already installed, just run the following script (while in the repository's root folder):
./setup.shNow Vim should now be configured and ready! Note that if a previous configuration was already available on the system the script might not execute properly.
There are 3 colorschemes added to this repository:
- Onedark
- Onedark Custom
- Monokai
By default, Onedark Custom is set. One may change it by uncommenting the desired scheme in .vimrc. Here are some samples of the colorschemes with C language, in the order above:
There are only 3 keymaps set:
- Ctrl + C -> Esc in insert mode
- Ctrl + / -> Comment line
- Ctrl + Shift + / -> Uncomment line
- Windows is not supported!
- Tested on Manjaro and Ubuntu (24.04)
- Shoutout to:



