Created
June 28, 2023 16:04
-
-
Save SevanBadal/5aa8f535723e38e666a72fdfec502c43 to your computer and use it in GitHub Desktop.
My default .vimrc file
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
" Enable syntax highlighting | |
syntax on | |
" Enable line numbers | |
set number | |
" Show matching brackets | |
set showmatch | |
" Indenting Configs | |
set autoindent | |
set smartindent | |
set tabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
" Enable line wrapping | |
set wrap | |
" Enable mouse usage | |
set mouse=a | |
" Set UTF-8 as default encoding | |
set encoding=utf8 | |
" Enable incremental search | |
set incsearch | |
" Enable case-insensitive search | |
set ignorecase | |
set smartcase | |
" Always display status line | |
set laststatus=2 | |
" Enable clipboard usage | |
set clipboard=unnamedplus | |
" Display incomplete commands | |
set showcmd | |
" Preserve undo history when files are closed and reopened | |
set undofile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment