-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc
More file actions
26 lines (22 loc) · 1.04 KB
/
vimrc
File metadata and controls
26 lines (22 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
" --- General Settings ---
set number " Show line numbers
set relativenumber " Show relative line numbers (great for jumping lines)
set mouse=a " Enable mouse support
set clipboard=unnamedplus " Use system clipboard
" set cursorline " Highlight the current line
set showmatch " Highlight matching brackets
" --- Search ---
set hlsearch " Highlight search results
set incsearch " Search as you type
set ignorecase " Ignore case when searching
set smartcase " Override 'ignorecase' if search contains capitals
" --- Indentation ---
set expandtab " Convert tabs to spaces
set shiftwidth=4 " 1 tab = 4 spaces
set tabstop=4 " Show existing tabs as 4 spaces
set smartindent " Insert indents automatically
" --- UI & Performance ---
syntax on " Enable syntax highlighting
" set termguicolors " Enable 24-bit RGB colors
set noswapfile " Disable swap files
" set undofile " Save undo history to a file