Skip to content

CesarPiresSevero/vimconfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VimConfig

Introduction

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!

Donations

I believe in free and open source software! Help the OSS community by donating below:

Instructions

Installing Vim

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 vim

Configuring Vim

With Vim already installed, just run the following script (while in the repository's root folder):

./setup.sh

Now 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.

Features Overview

Colorschemes

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:

Onedark Onedark Custom Monokai

Keymaps

There are only 3 keymaps set:

  • Ctrl + C -> Esc in insert mode
  • Ctrl + / -> Comment line
  • Ctrl + Shift + / -> Uncomment line

Notes

About

Starting point for Vim beginners!

Resources

License

Stars

Watchers

Forks

Packages

No packages published