-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_vimrc
More file actions
19 lines (15 loc) · 743 Bytes
/
dot_vimrc
File metadata and controls
19 lines (15 loc) · 743 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
" Disable Vi compatibility mode. This is crucial for modern Vim behavior.
" It tells Vim not to try and emulate the very old 'vi' editor,
" which is key for backspace to work as expected.
set nocompatible
" Set the backspace key behavior in insert mode:
" 'indent': allows backspacing over auto-indentation.
" 'eol': allows backspacing over end-of-line characters (joining lines).
" 'start': allows backspacing over text typed before the current insert mode session.
set backspace=indent,eol,start
" Show line numbers (optional, but very commonly desired).
set number
" Enable filetype detection (helps with basic file-specific settings).
" This is usually very lightweight and should generally work.
filetype indent on
filetype plugin on