" Basic Vim Configuration

" Enable syntax highlighting
syntax on

" Show line numbers
set number

" Enable mouse support
set mouse=a

" Set tab width
set tabstop=4
set shiftwidth=4
set expandtab

" Enable auto-indentation
set autoindent
set smartindent

" Show matching brackets
set showmatch

" Enable incremental search
set incsearch
set hlsearch

" Case insensitive search
set ignorecase
set smartcase

" Show command in status line
set showcmd

" Enable file type detection
filetype on
filetype plugin on
filetype indent on

" Set encoding
set encoding=utf-8

" Better backspace behavior
set backspace=indent,eol,start

" Enable line wrapping
set wrap
set linebreak

" Show ruler
set ruler

" Status line
set laststatus=2
set statusline=%F%m%r%h%w\ [%{&ff}]\ [%Y]\ [POS=%l,%v][%p%%]\ [LEN=%L]