diff --git a/vim/.vimrc b/vim/.vimrc new file mode 100644 index 0000000..8251cf0 --- /dev/null +++ b/vim/.vimrc @@ -0,0 +1,55 @@ +" 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] \ No newline at end of file