Created
September 15, 2023 05:53
-
-
Save JeanCarlosChavarriaHughes/43cf970c3ea1116c0473141bfd2890bd to your computer and use it in GitHub Desktop.
.vimrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Disable compatibility with vi which can cause unexpected issues. | |
set nocompatible | |
" Enable type file detection. Vim will be able to try to detect the type of file in use. | |
filetype on | |
" Enable plugins and load plugin for the detected file type. | |
filetype plugin on | |
" Load an indent file for the detected file type. | |
filetype indent on | |
" Turn syntax highlighting on. | |
syntax on | |
" Highlight cursor line underneath the cursor horizontally. | |
set cursorline | |
" Highlight cursor line underneath the cursor vertically. | |
set cursorcolumn | |
" Set shift width to 4 spaces. | |
set shiftwidth=4 | |
" Set tab width to 4 columns. | |
set tabstop=4 | |
" Use space characters instead of tabs. | |
set expandtab | |
" Do not save backup files. | |
set nobackup | |
" Ignore capital letters during search. | |
set ignorecase | |
" Override the ignorecase option if searching for capital letters. | |
" This will allow you to search specifically for capital letters. | |
set smartcase |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment