feat: add vim configuration
- Add .vimrc with custom vim settings and plugins 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
55
vim/.vimrc
Normal file
55
vim/.vimrc
Normal file
@@ -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]
|
||||||
Reference in New Issue
Block a user