vim/options.vim
2025-10-01 02:41:46 -07:00

43 lines
650 B
VimL

filetype plugin indent on
set softtabstop=4
set smartindent
set showmatch
syntax on
" Line numbers
set number
set relativenumber
" Indentation and tabs
set tabstop=4
set shiftwidth=4
set autoindent
set expandtab
" Search
set ignorecase
set smartcase
set incsearch
" Appearance
set background=dark
set signcolumn=yes
set cursorline
set colorcolumn=80
" Backspace behavior
set backspace=indent,eol,start
" Split window behavior
set splitbelow
set splitright
" dw/diw/ciw treat dash-separated words as single word
set iskeyword+=-
" Keep cursor 8 lines from top/bottom
set scrolloff=8
" Cursor responsiveness
set updatetime=50
set laststatus=2